Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every call is a POST with a JSON body, including the reads.
- Answers are {code, msg, data}; check code, not just the HTTP status. 30003 means the access-frequency limit was hit, 30002 a data limit.
- Most list calls take filter, orderby, page (default 1) and pagesize (default 10, max 100), with page x pagesize capped (5000 for searches, 500 for rankings). Range filters are {min, max} objects; time ranges are Unix seconds.
- Money fields are in the region’s own currency, so revenue and price filters need a region (or seller_id).
Endpoints
Search TikTok Shop products
- A read over POST. price_range, total_gmv_range and day7_gmv_range need region or seller_id.
Get a product’s daily sales trend
- A read over POST.
List a product’s reviews
- A read over POST. data.total gives the record count for paging.
Rank top-selling products
- A read over POST.
List product categories
- A read over POST.
Search TikTok creators
- A read over POST.
Search TikTok shops
- A read over POST.
Search TikTok videos
- A read over POST.