Tokopedia Scraper - Products, Prices, Shops, Reviews
Pricing
from $0.02 / 1,000 product scrapeds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
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
| Field | Description |
|---|---|
resultId | Stable id built from the mode and the product, review or message id |
kind | Which row type this is: product, product_detail, review or message |
productId | Numeric Tokopedia product id |
name | Product name as listed |
url | Canonical product URL |
alias | URL slug of the product |
price | Price text exactly as the source renders it, in rupiah |
priceValue | Price as an integer in rupiah, for arithmetic |
priceText | Price text shown on the listing card |
originalPrice | Pre-discount price text, null when there is no strike-through price |
discountPercentage | Discount percentage as the source reports it |
discountText | Discount string shown on the card |
campaignPercentage | Campaign discount from the product page, null on listing rows |
imageUrl | Main image URL |
imageUrlLarge | Large variant of the main image |
defaultImage | Default image from the product page |
images | Full media gallery from the product page |
condition | Product condition, such as new or used |
rating | Average rating, null when the product has no reviews |
countReview | Number of reviews the source reports |
countTalk | Number of discussions |
countView | View count from the product page |
countSold | Units sold from the product page |
wishlist | Whether the product is wishlisted |
categoryId | Category id the listing carried |
categoryName | Category name |
categoryBreadcrumb | Slash separated category path |
departmentId | Department number, not a category id |
departmentName | Department name |
gaKey | Analytics key the source attaches |
labels | Promotion and badge labels on the card |
shopId | Numeric shop id |
shopName | Shop display name |
shopUrl | Shop URL |
shopCity | Shop city |
shopLocation | Shop location text |
shopOfficial | Official store flag |
shopGoldMerchant | Power Merchant flag |
shopReputation | Reputation string from the source |
shopClover | Clover rating |
stock | Stock quantity from the product page |
stockTracked | Whether stock is tracked |
minOrder | Minimum order quantity |
maxOrder | Maximum order quantity |
weight | Shipping weight |
weightUnit | Unit of the shipping weight |
productStatus | Catalogue status from the product page |
createdAt | Listing creation time in ISO 8601 |
createdAtText | Listing creation time as the source renders it |
isVariant | Whether the row is a variant of a parent product |
parentId | Parent product id, null when the product stands alone |
description | Full product description text |
reviewId | Review id |
variantName | Variant the review was written for |
message | Review text |
isAnonymous | Whether the reviewer posted anonymously |
userID | Reviewer id |
userName | Reviewer display name |
userUrl | Reviewer profile URL |
sellerReply | Seller reply text, null when unanswered |
sellerReplyAt | Seller reply time in ISO 8601 |
totalLike | Likes the review collected |
source | Which mode produced the row: search, category, shop, product or all |
query | Keyword the row came from, null in the other modes |
categoryIdRequested | Category id you supplied, null in other modes |
shopIdRequested | Shop you supplied, null in other modes |
position | Position inside the listing for that target |
page | Listing page the row came from |
status | ok for a real row, or a diagnostic status when the target returned nothing |
reason | Explanation attached to a diagnostic row, null on a normal row |
scrapedAt | Time 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
- Pick
mode. Search needs keywords, category needs numeric category ids, shop needs shop domains, product needs product links. - Turn on
includeDetailsandincludeReviewswhen you need the product page payload or the reviews, because each one doubles or triples the request count. - Cap the run with
maxItemsandrunBudgetSecs. - 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}
| Input | Default | What it does |
|---|---|---|
mode | search | Which 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 |
maxItems | 100 | Hard cap on product rows for the whole run |
maxPages | 10 | Page cap per target |
rowsPerPage | 60 | Products requested per listing call, up to 200 |
sortBy | relevance | Listing order: relevance, price ascending, price descending or newest |
minPrice | empty | Lower price bound in rupiah, applied by Tokopedia |
maxPrice | empty | Upper price bound in rupiah |
officialOnly | false | Restrict the listing to official stores |
cod | false | Restrict the listing to products with cash on delivery |
includeDetails | false | Fetch each product page and emit a product_detail row |
includeReviews | false | Fetch reviews and emit one review row each |
reviewsPerProduct | 10 | Cap on review rows per product, split into pages of 50 |
requestDelayMs | 300 | Pause between listing pages in milliseconds |
requestTimeoutSecs | 30 | Timeout of one HTTP request in seconds |
runBudgetSecs | empty | Soft time budget for the whole run |
Ready-made tasks
| Task | Input | Question it answers |
|---|---|---|
| Tokopedia Keyword Search Scraper: Products by Query | mode: search, queries, maxItems: 100, sortBy: relevance | what a keyword listing contains, with rupiah price, discount, rating and the shop behind each row |
| Tokopedia Category Listing Scraper: Whole Catalogue | mode: category, categoryIds, maxItems: 100 | every product of one numeric leaf category id |
| Tokopedia Shop Catalogue Scraper: Every Product | mode: shop, shops, maxItems: 100 | the whole catalogue of one shop, with seller badges and city, for a competitor audit |
| Tokopedia Product Reviews Scraper: Text and Ratings | mode: product, productUrls, includeDetails: true, includeReviews: true, reviewsPerProduct: 50 | review 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
| Mode | What it requests | Rows it leaves |
|---|---|---|
search | Listing calls for every keyword, paged | One row per product with query, position and page |
category | Listing calls for every numeric category id | One row per product with categoryIdRequested |
shop | Shop page for the numeric id, then its listing | One row per product with shopIdRequested |
product | One product page per URL, plus search to rebuild the listing row | A product row, a product_detail row when details are on, and review rows |
all | Every group you filled in, in the order keywords, categories, shops, products | The union of the rows above |
Use cases
- Price monitoring - track rupiah prices and discounts for a keyword or a shop daily and store
priceValuefor 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 whenincludeDetailsis on.review-scraped- one review row, emitted only whenincludeReviewsis 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
priceandoriginalPrice. UsepriceValuefor arithmetic. ratingcomes 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
scrapedAtrecords when the row was taken. - Search rows carry the department number rather than the leaf category id, which is why
categoryIdRequestedexists: 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.
Related actors
- /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.