cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/detail/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/detail/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/detail/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"category_id": "603014",
"category_l2_id": "835592",
"category_l3_id": "700740",
"cover_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/587383daaf8a4eaaa4dfb4c8f2b5944f~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&t=555f072d&ps=933b5bde&shp=905da467&shcp=6ce186a1&idc=useast5&from=2422056039",
"first_crawl_dt": 20250823,
"from_flag": 1,
"most_product_category_list": "[{ \"category_name\":\"Sports & Outdoor\",\"category_id\":\"603014\"}]",
"product_category_list": "[{ \"category_name\":\"Sports & Outdoor\",\"category_id\":\"603014\"}]",
"rating": 0,
"region": "US",
"sales_flag": 1,
"sales_trend_flag": 0,
"seller_id": "7494089513770779735",
"seller_link": null,
"seller_name": "VigorPeakk",
"spu_avg_price": 38.59,
"total_crawl_product_cnt": 0,
"total_ifl_cnt": 2,
"total_live_cnt": 1,
"total_product_cnt": 2,
"total_sale_1d_cnt": 0,
"total_sale_30d_cnt": 0,
"total_sale_7d_cnt": 0,
"total_sale_90d_cnt": 0,
"total_sale_cnt": 9,
"total_sale_gmv_1d_amt": 0,
"total_sale_gmv_30d_amt": 0,
"total_sale_gmv_7d_amt": 0,
"total_sale_gmv_90d_amt": 0,
"total_sale_gmv_amt": 408.96,
"total_video_cnt": 1,
"user_id": ""
}
],
"requestId": "77d4b2b0-11c9-46bd-9a34-9d933088a7bc"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}TikTok Shop
Shop Detail (Analytics)
Retrieve comprehensive analytics data for a TikTok Shop seller, including historical GMV, product portfolio, associated creators, and performance trends.
GET
/
v1
/
tiktok
/
shop
/
detail
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/detail/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/detail/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/detail/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"category_id": "603014",
"category_l2_id": "835592",
"category_l3_id": "700740",
"cover_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/587383daaf8a4eaaa4dfb4c8f2b5944f~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&t=555f072d&ps=933b5bde&shp=905da467&shcp=6ce186a1&idc=useast5&from=2422056039",
"first_crawl_dt": 20250823,
"from_flag": 1,
"most_product_category_list": "[{ \"category_name\":\"Sports & Outdoor\",\"category_id\":\"603014\"}]",
"product_category_list": "[{ \"category_name\":\"Sports & Outdoor\",\"category_id\":\"603014\"}]",
"rating": 0,
"region": "US",
"sales_flag": 1,
"sales_trend_flag": 0,
"seller_id": "7494089513770779735",
"seller_link": null,
"seller_name": "VigorPeakk",
"spu_avg_price": 38.59,
"total_crawl_product_cnt": 0,
"total_ifl_cnt": 2,
"total_live_cnt": 1,
"total_product_cnt": 2,
"total_sale_1d_cnt": 0,
"total_sale_30d_cnt": 0,
"total_sale_7d_cnt": 0,
"total_sale_90d_cnt": 0,
"total_sale_cnt": 9,
"total_sale_gmv_1d_amt": 0,
"total_sale_gmv_30d_amt": 0,
"total_sale_gmv_7d_amt": 0,
"total_sale_gmv_90d_amt": 0,
"total_sale_gmv_amt": 408.96,
"total_video_cnt": 1,
"user_id": ""
}
],
"requestId": "77d4b2b0-11c9-46bd-9a34-9d933088a7bc"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}🪙1 creditper request
Copy for AI
🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
Authorizations
Query Parameters
Shop Id
⌘I

