docs / tokopedia

Tokopedia API scraper

Tokopedia API scraper

base /tokopedia/v15 endpoints
post/tokopedia/v1/detail1 credit

Full product detail by product_id (or product url): price, slashed/original price, discount, active campaign, stock, min/max order, weight, rating, review/view/talk counts, sold count, full description, spec rows, category breadcrumb, image gallery, variants and the seller shop.

ParameterAllowed / rangeDescription
product_idoptionalTokopedia numeric product id (from a search result's product_id). Alternatively pass a full product `url`.
urloptionalFull Tokopedia product URL (tokopedia.com/<shop>/<product-slug>). Use this when you have the link rather than the numeric id.
Try in playground →
post/tokopedia/v1/shop1 credit

Store/shop profile by shop domain (the tokopedia.com/<shop> handle): name, description, open-since, follower count, active product count, total products sold, successful transactions, location, avatar and cover.

ParameterAllowed / rangeDescription
shoprequiredShop/store domain — the handle in tokopedia.com/<shop> (or a full shop URL).
Try in playground →
post/tokopedia/v1/shop_products1 credit

Paginated product catalog of one shop by shop domain. Returns up to 20 products per page (same shape as search) plus the shop's total product count. Page through every product a store sells.

ParameterAllowed / rangeDescription
shoprequiredShop/store domain — the handle in tokopedia.com/<shop> (or a full shop URL).
page = 1optional1–1001-based page number (20 results per page). Page forward with meta.next_page.
sort = 23optional23 · 5 · 3 · 4 · 8 · 9Result ordering (Tokopedia 'ob' code).
Try in playground →
post/tokopedia/v1/reviews1 credit

Paginated public product reviews by product_id (or url): star rating, review text, variant bought, relative date, reviewer handle, photos/videos, likes and the seller's reply. 20 reviews per page — page with `page`; meta.total / meta.has_more tell you how many.

ParameterAllowed / rangeDescription
product_idoptionalTokopedia numeric product id (from a search result's product_id). Alternatively pass a full product `url`.
urloptionalFull Tokopedia product URL (tokopedia.com/<shop>/<product-slug>). Use this when you have the link rather than the numeric id.
page = 1optional1–1001-based page number (20 results per page). Page forward with meta.next_page.
sort_reviewsoptionalinformative_score desc · create_time desc · create_time ascOrder reviews (helpfulness or date).
filter_ratingoptional5 · 4 · 3 · 2 · 1Show only reviews with this star rating.
Try in playground →