+Tokopedia API
Tokopedia product search, prices, shop profiles and customer reviews as clean JSON.
The API.SH Tokopedia API turns public Tokopedia pages into structured JSON. Search products with sort, price, condition, rating and official-store filters, read a product with its variants, wholesale price tiers, stock and specifications, pull customer reviews, and look up a shop's profile and full product list.
- 5 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/tokopedia/v1/ search
{ "success": true } What you can build with the Tokopedia API
Indonesian price monitoring
Track a product's price, original price, discount, stock and campaign end date, including wholesale price tiers and variant prices.
Marketplace product research
Search keywords with price range, condition and rating filters to see what sells, what is rated well and how many units sold.
Review and sentiment analysis
Collect reviews filtered by star rating and sorted by newest or most helpful, with variant, photos and the seller's reply.
Seller and competitor profiling
Read a shop's rating, followers, items sold, location and official store or power merchant badges, then compare shops.
Shop catalog tracking
Page through a shop's products, search within it and sort by best selling or price to watch a competitor's range.
Tokopedia data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Tokopedia API endpoints and prices
Every Tokopedia endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Tokopedia product search /tokopedia/ | $1 · $2 PAYG 1 credit |
| Tokopedia shop profile /tokopedia/ | $1 · $2 PAYG 1 credit |
| Tokopedia product reviews /tokopedia/ | $1 · $2 PAYG 1 credit |
| Tokopedia product /tokopedia/ | $1 · $2 PAYG 1 credit |
| Tokopedia shop products /tokopedia/ | $1 · $2 PAYG 1 credit |
Call the Tokopedia API
Tokopedia product search: GET https://api.api.sh/tokopedia/
curl "https://api.api.sh/tokopedia/v1/search?q=iphone" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/tokopedia/v1/search",
params={"q": "iphone"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/tokopedia/v1/search");
url.searchParams.set("q", "iphone");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/tokopedia/v1/search", "q", "iphone")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Tokopedia" and "Tokopedia product search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Tokopedia data
- Public data only: no Tokopedia login, cookies or account needed
- One key and one response shape for Tokopedia and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Tokopedia API
Tokopedia's developer APIs are for sellers and partners: they need authentication and are meant to manage your own store, and since the TikTok Shop merger the documentation has moved to the TikTok Shop Partner Center. API.SH needs no seller account and returns public product, shop and review data.
Skip writing and fixing your own Tokopedia scraper or buying a one-off Apify actor: API.SH gives one key and a fixed price per call across many marketplaces.
Tokopedia API questions
What Tokopedia data can I get?+
Product search (/tokopedia/v1/search), one product with variants, price tiers and stock (/tokopedia/v1/product), product reviews (/tokopedia/v1/reviews), shop profiles (/tokopedia/v1/shop) and a shop's products (/tokopedia/v1/shop/products).
How much does the Tokopedia API cost?+
Every Tokopedia endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /tokopedia/v1/product at 1 credit each.
Is there an official Tokopedia API?+
Yes, but it is a seller and partner API that needs authentication and is built to manage your own shop, orders and products. It now sits in the TikTok Shop Partner Center. API.SH is different: it reads public marketplace data with no seller account.
Do I need a Tokopedia account or login?+
No. API.SH reads public Tokopedia pages only. No endpoint uses a login, cookies or anyone's account.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /tokopedia/v1/search with q=iphone. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.
Is there a free or open Tokopedia API?+
Tokopedia's official API is not an open catalog API, since requests must be authenticated. With API.SH every account gets 1,000 free credits every month to search products, read prices and pull reviews without a seller account.
Can I get every product from one shop?+
Yes. /tokopedia/v1/shop/products takes a shop name or shop_id, can search inside the shop, filter by price range, sort by best selling or price, and pages with next_page passed back as page.