100 free credits. No credit card required. Get a key

TikTok Shop sales estimate API

For a product keyword, the top TikTok Shop listings by units sold, with price and an estimated sales figure.

GET /v1/tiktok/shop/sales1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/tiktok/shop/sales?q=casetify&top=5",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "casetify",
"markets": [
{
"region": "US",
"listings": [
{
"product_id": "1732681549293129861",
"title": "CASETiFY [Top 20] Impact Phone Case for iPhone 18/17/16/15 Series, MagSafe Compatible, with 8.2 ft. Drop Protection",
"seller": "CASETiFY US",
"unitsSold": 29,
"price": 64,
"currency": "USD",
"estimatedSales": 1856
},
{
"product_id": "1732814232582131845",
"title": "CASETiFY Impact Clear Phone Case for iPhone 18/17 Series, MagSafe Compatible, with 6.6 ft. Drop Protection",
"seller": "CASETiFY US",
"unitsSold": 20,
"price": 78,
"currency": "USD",
"estimatedSales": 1560
},
"… 1 more"
],
"totalUnitsSold": 50,
"totalEstimatedSales": 3433.99
}
]
}

Parameters

NameTypeDescription
qquery · requiredstringProduct keyword. Example: casetify.
topqueryintegerListings to return, 1 to 20 (default 5).
regionsquery"US"Markets (US only for now). One of US.
Response fields

200 with a TikTokShopSalesResponse, in TikTok’s own web JSON (itemStruct, userInfo, comments).

FieldTypeDescription
querystring
marketsobject[]
Status codes
StatusMeaning
200Top listings by units sold.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account, video, comment, hashtag or sound does not exist on TikTok, or was removed.
429Too many requests. Wait for Retry-After seconds.
503TikTok is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Is estimatedSales revenue?

No: it is units sold times the current price, an estimate. TikTok Shop does not publish revenue.

TikTok is a trademark of ByteDance Ltd. We are not affiliated with or endorsed by TikTok or ByteDance.