Tokopedia scraper
ExtractHub extractors are versioned web scrapers: each one is a saved scraper for one kind of page that returns structured JSON through an API. For Tokopedia (tokopedia.com) there are 2 public extractors: Tokopedia - search results and Tokopedia - product page. Together they return fields such as search, productId, name, price, priceText, originalPrice, discountPercent, rating and 19 more fields. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.
Tokopedia scrapers on ExtractHub
-
tokopedia.com · @extracthub1/tokopedia-search@1 (v1.0.0)
Tokopedia search results (tokopedia.com/search?q=...): 60 products per page with product id, name, link, image, price, original price, discount, rating, labels (sold count, promo), shop name, link and city, category, ad id, plus total results. Read from the page's own search API response (JS rendering).
Fields:
Tokopedia - search results scraper: fields, versions and examples →search -
tokopedia.com · @extracthub1/tokopedia-product@1 (v1.0.0)
Tokopedia product page (tokopedia.com/<shop>/<product>): product id, name, price, original price, discount, rating, reviews count, sold count, stock, condition, weight, minimum order, shop name / id / domain, official store flag, category breadcrumbs, variant options, description (Markdown), images.
Fields:
Tokopedia - product page scraper: fields, versions and examples →productId,name,price,priceText,originalPrice,discountPercent,rating,reviewCount,soldCount,stockTextand 16 more
How to call the Tokopedia scraper API
Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses
@extracthub1/tokopedia-search@1 (Tokopedia - search results); open an extractor's page for its batch, Python and Node examples.
curl -X POST "https://api.extracthub.io/api/extractor/extract" \
-H "X-API-Key: $EXTRACTHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"extractor_id": "@extracthub1/tokopedia-search@1",
"target": { "url": "https://tokopedia.com/..." }
}' Use ExtractHub to extract https://tokopedia.com/... with @extracthub1/tokopedia-search@1 {
"tool": "extract",
"arguments": {
"extractor_id": "@extracthub1/tokopedia-search@1",
"url": "https://tokopedia.com/..."
}
} See the web scraping API reference and the web scraping MCP server setup.
Need another Tokopedia page type?
Build your own Tokopedia scraper with an AI agent and the extractor builder skill, or in ExtractHub Studio. It stays private until you release it.
Tokopedia scraper: frequently asked questions
Is there a ready-made Tokopedia scraper?
Yes. ExtractHub lists 2 public extractors for tokopedia.com. An extractor is a versioned web scraper for one kind of page: its owner released it as an immutable version with an output schema, and you call that version with your own API key.
What data can I scrape from Tokopedia?
Tokopedia - search results returns search. Tokopedia - product page returns productId, name, price, priceText, originalPrice, discountPercent and 20 more. Every field is listed on the extractor's page with a sample response.
How do I call the Tokopedia scraper API?
Send GET or POST https://api.extracthub.io/api/extractor/extract with your API key in the X-API-Key header, extractor_id=@extracthub1/tokopedia-search@1 and the URL of a tokopedia.com page as the target. For many URLs use POST https://api.extracthub.io/api/extractor/batch. AI agents call the same extractor through the extract tool of the ExtractHub MCP server at https://api.extracthub.io/mcp.
Can I build my own Tokopedia scraper?
Yes. Build an extractor for any Tokopedia page type in ExtractHub Studio, or let an AI agent such as Claude Code build, test and release it with the open-source extractor builder skill. New extractors are private until you release them.