Tokopedia Scraper
Pricing
from $5.00 / 1,000 product details
Tokopedia Scraper
Scrape Tokopedia product details, category listings and shop catalogs by URL: price, rating, reviews, stock, shop and image. No login needed.
Pricing
from $5.00 / 1,000 product details
Rating
0.0
(0)
Developer
Khadin Akbar
Maintained by CommunityActor stats
0
Bookmarked
9
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
What is Tokopedia Scraper?
Tokopedia Scraper turns a keyword, category, shop or product URL into a clean product dataset: name, price in rupiah, discount, rating, units sold, shop, city and image. Search by keyword like a shopper, filter by price and rating, or paste category, shop and product URLs. No login, no cookies. Built for Indonesian sellers, price-monitoring tools, brand teams and AI agents.
What's new (v0.2): keyword search with price and rating filters, a backup route that retries blocked pages, speed that scales with run size, honest run summaries, volume discounts and lower prices (listing $0.002, detail $0.004).
| You give | You get |
|---|---|
Keywords such as sepatu lari | Ranked search results with price, priceInt, discountPercent, rating, soldCount, shopName, shopLocation |
A category /p/... URL | Up to ~80 products per page, with stock, badges and breadcrumbs |
| A shop URL | The shop's full product catalog |
| A product URL | Full product record with price before discount, rating breakdown and description |
Why teams use it
- One URL field, three page types. Paste category (
/p/...), shop or product URLs; the Actor detects the page type for each one. - Numbers ready for analysis.
priceIntis a plain integer in rupiah next to the display stringprice. - Stock and trust signals.
stock,badges(for exampleMall) andisAdsit on every listing row. - Seller context.
shopNameandshopLocationshow who sells each product and from which city. - Paginated catalogs.
maxPagesPerListwalks deeper into a category or shop, and duplicate products across pages are merged.
Best fit for this Actor
- Designed for Tokopedia category browsing pages, public shop catalogs and individual product pages.
- Best fit for price and stock monitoring, category share-of-shelf research and competitor shop tracking in Indonesia.
- Keyword search (
searchQueries) returns about 25 products per page, up to 40 pages per keyword. - To compare the same category on another Southeast Asian marketplace, use Shopee Scraper alongside this Actor.
- When you also track Lazada sellers, continue with Lazada Scraper for that marketplace.
Example workflow: smartphone price tracking
A pricing analyst at a phone distributor starts with the Tokopedia smartphone category URL https://www.tokopedia.com/p/handphone-tablet/handphone and two competitor shop URLs. She sets maxPagesPerList to 5 and maxResults to 400. The dataset returns each listing's priceInt, stock, rating, reviewCount, badges and shopName. She compares competitor prices on the same models, flags listings with low stock, then schedules the run daily and exports the rows to a spreadsheet that charts price movement per model.
Input
{"searchQueries": ["sepatu lari"],"minPrice": 300000,"maxPrice": 600000,"minRating": 4,"maxPagesPerQuery": 2,"maxResults": 100}
| Field | Type | What it controls |
|---|---|---|
searchQueries | array of strings | Keywords to search, one per line. |
minPrice, maxPrice | integer | Search only: price range in rupiah. |
minRating | integer 1-5 | Search only: minimum star rating. |
maxPagesPerQuery | integer | Search pages per keyword (about 25 products each). Default 2. |
startUrls | array of strings | Optional. Tokopedia category (/p/...), shop or product-detail URLs. Give searchQueries, startUrls or both. |
useManagedFallback | boolean | Retry blocked pages once through a backup route. Default on. |
maxResults | integer | Products returned across everything. Default 100. Free plan: 50 per run. |
maxPagesPerList | integer | Pages followed per category or shop URL. Default 5. Product URLs are always one page. |
proxyConfiguration | object | Apify Proxy settings. Default Apify Proxy; residential Indonesia suits large or concurrent jobs. |
| URL you paste | What each row represents |
|---|---|
A keyword in searchQueries | One product from the search results |
https://www.tokopedia.com/p/handphone-tablet/handphone | One product card from the category listing |
https://www.tokopedia.com/{shop} or .../{shop}/product | One product from the shop catalog |
https://www.tokopedia.com/{shop}/{product-slug} | One product-detail record |
Output
One dataset row per product. The type field tells you which page type produced it.
| Field | What it contains |
|---|---|
type, productId | Row type (search, listing or detail) and Tokopedia product ID |
originalPriceInt, discountPercent | Price before discount and discount shown (search rows) |
soldCount, isOfficialStore, searchQuery | Units sold as a number, Official Store badge, the keyword used (search rows) |
name, url | Product title and product page URL |
price, priceInt | Display price string and integer price in rupiah |
rating, reviewCount | Rating and number of reviews |
stock | Units in stock as listed |
categoryBreadcrumbs | Category path such as Handphone & Tablet/Handphone/Android OS |
badges, isAd | Store badges such as Mall and the sponsored-listing flag |
imageUrl | Product image |
shopName, shopLocation | Seller name and city |
sourceUrl, scrapedAt | The URL you supplied and the collection time |
{"type": "listing","productId": "103313329805","name": "Motorola Moto G86 Power 5G 8GB 256GB - Dimensity7400 - 6720mAh - 6.67\" pOLED 1.5K 120Hz Garansi Resmi Indonesia","url": "https://www.tokopedia.com/agres-id-tangerang-selatan/motorola-moto-g86-power-5g-8gb-256gb-dimensity7400-6720mah-6-67-poled-1-5k-120hz-garansi-resmi-indonesia-produk-asli-1732578579216041285-1735327867464549701","price": "Rp4.759.000","priceInt": 4759000,"rating": 5,"reviewCount": 17,"stock": 11,"categoryBreadcrumbs": "Handphone & Tablet/Handphone/Android OS","badges": ["Mall"],"imageUrl": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/7b84cef85f4344a88e30e15512c1c835~tplv-aphluv4xwc-white-pad-v1:250:250.jpeg","isAd": false,"shopName": "Agres ID Tangerang Selatan","shopLocation": "Kota Tangerang Selatan","sourceUrl": "https://www.tokopedia.com/p/handphone-tablet/handphone","scrapedAt": "2026-10-01T01:43:57.790Z"}
Product-detail URLs return the same core fields with the deeper product-page data Tokopedia publishes, such as price before discount, discount, rating breakdown and description.
Pricing
Pay per event, platform usage included in the event price. Prices below are for the Free tier; Bronze, Silver and Gold plans get volume discounts of about 4%, 8% and 12%.
| Event | Charged for | Price |
|---|---|---|
| Actor start | Once per run | $0.00005 |
| Search product | Each product saved from a keyword search | $0.003 |
| Listing product | Each product saved from a category or shop URL | $0.002 |
| Product detail | Each product saved from a product URL | $0.004 |
Worked example: 2 keywords x 2 pages (about 100 products) cost about $0.30. A category URL with maxResults 100 costs about $0.20. Each product is charged once even if it appears on several pages. Failed or blocked pages are not charged. Free plan runs return up to 50 products. Set maxTotalChargeUsd on a run to cap spend.
Output files: every run writes OUTPUT and RUN_SUMMARY with the outcome (COMPLETE, PARTIAL, VALID_EMPTY or UPSTREAM_FAILED), rows by source and estimated cost. If every route is blocked, the run fails instead of reporting success.
API example
curl -X POST "https://api.apify.com/v2/acts/khadinakbar~tokopedia-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"searchQueries": ["sepatu lari"], "maxResults": 50, "maxPagesPerQuery": 2}'
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("khadinakbar/tokopedia-scraper").call(run_input={"searchQueries": ["sepatu lari"], "maxResults": 50})for product in client.dataset(run["defaultDatasetId"]).iterate_items():print(product["name"][:60], product["priceInt"], product.get("soldCount"), product["shopName"])
Use it with AI agents (MCP)
Connect the Actor to Claude, ChatGPT, Cursor or another MCP client through Apify MCP and ask:
Search Tokopedia for 'sepatu lari' priced 300,000-600,000 rupiah, take the first 50 products and tell me the median price, the share of Mall-badged listings and the five shops with the most products.
The agent reads product rows with get-dataset-items and can cite url and scrapedAt as provenance. maxResults caps both the dataset and the cost, which keeps exploratory agent runs inexpensive.
Best results
| Starting situation | Helpful action | Expected outcome |
|---|---|---|
| A product idea or brand | Put it in searchQueries with a price range | Ranked products like the Tokopedia search page |
| A competitor seller | Paste the shop URL or its /product page | That shop's catalog |
| A deeper category pull | Raise maxPagesPerList together with maxResults | More pages per category |
| Large or parallel jobs | Choose Apify residential proxy in Indonesia | Steadier throughput |
| Daily price tracking | Schedule the same URLs and compare priceInt by productId | A clean price history per product |
Builder's note
I built this around Tokopedia's own server-rendered category, shop and product pages, so each row reflects what a shopper sees without a browser session. I designed separate events for listing cards and product-detail pages because a detail page carries more data than a card. I found that analysts compare prices constantly, so every row includes the integer priceInt beside the formatted rupiah string.
FAQ
Can I search Tokopedia by keyword?
Yes. Put keywords in searchQueries, optionally add minPrice, maxPrice and minRating. Each search page returns about 25 products.
Does it return reviews?
Not full review text. Product URLs return the rating, review count and star breakdown.
What happens if Tokopedia blocks a request?
The Actor retries on a fresh route, then once through a backup route. If everything is blocked the run fails and nothing is charged.
Do I need a login or an Indonesian IP?
No login or cookies. The default Apify Proxy works for normal runs, and an Indonesian residential proxy is a good choice for large jobs.
Are prices in rupiah?
Yes. price is the display string and priceInt is the integer value in rupiah.
Responsible use
This Actor collects publicly available product and shop data from Tokopedia. Use it in line with Tokopedia's terms and applicable laws, including Indonesian data-protection law, and keep the data to legitimate purposes such as price monitoring and market research. Tokopedia is a trademark of its owner, and this independent Actor is not affiliated with or endorsed by Tokopedia. For questions, open a ticket in the Issues tab.