TikTok Shop API & Scraper
The TikTok Shop API returns product, seller, category, flash-sale and review data from TikTok Shop across ten markets (the US, UK, Malaysia, Singapore, Thailand, the Philippines, Vietnam, Indonesia, Japan and Mexico) as clean JSON.
🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.
Every listing row (US keyword search, category_products on all ten markets, products_by_ids, seller_catalog and the deal boards) returns product_id, title, url, image, seller, rating, review_count, sold_count, price and list_price with currency, discount_percent, every SKU's own price and TikTok's promotions with their end times. product_detail adds per-SKU stock as an integer, purchase limits, the product video and the seller's published business details. products_by_ids refreshes up to 1,000 US product ids per call, 100 per upstream request. flash_sales, ranking_list, premium_offers and recommended_for_you expose TikTok's own sale and best-seller boards, seller_profile and seller_catalog cover a shop and its listings, related_products finds comparable items on nine of the ten markets (not Japan), and reviews returns customer feedback with the full star histogram. One ReefAPI key, one shared credit pool, the standard envelope.
Id shapes, the price fields that exist only on a promotion, and what not_found means
Three things account for most of the surprises here. Every identifier is a long numeric string that must never be parsed as a number, three of the price fields are populated only when the product is genuinely on promotion, and a bulk lookup's not_found includes sold-out products. All values below came from measured calls.
| Field | Format | What was measured |
|---|---|---|
| product_id | 19-digit numeric string. The same value on every action. | 1729450858130215273. The identical id on the gb market returned NOT_FOUND, because a catalogue is per-market. |
| sku_id | 19-digit numeric string, one per variant. | That product carried 98 skus, each with its own available_quantity, summing to total_stock (1,155 on 2026-11-22). |
| sku_prices[] | On every listing row (search, category_products, products_by_ids, seller_catalog, deal boards): sku_id, price, list_price, discount_percent, is_promotional for each variant. | 17,770 SKUs over 1,062 rows, every one priced. No stock here; stock is on product_detail. |
| promotions[] | promotion_id, type (FLASH_SALE, BIG_SALE, PRODUCT_FREE_SHIPPING ...), text, start_time_ms, end_time_ms, discount_percent. | A flash sale row: type FLASH_SALE, text "Flash sale", start_time_ms 1795305600000, end_time_ms 1795391999000. |
| seller_id and global_seller_id | 19-digit numeric strings, identical on the US shop measured. | 7495552880616442217, shop "WateLves Footwear". |
| category_id | 6-digit numeric string. Three levels, and level 1 has parent_category_id "0". | 601352 Shoes, then 900616 Men's Shoes, then 601357 Casual Trainers with is_leaf true only on the last. |
| is_promotional | Boolean. It gates the two fields below. | true on one product and false on another inside the same bulk response. |
| list_price and discount_percent | Populated only when is_promotional is true, and null otherwise. | Promoted: price 32.99, list_price 42.99, discount_percent 23.0. Not promoted: price 84.97, list_price null, discount_percent null. |
| currency and currency_symbol | Set by market, not by your locale. | us returned USD with "$"; jp returned JPY with "円" and whole-number prices, since yen has no minor unit. |
| sold_count | An exact integer, not the banded string the storefront prints. What it counts is TikTok's own definition per market, given in sold_count_note. | 52870 on a product whose page shows "52.9K sold". Indonesia counts the seller's sales across all Indonesian platforms, Mexico counts worldwide. |
| price_basis | page, listing, page_perturbed or null. Says which price product_detail returned. | TikTok shows some product pages with a price that changes on every load. page and listing are TikTok's real price; page_perturbed is one changed reading, kept with price_observed beside it. |
| product_status | TikTok's own status number on product_detail. | 1 on a normal page, 2 on a product whose every SKU was out of stock (1,161 sold, total_stock 0). |
| not_found[] | products_by_ids only. Ids TikTok's bulk lookup did not return: removed, not a US id, or sold out. | A live sold-out product was left out 6 of 6 times while its product page served. Call product_detail on a not_found id: sold out answers with product_status 2, a removed one answers NOT_FOUND. |
| review_time_ms | Unix milliseconds, 13 digits, not seconds. | 1754626324657 on a measured review. |
price_prefix is a display hint, not a number. It came back "From" at the product level on a multi-SKU listing and null on each individual SKU, because the product-level price is the cheapest variant rather than one price for everything. sku_prices[] gives you every variant's own price on the same row.
Real request and response JSON
Captured from the indexed primary action, search, on .
{
"method": "POST",
"url": "https://api.reefapi.com/tiktok-shop/v1/search",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"query": "yoga mat",
"max_results": 30
}
}{
"ok": true,
"meta": {
"api": "tiktok-shop",
"endpoint": "search",
"mode": "live",
"latency_ms": 8569.4,
"record_count": 30,
"bytes": 392915,
"cache_hit": false,
"completeness_pct": 100,
"stop_reason": "limit_reached",
"market": "us",
"pages": 1,
"charged_credits": 1,
"version": "1.0.0"
},
"data": {
"results": [
{
"product_id": "1731637081990992476",
"title": "Fitvids 1/2\" Thick High Density Exercise Yoga Mat, Carrying Strap, Pale Pink",
"url": "https://shop.tiktok.com/us/pdp/fitvids-1-2-thick-high-density-yoga-mat-non-slip-portable/1731637081990992476",
"slug": "fitvids-1-2-thick-high-density-yoga-mat-non-slip-portable",
"image": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/f70024901f3649f98e2f8b9ae5a919d6~tplv-fhlh96nyum-crop-webp:2000:2000.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=a6e80448&idc=useast5&from=2378011839",
"brand": null,
"seller_id": "7495297466480036444",
"seller_name": "Spreetail",
"rating": 4.7,
"review_count": 328,
"sold_count": 3311,
"sku_count": 7,
"labels": [
"Free shipping",
"Stock Up Deals"
],
"price": 24.99,
"list_price": null,
"currency": "USD",
"currency_symbol": "$",
"discount_percent": null,
"is_promotional": false,
"price_prefix": "From"
},
{
"product_id": "1732512591518995452",
"title": "Unisex 11PCS 4mm EVA Foam Yoga Mat Set, High-Density Anti-Tear Yoga & Pilates Equipment, Thick Exercise Workout Mat for Home Gym, 68.11x24.02x0.16in Floor Pad, Exercise Mat, Workout Mat Thick",
"url": "https://shop.tiktok.com/us/pdp/11pcs-unisex-eva-foam-yoga-mat-set-anti-tear-home-gym/1732512591518995452",
"slug": "11pcs-unisex-eva-foam-yoga-mat-set-anti-tear-home-gym",
"image": "https://p16-oec-general.ttcdn-us.com/tos-maliva-i-o3syd03w52-us/8a58ec5da8f54e3085256a051c4c9e3d~tplv-fhlh96nyum-crop-webp:1000:1000.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=a6e80448&idc=useast5&from=2378011839",
"brand": null,
"seller_id": "7494789832083146748",
"seller_name": "Novafitnesss",
"rating": null,
"review_count": 0,
"sold_count": 6,
"sku_count": 2,
"labels": [
"Free shipping"
],
"price": 17.09,
"list_price": 18.99,
"currency": "USD",
"currency_symbol": "$",
"discount_percent": 10,
"is_promotional": true,
"price_prefix": null
},
{
"product_id": "1732289708172349823",
"title": "SOULYIS Shock-absorbing Yoga Mat, extra wide and enlarged exercise mat, with straps, unisex, 8mm thick double-sided non-slip eco-friendly yoga mat, super shock-absorbing patented design, suitable for Pilates, exercise and fitness.",
"url": "https://shop.tiktok.com/us/pdp/soulyis-extra-wide-shock-absorbent-eco-friendly-yoga-mat/1732289708172349823",
"slug": "soulyis-extra-wide-shock-absorbent-eco-friendly-yoga-mat",
"image": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/91c68f88928744e9b1dd1e845c1b1215~tplv-fhlh96nyum-crop-webp:1601:1601.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=a6e80448&idc=useast5&from=2378011839",
"brand": "Soulyis",
"seller_id": "7496102493674375551",
"seller_name": "Soulyis",
"rating": 4.7,
"review_count": 7,
"sold_count": 126,
"sku_count": 4,
"labels": [
"Flash sale",
"Free shipping",
"Stock Up Deals"
],
"price": 24.99,
"list_price": null,
"currency": "USD",
"currency_symbol": "$",
"discount_percent": null,
"is_promotional": false,
"price_prefix": null
}
],
"shops": [
{
"seller_id": "7495297466480036444",
"shop_name": "Spreetail",
"shop_logo": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/185f19914ae34c7f8fc82eb5f6c7d7da~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&t=555f072d&ps=933b5bde&shp=905da467&shcp=d9d491bf&idc=useast5&from=2422056039",
"verified": true
}
],
"query": "yoga mat",
"has_more": true,
"pages_fetched": 1,
"requested_max": 30
}
}What the TikTok Shop API does
| Action | Description | Concrete use case | Key params |
|---|---|---|---|
| product_detail | Full TikTok Shop product record in ONE call, for any of the ten markets - title, structured description, every image, the product video, EVERY SKU with its own price, its exact remaining stock as an integer, its purchase limit and why it is unavailable, discount and list price, flash-sale and campaign promotions with their end time, shipping fee and delivery window, category path, the seller's full profile and published business details, customer reviews and the complete star histogram. Nothing here needs a second request | Pricing teams call product_detail to get full TikTok Shop product record in ONE call, for any of the ten markets - title, structured d…. | product_id, market |
| products_by_ids | Look up a list of US product ids in ONE call - up to 1,000 per call, answered 100 at a time by TikTok's own bulk lookup (its maximum), so 100 products cost one upstream request. The cheapest way to refresh prices for ids you already hold: every row carries the price, the list price, the discount and the price of every SKU. Ids TikTok does not return come back in not_found (removed, not a US id - or sold out, see returns). US catalogue only | Marketplace operators call products_by_ids to look up a list of US product ids in ONE call - up to 1,000 per call, answered 100 at a time b…. | product_ids |
| category_tree | TikTok Shop's own category taxonomy for any of the ten markets — 28 top-level departments from one call, then walk down to level 2 and level 3 by passing a category_id. Every node says whether it is a leaf, so the tree can be crawled to the bottom with no external id list and nothing hard-coded | Catalog enrichment teams call category_tree to get tikTok Shop's own category taxonomy for any of the ten markets. | market, category_id, slug |
| category_products | Browse a whole category and page through it — around 100 products per category, on ALL TEN markets. This is the cheapest source of product ids there is, roughly 1 KB of traffic per product, and it is what replaces keyword search outside the US. Pages are position-independent, so a page that gets throttled is retried automatically without losing your place | Retail analysts call category_products to get browse a whole category and page through it. | category_id, market, max_results, slug |
| search | Keyword search across the US TikTok Shop catalogue, paged for you up to 150 products, with price, rating, sold count and seller on every row. US ONLY — TikTok does not serve keyword search on any other market, at any URL (use category_products there, which goes deeper than search does) | Pricing teams call search to get keyword search across the US TikTok Shop catalogue, paged for you up to 150 products, with pr…. | query, max_results |
| recommended_shops | Shops TikTok itself surfaces for a search term — a keyword-to-seller lookup that answers 'who sells this' rather than 'what is for sale'. Comes free alongside the US search page, so it costs one call and no extra bandwidth. US only | Marketplace operators call recommended_shops to get shops TikTok itself surfaces for a search term. | query |
| seller_profile | A TikTok Shop seller's full public profile on any of the ten markets — shop name, rating, review count, follower count, lifetime units sold, catalogue size, video count and TikTok's own service sub-scores. On the nine non-US markets there is no seller endpoint at all, so this is reached through one of the seller's products; pass a product_id and you get the seller for free | Catalog enrichment teams call seller_profile to get a TikTok Shop seller's full public profile on any of the ten markets. | seller_id, product_id, market |
| seller_catalog | Every product a seller has listed, paged to the end — verified complete against the shop's own advertised product count (12 of 12, 81 of 81, 28 of 28 on three separate markets). Nine markets: US, Malaysia, Singapore, Thailand, Philippines, Vietnam, Indonesia, Japan and Mexico. NOT the UK, where TikTok does not deploy the seller catalogue service at all | Retail analysts call seller_catalog to get every product a seller has listed, paged to the end. | seller_id, market, max_results |
| related_products | The products TikTok itself recommends alongside a given product — its 'you may also like' rail, about 25 full product rows. Useful for competitor sets, substitutes and building a similar-items shelf. Works on nine of the ten markets. Japan is the exception: TikTok's recommendation service refused every anonymous request we measured there (November 2026), so a JP call currently ends in a retryable TARGET_BLOCKED within about 20 seconds instead of returning rows | Pricing teams call related_products to get the products TikTok itself recommends alongside a given product. | product_id, market, max_results |
| ranking_list | TikTok Shop's own best-seller board for the US — the 20 products TikTok is promoting as trending right now, in their published rank order, with full price, rating and seller rows. This is the editorial ranking the storefront shows, not a re-sorted search, which is what makes it the winning-products feed | Marketplace operators call ranking_list to get tikTok Shop's own best-seller board for the US. | none |
| premium_offers | TikTok Shop's US 'premium offers' deal board, paged to the end — around 97 discounted products with the discount percentage and the pre-discount price on every row. A ready-made deals feed rather than a price filter over search | Catalog enrichment teams call premium_offers to get tikTok Shop's US 'premium offers' deal board, paged to the end. | max_results |
| flash_sales | TikTok Shop's Flash Sales board, paged to the end - the time-limited deals TikTok is running right now, each row with the sale price, the pre-sale price, the discount and the flash sale's own start and end time. The page TikTok itself links as 'Flash sales'. US and Japan carry live boards; most other markets publish the board empty between campaigns | Retail analysts call flash_sales to get tikTok Shop's Flash Sales board, paged to the end - the time-limited deals TikTok is running…. | market, max_results |
| recommended_for_you | TikTok Shop's US personalised discovery feed, paged and de-duplicated — 200-plus distinct products of what TikTok is currently pushing to shoppers. The widest trend-discovery surface this API has | Pricing teams call recommended_for_you to get tikTok Shop's US personalised discovery feed, paged and de-duplicated. | max_results |
| reviews | Customer reviews for a product on any of the ten markets - three to five full review texts with rating, author, verified-purchase flag and photo, plus the COMPLETE 1-to-5 star histogram and total review count covering every review the product has. Served from a 7 KB endpoint instead of the product page, so a ratings refresh costs a fraction of a re-fetch | Marketplace operators call reviews to get customer reviews for a product on any of the ten markets - three to five full review texts wi…. | product_id, market |
Call search from your stack
curl -X POST https://api.reefapi.com/tiktok-shop/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"yoga mat","max_results":30}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/tiktok-shop/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"query": "yoga mat",
"max_results": 30
},
timeout=90,
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/tiktok-shop/v1/search", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"query": "yoga mat",
"max_results": 30
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.tiktok-shop.search with {"query":"yoga mat","max_results":30}.Who uses this API and why
- Product-monitoring tools refresh tens of thousands of US ids a day through products_by_ids, 100 per upstream request, and spend product_detail only on ids whose price or stock they need in full.
- Pricing teams read sku_prices[] on search and category rows to see every variant's price without opening each product.
- Deal trackers poll flash_sales and read each row's FLASH_SALE end time to know when a price expires.
- Seller-intelligence products use seller_profile, seller_catalog and product_detail's seller_disclosure to audit a competitor's shop and its business details.
- Trend tools use ranking_list and category_products to see what is selling in each of the ten markets.
Questions developers ask before integrating
How do I refresh prices for tens of thousands of product ids?
Use products_by_ids. It takes up to 1,000 US ids per call and looks them up 100 at a time, which is TikTok's own maximum for its bulk lookup, so 100 products cost one upstream request. Each row carries the price, list price, discount and every SKU's own price in sku_prices[]. Measured 2026-11-22 on a customer's real ids: 100 ids answered in 3.4 seconds with 97 products, and 141 ids in one call answered in 4.2 seconds. The ids that did not come back are listed in not_found.
Why is a product that I know exists in not_found?
Most often because it is sold out. TikTok's bulk lookup leaves out products it will not currently sell: removed listings, ids from another market, and sold-out products. A live product with 1,161 sales and all its stock at zero was left out 6 of 6 times while its product page still served. Call product_detail on that id: a sold-out product comes back with product_status 2 and in_stock false, a removed one comes back as NOT_FOUND.
Why can product_detail show a different price from search for the same product?
TikTok serves some product pages with a price that changes on every load, a different number each time, while stock, sold count and rating stay the same. This is not an A/B test: one session with the same cookies got six different prices in six loads (5.74 to 6.31) for a product listed at 5.44. Search, category and products_by_ids rows carry the real price, and every unchanged page matched them exactly (29 of 29). product_detail tells you which one you got in price_basis: page and listing are TikTok's real price (on a changed US page the engine fetches the listing price for you), page_perturbed is one changed reading, so take the price from search or category_products. The page's own reading is always kept in price_observed.
How do I follow flash sales?
flash_sales returns TikTok Shop's own Flash Sales board, paged to the end. On 2026-11-22 the United States board held 200 products (40 per page) and Japan's paged 40 at a time. Every row carries promotions[]; the entry with type FLASH_SALE has start_time_ms and end_time_ms, the sale's own window. Malaysia, Vietnam, Thailand, the Philippines, Singapore and Mexico served the board empty that day, which comes back as a successful call with no rows. The UK and Indonesia publish no such page. Flash-sale promotions also appear on category_products and product_detail rows in every market.
list_price and discount_percent are null on some products. Is data missing?
No. Read is_promotional first. Those two fields are populated when and only when the product is genuinely on promotion. In one measured bulk call a promoted product returned price 32.99, list_price 42.99 and discount_percent 23.0, while a second product in the same response returned price 84.97 with both other fields null and is_promotional false. A null here means "not on sale", not "failed to parse".
The same product id works on us but not on gb. Why?
Because market selects the storefront and the catalogue, not merely the currency. A measured product_detail for 1729450858130215273 on market=us returned the full record, while the identical id on market=gb returned NOT_FOUND. Sellers list per market, so treat the pair (product_id, market) as your key rather than the id on its own.
How does per-SKU stock work, and does it add up?
skus[] carries available_quantity as a real integer per variant, alongside in_stock, properties[] (colour, size and so on), its own price, its purchase_limit and, when TikTok says so, unavailable_reason such as "This item is out of stock". total_stock is the sum. That lets you watch a single size run out instead of only seeing the whole product flip to unavailable. Package weight and dimensions are null on the product page TikTok serves today (0 of 536 SKUs on 27 pages across all ten markets carried them).
How many review texts do I get?
Three to five: the product page embeds 3 reviews on most products (16 of 24 measured) and 5 on some (3 of 24), fewer only when the product has fewer. Each is a full record with rating, text, author, sku_id, verified_purchase and a photo where there is one. review_summary is complete: total_reviews and the five-bucket rating_distribution cover every review, so the average and the histogram are exact even though the text sample is small. TikTok masks reviewer names itself, as "S**s".
What is the TikTok Shop API?
TikTok Shop API is a ReefAPI endpoint group for products, per-sku price and stock, flash sales, sellers and reviews across 10 markets. It returns live JSON through POST requests under /tiktok-shop/v1.
Is the TikTok Shop API free to try?
Yes. ReefAPI starts with 1,000 free credits, no card required. TikTok Shop calls use the same shared credit balance as every other ReefAPI engine.
Do I need a TikTok Shop login or account?
No login to TikTok Shop is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the TikTok Shop data?
The page example is captured from a live product_detail call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the TikTok Shop API use?
TikTok Shop actions currently cost 1-2 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call TikTok Shop from an AI assistant or MCP client?
Yes. Connect ReefAPI once through MCP and your assistant can call tiktok-shop actions with the same key, credit pool and JSON envelope used by normal REST requests.