Tokopedia Search Scraper
Pricing
from $0.79 / 1,000 products
Tokopedia Search Scraper
Search Tokopedia by keyword or search URL and extract product title, price, rating, sold count, images, shop, and category data. Export as JSON, CSV, or Excel.
Pricing
from $0.79 / 1,000 products
Rating
0.0
(0)
Developer
ParseBird
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Tokopedia Search Scraper
Scrape product search results from Tokopedia, Indonesia's largest online marketplace, by keyword or search URL. Get structured titles, prices, discounts, ratings, sold counts, images, shop info, and category data as clean JSON, CSV, or Excel — no browser or proxy required.
| Search by keyword or paste a Tokopedia search URL and get every product's price, list price and discount, rating, sold count, all image URLs, shop name and city, category breadcrumb, and a sponsored-listing flag — ready for price monitoring or market research. |
Copy to your AI assistant
Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this Actor.
Actor: parsebird/tokopedia-search-scraper (Apify). Scrapes Tokopedia (tokopedia.com) product search results by keyword or search URL. Call it with ApifyClient.Input (all optional): startUrl (string, a Tokopedia search URL such as "https://www.tokopedia.com/search?st=&q=game" — its "q" parameter is used as the keyword when "keyword" is not set), keyword (string, overrides the URL's "q" value, default "game"), results_wanted (integer, default 20), max_pages (integer, safety cap on result batches fetched, default 10), proxyConfiguration (object, default {"useApifyProxy": false} — a proxy is not required).Output: one row per product — keyword, page, position, product_id, title, product_url, image_url, image_urls, price, price_number, original_price, discount_percentage, rating, sold_count, shop_id, shop_name, shop_url, shop_city, shop_tier, category_id, category_name, category_breadcrumb, is_ad, is_wishlist, source_url, fetched_at.Pricing: pay-per-event, $0.99 per 1,000 products on the Free plan (cheaper on paid plans). API docs: https://apify.com/parsebird/tokopedia-search-scraper/api
What does Tokopedia Search Scraper do?
This Actor talks to Tokopedia's own product-search API — the same one its mobile app uses — so results come back structured and complete without rendering a single page in a browser. Give it a keyword or a search URL you copied from tokopedia.com and it returns every product's price, rating, sold count, images, shop, and category data.
- 🔍 Keyword or URL input — search by a plain keyword, or paste any
tokopedia.com/search?...URL and itsqquery parameter is reused. - 💸 Price and discount detail — current price, original list price, and a computed discount percentage.
- ⭐ Rating and sold count — rating score and the "X terjual" sold-count text shown in the listing.
- 🖼️ Full image set — every distinct product image URL Tokopedia returns for that listing, plus a single main
image_url. - 🏬 Shop and category data — shop name, city, an inferred merchant tier (Regular / Power Merchant / Power Merchant Pro / Official Store), and the product's category with its breadcrumb path.
- 📢 Sponsored-listing detection — an
is_adflag marks Tokopedia's own paid/sponsored placements mixed into organic results. - 🚫 No proxy required by default — the Actor ships with Apify Proxy off; enable it in the input only if you start seeing blocked or empty responses.
How is this different from browsing Tokopedia by hand?
Tokopedia's search page renders through client-side JavaScript and only shows a handful of fields per product card. This Actor calls Tokopedia's search API directly, so every result already includes fields the search page doesn't display at all — the raw category breadcrumb, all image sizes, an inferred shop tier, and a real computed discount percentage (Tokopedia's own API always reports 0 for this field; the Actor derives it from the list vs. sale price instead).
Input parameters
Every field is optional. With no input at all, the Actor searches for game and saves up to 20 products.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| startUrl | string | No | Prefilled Tokopedia game search URL | Tokopedia search URL to start from. Its q query parameter is reused when keyword is not set. |
| keyword | string | No | game | Search keyword. When filled, it overrides the q value from startUrl. |
| results_wanted | integer | No | 20 | Maximum number of products to save. |
| max_pages | integer | No | 10 | Safety limit on the number of result batches fetched from Tokopedia. |
| proxyConfiguration | object | No | { "useApifyProxy": false } | Optional proxy settings for request routing. Not required for Tokopedia's search API. |
Basic keyword example
{"keyword": "game","results_wanted": 20,"max_pages": 3}
Start from a search URL
{"startUrl": "https://www.tokopedia.com/search?st=&q=keyboard","results_wanted": 50,"max_pages": 5}
Larger collection run with proxy
{"keyword": "sepatu lari","results_wanted": 100,"max_pages": 5,"proxyConfiguration": {"useApifyProxy": true}}
Output example
{"keyword": "game","page": 1,"position": 1,"product_id": "1860593611","title": "Mainan Board Game Fun Snake Ladder Ular Tangga Magnet 2309","product_url": "https://www.tokopedia.com/lumitoys/mainan-board-game-fun-snake-ladder-ular-tangga-magnet-2309","image_url": "https://images.tokopedia.net/img/.../4c15215c.jpeg","image_urls": ["https://images.tokopedia.net/img/.../4c15215c-700.jpeg","https://images.tokopedia.net/img/.../4c15215c-500.jpeg","https://images.tokopedia.net/img/.../4c15215c-300.jpeg"],"price": "Rp29.900","price_number": 29900,"original_price": "Rp75.000","discount_percentage": 60,"rating": 5.0,"sold_count": "4rb+ terjual","shop_id": "2798271","shop_name": "Lumitoys","shop_url": "https://www.tokopedia.com/lumitoys","shop_city": "Jakarta Utara","shop_tier": 2,"category_id": "55","category_name": "Mainan & Hobi","category_breadcrumb": "mainan-hobi/board-game/family-kids-games","is_ad": true,"is_wishlist": false,"source_url": "https://www.tokopedia.com/search?st=&q=game","fetched_at": "2026-09-16T05:26:24.816Z"}
What data can you extract from Tokopedia?
| Field | Description |
|---|---|
| title | Product name from the search listing. |
| product_url | Direct link to the product page. |
| price / price_number | Display price (e.g. Rp29.900) and its numeric value. |
| original_price | List price before discount, when Tokopedia shows one. |
| discount_percentage | Discount percentage, computed from list price vs. sale price. |
| rating | Product rating score. |
| sold_count | Sold-count text shown in the listing (e.g. 4rb+ terjual). |
| image_url / image_urls | Main product image, and every distinct image URL for the listing. |
| shop_name / shop_city / shop_url | Seller name, city, and shop page URL. |
| shop_tier | Inferred merchant tier: 0 Regular, 1 Power Merchant, 2 Power Merchant Pro, 3 Official Store. |
| category_name / category_breadcrumb | Product category and its full category path. |
| is_ad | Whether the listing is a sponsored/paid placement. |
| is_wishlist | Whether Tokopedia marks the product as wishlisted for the request context. |
| keyword / page / position | The search keyword, result batch number, and rank position for that run. |
How to scrape Tokopedia
- Open Tokopedia Search Scraper on Apify.
- Enter a Keyword (e.g.
sepatu lari), or leave it blank and paste a Search URL copied from tokopedia.com instead. - Set Max results and Max pages — start small (e.g. 20 and 3) for a fast, cheap test run.
- Leave Proxy configuration off; only turn on Apify Proxy if you start seeing blocked or empty responses.
- Click Start, then download results as JSON, CSV, or Excel from the Storage tab, or pull them from the API.
For recurring price or catalog tracking, schedule the Actor to run daily or weekly.
How much does it cost to scrape Tokopedia?
This Actor uses the pay-per-event model — you are charged per product saved to the dataset, with lower rates on paid Apify plans.
| Plan | Price per product | Price per 1,000 products |
|---|---|---|
| Free | $0.00099 | $0.99 |
| Bronze | $0.00089 | $0.89 |
| Silver | $0.00079 | $0.79 |
| Gold | $0.00079 | $0.79 |
Scraping 1,000 products on the Free plan costs about $0.99. Your monthly Apify platform credits typically cover several thousand products on top of that.
How it works
- The Actor builds a Tokopedia search request from your
keywordor theqparameter instartUrl. - It calls Tokopedia's own product-search API and requests one batch of results at a time (roughly 20–30 products per batch).
- Each batch is deduplicated by product ID, flattened into the fields above, and pushed to the dataset immediately.
- It keeps requesting batches until
results_wantedis reached,max_pagesis hit, or Tokopedia reports no further results.
Using the Actor via API
Python
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("parsebird/tokopedia-search-scraper").call(run_input={"keyword": "sepatu lari","results_wanted": 50,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["title"], "—", item.get("price"), item.get("shop_name"))
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });const run = await client.actor('parsebird/tokopedia-search-scraper').call({keyword: 'keyboard',results_wanted: 50,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
The Actor runs on the Apify platform, so you also get scheduling, a full REST API, webhooks, and native integrations with Make, Zapier, Google Sheets, and Slack. Results export as JSON, CSV, Excel, XML, or HTML.
Use cases
- Price monitoring — track price and discount changes for products or a category over time.
- Competitor research — see which shops and listings rank for a given keyword, and which are sponsored (
is_ad). - Reseller and dropship sourcing — pull product, pricing, and shop data for sourcing decisions.
- Market research — analyze category mix, ratings, and sold counts across an Indonesian marketplace keyword.
- Catalog and inventory tracking — monitor a shop's or category's listings for new or removed products.
FAQ
Do I need a proxy to scrape Tokopedia?
No. The Actor calls Tokopedia's own mobile-app search API directly, which does not require a proxy by default. The proxyConfiguration input is there in case you start seeing blocked or empty responses.
Why is discount_percentage sometimes different from what I'd expect?
Tokopedia's search API always returns 0 in its own discount field, so the Actor computes the percentage itself from original_price vs. price_number. It's null when no original (pre-discount) price is available.
What does is_ad mean?
Tokopedia mixes sponsored placements into organic search results. is_ad: true means that listing is a paid ad, not an organic ranking.
How is shop_tier determined?
Tokopedia's search API doesn't expose a raw tier field, so the Actor infers it from the shop's badge icon: 0 Regular seller, 1 Power Merchant, 2 Power Merchant Pro, 3 Official Store (Mall). Treat it as a best-effort signal, not an official Tokopedia value.
Can I search using Indonesian terms?
Yes — keyword and the q parameter in startUrl both accept Indonesian search terms directly (e.g. sepatu lari, handphone).
Does this Actor scrape individual product detail pages? No — it scrapes Tokopedia's search results, which already include price, rating, images, shop, and category data per product without an extra page load. Full descriptions and variant options require visiting the product page itself.
Can I schedule recurring runs? Yes. Use Apify's scheduler to run this Actor daily or weekly and track price or catalog changes automatically. Found a problem? Open an issue on the Issues tab.
Related Actors
- Daraz.pk Ecommerce Scraper — product data from Daraz, Pakistan's Lazada-platform marketplace.
- AliExpress Scraper — product and seller data from AliExpress.
- MercadoLibre Search Scraper — product search results from MercadoLibre's Latin American marketplaces.
- Browse the full ParseBird publisher page for more scrapers.
Legal and compliance
This Actor collects only publicly available product search listings from Tokopedia — data any visitor can view without logging in. It does not access private data or bypass authentication. You are responsible for using the scraped data lawfully, including respecting Tokopedia's terms and applicable data-protection laws such as GDPR or Indonesia's PDP Law where relevant. If you plan to scrape at scale or redistribute the data commercially, seek legal advice first. See Apify's guide on the legality of web scraping.