Product Search
/api/tokopedia/search
Search products with price, rating, category and location filters
Scrappa's Tokopedia API returns structured JSON from Tokopedia in Indonesia. Search products, open a product for variants, specs and sold count, read the rating summary and list shop products.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/tokopedia/search?query=sepatu+lari" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{ "success": true, "data": { "query": "sepatu lari", "currency": "IDR", "results": [ { "product_id": "123", "title": "Sepatu Lari", "price": 250000, "rating": 4.8 } ] }, "meta": { "endpoint_family": "search", "credits": 1 } }
Structured data for real applications. Here are some ideas.
Track price, original price and discount in IDR.
Read sold count and rating on the product route.
List a shop and its products with stable ids.
Tokopedia scraper API
Public marketplace data from Tokopedia as JSON. Each request costs 1 credit.
Prices as IDR numbers with the original price and discount.
Search, product, reviews, shop and shop products each cost 1 credit.
Page N returns the real page N, 60 results per page.
Sold count is on the product route only, not on search cards.
A valid empty result is a free 200; failed requests are never billed.
Take the product id and shop domain from a search result and open the product, its rating and its shop.
Everything you need in one API.
/api/tokopedia/search
Search products with price, rating, category and location filters
/api/tokopedia/product
Get price, variants, specs and sold count
/api/tokopedia/reviews
Get the rating summary and per-star counts
/api/tokopedia/shop
Get a shop and its product rail
/api/tokopedia/shop/products
List the products of a shop
See how Scrappa compares to ScrapingBee / ScraperAPI.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Structured marketplace data as JSON | Build your own parser | |
| Price per 1k requests | From $0.20 | Varies by plan |
| Unified API key | Yes (350+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits only |
No. Scrappa is an independent service and is not affiliated with or endorsed by Tokopedia. The API returns structured JSON from public data.
Sold count is on the product route only. The review route returns the rating summary and star buckets, not the review text.
No. Only successful responses with data are billed. Failed requests and empty results are free.