TikTok's own TikTok Shop API returns only "authorized TikTok Shop data", meaning the catalog, orders and payments of the sellers, creators or partners that authorized your app (TTS API overview). Its developer guide also tells developers in the US, the UK and some other markets to budget 3+ weeks for a compliance and legal review. The virev.ai TikTok Shop API has 12 GET endpoints under /v1/tiktok_shop/ that read our stored US product, shop and creator data for any shop, not only shops that authorized you, at $0.0005 for a page of up to 100 products.
Each endpoint below links its page in the TikTok Shop API reference and shows its price. The three jobs after it are finding best-selling products, reading a competitor shop, and listing the affiliates who sell a product. The code samples run with one API key, and the JSON samples are stored rows read on 2026-11-26.
TikTok's Partner API and who can use it
The developer guide sorts developers into four types. A seller builds a custom app that reads its own shop only. An app developer or system integrator builds a public app that reads the data of sellers who authorize it. A creator or affiliate integrator reads creator-side affiliate data, and a TikTok Shop partner reads partner business data. Each type gets access through the same four steps.
- 1
Onboard
Create a Partner Center account and register as a developer. - 2
Create an app
Register a TikTok Shop app and turn on the API scopes you need. - 3
Get authorized
Have a seller, creator or partner authorize the app, then exchange theauth_codefor anaccess_token. - 4
Call the API
Sign each request and send it with that token.
That path is the right one when you run a shop: listing products, syncing stock and orders, or reading settlements. Its one market-wide read is Get Bestselling Products, which ranks up to 100 products by GMV and gives GMV as a range. It cannot list the products, sales or affiliates of a shop that never authorized you, which is what a brand, an affiliate or a market researcher asks.
| TikTok's Partner API (TTS API) | virev.ai TikTok Shop API | |
|---|---|---|
| Whose data | Shops, creators or partners that authorized your app | Any shop, product or creator in our stored data |
| Catalog, orders, stock | Yes, including product edits and stock updates | No, read-only market data |
| Competitor sales | Only if the competitor authorizes you | Daily units and GMV for up to 90 days |
| Affiliates of a shop | Your own shop's affiliate program | Every creator whose videos sell its products |
| Market rankings | Get Bestselling Products: up to 100 products by GMV over 1, 7 or 30 days, one Level 1 category, GMV as a range, seller token required | Products by units, GMV, price or rating in any category subtree, paged past 100 rows |
| Getting access | Partner Center, app, authorization, review | An API key |
The 12 TikTok Shop endpoints and their prices
Every endpoint is a GET on https://api.virev.ai with your key in the Authorization: Bearer header. Ids are strings, because TikTok Shop ids have up to 19 digits. A list endpoint returns up to 100 rows a page and costs the same at 1 row or 100.
| Endpoint | What it returns | Price |
|---|---|---|
GET /v1/tiktok_shop/products | Products by keyword, category, shop, price, units sold and status, sorted by units, GMV, price or rating | $0.0005 a page |
GET /v1/tiktok_shop/shops | Shops by name, with brand flag, rating, followers and units sold | $0.0005 a page |
GET /v1/tiktok_shop/categories | The category tree of a market, or one subtree by parent_id | Free |
GET /v1/tiktok_shop/product | One product: SKUs, rating histogram, shop, top videos, daily units and GMV | $0.0010 |
GET /v1/tiktok_shop/product/videos | Videos that sell a product, with creator, plays and the paid or affiliate label | $0.0005 a page |
GET /v1/tiktok_shop/product/creators | Creators whose videos sell a product, with video count and plays | $0.0005 a page |
GET /v1/tiktok_shop/shop | One shop: business details, counts, top products, daily units and GMV | $0.0010 |
GET /v1/tiktok_shop/shop/products | Every listed product of a shop, sold or not | $0.0005 a page |
GET /v1/tiktok_shop/shop/creators | A shop's affiliate creators, with videos, distinct products and plays | $0.0005 a page |
GET /v1/tiktok_shop/shop/videos | Videos that sell a shop's products, one row per video | $0.0005 a page |
GET /v1/tiktok_shop/creator | The shop side of a creator: shops and products their videos sell | $0.0005 |
GET /v1/tiktok_shop/creator/videos | A creator's selling videos, each with the products it sells | $0.0005 a page |
Find best-selling products in a category
A brand checking its category, or an affiliate picking what to sell next, starts with the category tree. /v1/tiktok_shop/categories is free and returns the US tree: 29 top-level categories and 11,174 categories in all. Beauty & Personal Care is 601450. Pass that id as category_id to /v1/tiktok_shop/products, which matches the whole subtree, and sort by units_30d.
curl "https://api.virev.ai/v1/tiktok_shop/products?region=US&category_id=601450&sort=units_30d&page_size=2" \
-H "Authorization: Bearer $VIREV_API_KEY"The answer below is a stored read of that query on 2026-11-26, trimmed to the fields this guide uses. The rows were last updated on 2026-11-09. total is exact up to 10,000, and past that it is a floor with total_exact false, so this category holds more than 10,000 products.
{
"data": {
"items": [
{
"product_id": "1732052189676081387",
"seller_id": "7495514739648989419",
"region": "US",
"currency": "USD",
"sale_price": 87.1,
"sold_count": 646005,
"units_30d": 99120,
"gmv_30d": 7033343.7,
"rating": 4.6,
"review_count": 35848,
"status": "on_sale",
"shop_name": "medicube US Store",
"category_names": ["Beauty & Personal Care", "Bath & Body Care", "Body Care Sets"],
"updated_at": "2026-11-09T07:25:42.484885Z"
},
{
"product_id": "1731528580940468633",
"seller_id": "7496210924360599961",
"region": "US",
"currency": "USD",
"sale_price": 19.49,
"sold_count": 743085,
"units_30d": 82349,
"gmv_30d": 1488936.01,
"rating": 4.6,
"review_count": 58859,
"status": "on_sale",
"shop_name": "Bare Anatomy Haircare",
"category_names": ["Beauty & Personal Care", "Haircare & Styling", "Hair Loss Products"],
"updated_at": "2026-11-09T07:26:28.301157Z"
}
],
"total": 10000,
"total_exact": false,
"next_cursor": "WyJlZDE3MDJhNTdiYzk2MjNhIixbODIzNDksNzQzMDg1LCIxNzMxNTI4NTgwOTQwNDY4NjMzIl1d"
}
}| Field | What it means |
|---|---|
product_id | TikTok Shop product id, a string of up to 19 digits |
seller_id | Id of the shop that lists the product, for the shop endpoints |
sale_price | Current sale price in currency |
sold_count | Lifetime units sold |
units_30d | Units sold in the last 30 days |
gmv_30d | Sales value of the last 30 days in currency |
rating, review_count | Average star rating and number of reviews |
status | on_sale, off_shelf or gone |
updated_at | When we last updated the row |
To read more than one page, send the same query again with cursor set to the next_cursor you got back, and stop when next_cursor is empty. A cursor only continues the query that issued it, so keep the other parameters the same. This loop reads the top 500 products of the category in 5 pages for $0.0025:
import os
import requests
URL = "https://api.virev.ai/v1/tiktok_shop/products"
HEADERS = {"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"}
params = {"region": "US", "category_id": "601450", "sort": "units_30d", "page_size": 100}
products = []
while len(products) < 500:
res = requests.get(URL, params=params, headers=HEADERS)
res.raise_for_status()
data = res.json()["data"]
products.extend(data["items"])
if not data.get("next_cursor"):
break
params["cursor"] = data["next_cursor"]
for p in products[:10]:
print(p["units_30d"], p["gmv_30d"], p["shop_name"], p["product_id"])Other filters narrow the list before you pay for it: q matches words of the title, brand or shop name, min_price and max_price bound the sale price, min_units_30d drops slow sellers, and status keeps only on_sale listings. For one product, /v1/tiktok_shop/product adds its SKUs, rating histogram and a daily series of units and GMV for days days, up to 90.
Read a competitor shop's sales and affiliates
Find the shop by name with /v1/tiktok_shop/shops, add is_brand=true to keep brand shops only, and take its seller_id. Then /v1/tiktok_shop/shop returns the shop in one $0.0010 call. On 2026-11-26 the stored data for medicube US Store (7495514739648989419) counted 176 products, 112,854 selling videos and 31,146 affiliate creators.
The affiliate list is /v1/tiktok_shop/shop/creators. Each row is a creator whose videos sell one of the shop's products, with followers, video count, distinct products and plays, and each video counts once. Sort by videos, plays or followers:
import os
import requests
res = requests.get(
"https://api.virev.ai/v1/tiktok_shop/shop/creators",
params={"seller_id": "7495514739648989419", "sort": "plays", "page_size": 3},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
)
res.raise_for_status()
for c in res.json()["data"]["items"]:
print(c["unique_id"], c["followers"], c["video_count"], c["product_count"], c["plays"])A stored read of that call on 2026-11-26 returned these three rows, trimmed. unique_id is the TikTok handle, video_count counts the creator's videos that sell the shop's products, product_count counts the distinct products in them, and plays sums their plays.
[
{ "unique_id": "midlife.nursing", "followers": 66439, "video_count": 93, "product_count": 31, "plays": 150351130 },
{ "unique_id": "skincarepronikki", "followers": 177256, "video_count": 146, "product_count": 24, "plays": 148376799 },
{ "unique_id": "itsmeyolandab", "followers": 55000, "video_count": 66, "product_count": 35, "plays": 144627279 }
]/v1/tiktok_shop/shop/products lists every product of the shop, sold or not, and /v1/tiktok_shop/shop/videos lists the videos that sell them, one row per video with the product ids. Together they show which products a competitor pushes through creators and which videos carry the plays.
Find the affiliates selling a product
An agency recruiting creators for a product, or a seller checking who already sells a rival product, starts from the product_id. /v1/tiktok_shop/product/creators lists the creators whose videos sell it, and /v1/tiktok_shop/product/videos lists the videos themselves. Each video row carries ad_label, the paid or affiliate label TikTok shows, such as "Creator earns commission", and whether the product was linked on the video or listed on the product page.
From a creator you can go the other way. /v1/tiktok_shop/creator takes a uid or TikTok handle and returns the shops and products their videos sell, most videos first, and /v1/tiktok_shop/creator/videos returns their selling videos. A creator with no stored selling video is a 404, which is not billed. For any other TikTok account, use the TikTok analytics API.
Errors, limits and what a job costs
- An id the store does not hold returns
404and is not billed. page_sizeruns from 1 to 100 and defaults to 25, so ask for 100 when you page through a list.dayson a product or shop read runs from 1 to 90 and defaults to 30, ending with the last complete UTC day.- If the sales store does not answer, a product or shop read still returns, with
sales.availablefalse andsales.errornaming the cause. - The stored data covers the US market, and another
regionreturns an empty list withtotal0. - The rate limit is 100 requests a minute per organization, shared by all its keys. Every response carries
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset, and a429carriesRetry-After.
| Job | Calls | Cost |
|---|---|---|
| Top 500 products of a category | 5 pages of /products | $0.0025 |
| One competitor audit | /shop plus 100 products, 100 affiliates and 100 videos | $0.0025 |
| Affiliates of 1,000 products | 1,000 first pages of /product/creators, at least 10 minutes at the rate limit | $0.5000 |
The starter offer is pay $1 and get a $5 balance, which covers 10,000 list pages of up to 100 rows each. The TikTok Shop reference has every parameter, response field and error for each endpoint.
Read your first TikTok Shop category
Pay $1, get a $5 balance: 10,000 pages of up to 100 products each. One API key, no app review.
Get your API key →