Tokopedia Scraper - Products, Prices, Shops, Reviews avatar

Tokopedia Scraper - Products, Prices, Shops, Reviews

Pricing

from $0.02 / 1,000 product scrapeds

Go to Apify Store
Tokopedia Scraper - Products, Prices, Shops, Reviews

Tokopedia Scraper - Products, Prices, Shops, Reviews

[💰$0.02/1K] Scrape Tokopedia search, category and shop listings, product pages and reviews. Every row keeps rupiah price, discount, rating, stock, sold count and shop badge with a stable resultId for dedupe. Public GraphQL gateway, no proxy, no cookies, no login.

Pricing

from $0.02 / 1,000 product scrapeds

Rating

0.0

(0)

Developer

Vladimir Che

Vladimir Che

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Scrape Tokopedia through the same GraphQL gateway the website itself uses, over plain HTTP with no proxy, no cookies and no API key. Five input modes cover keyword search, category listings, shop catalogues, single products and every group at once.

One listing request returns up to 200 products, each with price, original price, discount percentage, image links, condition, rating, review count, wishlist flag, category breadcrumb, department, promotion labels and the whole shop block: id, name, URL, city, location, official badge, Power Merchant badge, reputation and Clover rating. Pagination follows the gateway until the target's total is reached, the item cap is hit, or the run budget runs out.

Product pages add the full PDP payload: stock with its tracked flag, minimum and maximum order quantity, shipping weight, catalogue status, campaign discount, variant and parent ids, description text, default image plus the media gallery, view count, review count, talk count and units sold. Reviews come from Tokopedia's review API with rating, text, variant, attachments, likes, reviewer name and the seller reply with its timestamp.

CATEGORY MODE NEEDS A NUMERIC TOKOPEDIA CATEGORY ID. The site's category pages are not served to cookie-less clients, so an id cannot be discovered from a keyword. Supply the leaf category id yourself, such as 3231. A department number is a different thing and returns the whole catalogue instead of the category.

What you get

FieldDescription
resultIdStable id built from the mode and the product, review or message id
kindWhich row type this is: product, product_detail, review or message
productIdNumeric Tokopedia product id
nameProduct name as listed
urlCanonical product URL
aliasURL slug of the product
pricePrice text exactly as the source renders it, in rupiah
priceValuePrice as an integer in rupiah, for arithmetic
priceTextPrice text shown on the listing card
originalPricePre-discount price text, null when there is no strike-through price
discountPercentageDiscount percentage as the source reports it
discountTextDiscount string shown on the card
campaignPercentageCampaign discount from the product page, null on listing rows
imageUrlMain image URL
imageUrlLargeLarge variant of the main image
defaultImageDefault image from the product page
imagesFull media gallery from the product page
conditionProduct condition, such as new or used
ratingAverage rating, null when the product has no reviews
countReviewNumber of reviews the source reports
countTalkNumber of discussions
countViewView count from the product page
countSoldUnits sold from the product page
wishlistWhether the product is wishlisted
categoryIdCategory id the listing carried
categoryNameCategory name
categoryBreadcrumbSlash separated category path
departmentIdDepartment number, not a category id
departmentNameDepartment name
gaKeyAnalytics key the source attaches
labelsPromotion and badge labels on the card
shopIdNumeric shop id
shopNameShop display name
shopUrlShop URL
shopCityShop city
shopLocationShop location text
shopOfficialOfficial store flag
shopGoldMerchantPower Merchant flag
shopReputationReputation string from the source
shopCloverClover rating
stockStock quantity from the product page
stockTrackedWhether stock is tracked
minOrderMinimum order quantity
maxOrderMaximum order quantity
weightShipping weight
weightUnitUnit of the shipping weight
productStatusCatalogue status from the product page
createdAtListing creation time in ISO 8601
createdAtTextListing creation time as the source renders it
isVariantWhether the row is a variant of a parent product
parentIdParent product id, null when the product stands alone
descriptionFull product description text
reviewIdReview id
variantNameVariant the review was written for
messageReview text
isAnonymousWhether the reviewer posted anonymously
userIDReviewer id
userNameReviewer display name
userUrlReviewer profile URL
sellerReplySeller reply text, null when unanswered
sellerReplyAtSeller reply time in ISO 8601
totalLikeLikes the review collected
sourceWhich mode produced the row: search, category, shop, product or all
queryKeyword the row came from, null in the other modes
categoryIdRequestedCategory id you supplied, null in other modes
shopIdRequestedShop you supplied, null in other modes
positionPosition inside the listing for that target
pageListing page the row came from
statusok for a real row, or a diagnostic status when the target returned nothing
reasonExplanation attached to a diagnostic row, null on a normal row
scrapedAtTime the row was collected, in ISO 8601

Fields the current mode does not fill are null, never invented. Output is available as JSON, CSV or Excel.

{
"resultId": "tokopedia:product:100680777576",
"kind": "product",
"productId": 100680777576,
"name": "Kaos Baju Distro Murah Motif \"SNOPPY HAPPY DAY\"...",
"url": "https://www.tokopedia.com/cottonapparel/kaos-baju-distro-murah-motif-snoppy-happy-day-100680777576",
"price": "Rp59.700",
"priceValue": 59700,
"originalPrice": "Rp95.000",
"discountPercentage": 37,
"rating": 0,
"countReview": 0,
"categoryBreadcrumb": "fashion-wanita/atasan-wanita/kaos-wanita",
"departmentId": 1758,
"departmentName": "Fashion Wanita",
"shopId": "7496124141182028000",
"shopName": "Cotton Apparel By KL",
"shopCity": "Jakarta Barat",
"shopOfficial": true,
"source": "search",
"query": "kaos",
"position": 1,
"page": 1,
"status": "ok",
"scrapedAt": "2026-11-09T18:12:44.000Z"
}

How to use it

  1. Pick mode. Search needs keywords, category needs numeric category ids, shop needs shop domains, product needs product links.
  2. Turn on includeDetails and includeReviews when you need the product page payload or the reviews, because each one doubles or triples the request count.
  3. Cap the run with maxItems and runBudgetSecs.
  4. Start the run and download the dataset as JSON, CSV or Excel.
{
"mode": "all",
"queries": ["kaos polos", "lampu darurat"],
"shops": ["avvic"],
"productUrls": ["https://www.tokopedia.com/avvic/kaos-polos-pria-1749420110"],
"maxItems": 60,
"maxPages": 2,
"rowsPerPage": 60,
"sortBy": "relevance",
"officialOnly": false,
"cod": false,
"includeDetails": true,
"includeReviews": true,
"reviewsPerProduct": 10,
"requestDelayMs": 300,
"requestTimeoutSecs": 30,
"runBudgetSecs": 240
}
InputDefaultWhat it does
modesearchWhich of the five modes to run
queries[]Keywords, one target per keyword
categoryIds[]Numeric leaf category ids
shops[]Shop domains or full shop URLs
productUrls[]Full product links
maxItems100Hard cap on product rows for the whole run
maxPages10Page cap per target
rowsPerPage60Products requested per listing call, up to 200
sortByrelevanceListing order: relevance, price ascending, price descending or newest
minPriceemptyLower price bound in rupiah, applied by Tokopedia
maxPriceemptyUpper price bound in rupiah
officialOnlyfalseRestrict the listing to official stores
codfalseRestrict the listing to products with cash on delivery
includeDetailsfalseFetch each product page and emit a product_detail row
includeReviewsfalseFetch reviews and emit one review row each
reviewsPerProduct10Cap on review rows per product, split into pages of 50
requestDelayMs300Pause between listing pages in milliseconds
requestTimeoutSecs30Timeout of one HTTP request in seconds
runBudgetSecsemptySoft time budget for the whole run

Ready-made tasks

TaskInputQuestion it answers
Tokopedia Keyword Search Scraper: Products by Querymode: search, queries, maxItems: 100, sortBy: relevancewhat a keyword listing contains, with rupiah price, discount, rating and the shop behind each row
Tokopedia Category Listing Scraper: Whole Cataloguemode: category, categoryIds, maxItems: 100every product of one numeric leaf category id
Tokopedia Shop Catalogue Scraper: Every Productmode: shop, shops, maxItems: 100the whole catalogue of one shop, with seller badges and city, for a competitor audit
Tokopedia Product Reviews Scraper: Text and Ratingsmode: product, productUrls, includeDetails: true, includeReviews: true, reviewsPerProduct: 50review text, rating, variant, reviewer and seller reply for a product list

Two more inputs worth copying into a task of your own: price watch on one keyword ({"mode":"search","queries":["lampu darurat"],"sortBy":"priceAsc","maxItems":200} orders the whole listing by absolute price) and official stores only ({"mode":"search","queries":["kaos polos"],"officialOnly":true,"maxItems":100} shrinks a 13.8 million product keyword to the official catalogue).

Modes

ModeWhat it requestsRows it leaves
searchListing calls for every keyword, pagedOne row per product with query, position and page
categoryListing calls for every numeric category idOne row per product with categoryIdRequested
shopShop page for the numeric id, then its listingOne row per product with shopIdRequested
productOne product page per URL, plus search to rebuild the listing rowA product row, a product_detail row when details are on, and review rows
allEvery group you filled in, in the order keywords, categories, shops, productsThe union of the rows above

Use cases

  • Price monitoring - track rupiah prices and discounts for a keyword or a shop daily and store priceValue for arithmetic instead of parsing the price text.
  • Marketplace research - measure how many products a keyword really has, how many are official store listings and how deep the catalogue goes.
  • Seller and shop vetting - read each shop's official badge, Power Merchant badge, city, reputation and Clover rating before a purchase decision.
  • Review mining - pull review text, rating, variant and the seller reply for a product set and see how sellers answer complaints.

Cost

$0.02 per 1 000 rows. The Store adds a 20 % Apify margin on top of that price, and the buyer sees the margin in the invoice, not in this number.

You pay per row the actor actually pushed into the default dataset:

  • product-scraped - one product listing row.
  • product-detail - one product page row, emitted only when includeDetails is on.
  • review-scraped - one review row, emitted only when includeReviews is on.
  • apify-actor-start - charged once per run, the first five seconds of compute are not billed.

Nothing else is charged. A diagnostic row for a keyword, shop or category that returned nothing is priced at the same per row rate as a real row, so a wrong input cannot produce free traffic. Turning off includeDetails and includeReviews cuts both the row count and the request count.

Honest limits

  • Category mode requires a numeric leaf category id supplied by you. A department number returns the whole catalogue instead of the category, and the actor cannot guess the id from a keyword.
  • The gateway answers probabilistically. About two of five product page requests come back as a shell without the embedded payload, and the actor retries those up to six times before writing a diagnostic row.
  • Review requests are capped at 50 per call by the API, and the actor pages with the source flag, so a product with thousands of reviews needs a correspondingly large reviewsPerProduct.
  • Prices are strings in the source and Indonesian formatting is preserved in price and originalPrice. Use priceValue for arithmetic.
  • rating comes back as zero when a product has no reviews yet. Zero is the source value, not a failed read.
  • Product data is a snapshot. Stock, price and sold counts change, and scrapedAt records when the row was taken.
  • Search rows carry the department number rather than the leaf category id, which is why categoryIdRequested exists: it records exactly the id you supplied, not the one the row reports.

FAQ

Do I need cookies or a proxy? No. The gateway answers plain HTTP requests that carry the three headers the website itself sends, and the actor sets them for you.

Why do some product page requests come back empty? Because the gateway serves a shell page without the embedded payload part of the time. The actor retries those requests up to six times and writes a diagnostic row if all attempts fail.

Why is rating zero on a product with no reviews? That is the value the source returns. Check countReview to tell a genuine zero from an unreviewed product.

What is the difference between categoryId and departmentId? departmentId is the department number the listing carries, such as 1758 for women's fashion. categoryId is the leaf category. Only a leaf id works as input to category mode.

Can I scrape the whole Tokopedia catalogue of a keyword? Only up to maxItems and maxPages. A keyword can report millions of products, and officialOnly shrinks that number sharply, so set the caps with the real total in mind.

How do I get the product page payload? Set includeDetails to true. Each product then costs one extra page load and produces an additional product_detail row.

Are reviews paged automatically? Yes, with the source flag, in pages of at most 50 per call, up to reviewsPerProduct per product.

Does the actor deduplicate products across modes? Each row carries a stable resultId, so overlapping products across modes can be deduplicated by that field downstream. Within a single target the actor does not push the same product twice.

Can I filter by price before the results are returned? Yes, with minPrice and maxPrice. Both are applied by Tokopedia before ranking, so they change which products appear, not only which rows you keep.

  • /amazon-keywords - keyword and search-term research for Amazon instead of a marketplace listing.

Changelog

  • 2026-11-16: four tasks published, run once each from themselves and linked above.
  • 2026-11-14: card rewritten to the publishing standard, price set to $0.02 per 1 000 rows.
  • 2026-11-09: all five modes verified against the live gateway with zero failed requests.