cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"category_id": "601450",
"category_l2_id": "848776",
"category_l3_id": "601611",
"cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/seller-cover/222/7495514739648989419.png",
"most_product_category_list": "[{ \"category_name\":\"Beauty & Personal Care\",\"category_id\":\"601450\"}]",
"rating": 4.6,
"region": "US",
"seller_id": "7495514739648989419",
"seller_name": "medicube US Store",
"total_ifl_cnt": 31,
"total_live_cnt": 594,
"total_product_cnt": 0,
"total_sale_cnt": 19204,
"total_sale_gmv_amt": 603075.48,
"total_video_cnt": 94,
"user_id": "7291517492299007018"
}
],
"requestId": "54f91db1-5f45-43f1-b0b8-2b7421a0e2f7"
}{
"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 店铺
店铺榜单列表-EchoTik
获取店铺排行榜,可按 热销榜或热推榜 指标排序,榜单中返回的值是当前周期中的增量数据。
GET
/
v1
/
tiktok
/
shop
/
ranking
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"category_id": "601450",
"category_l2_id": "848776",
"category_l3_id": "601611",
"cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/seller-cover/222/7495514739648989419.png",
"most_product_category_list": "[{ \"category_name\":\"Beauty & Personal Care\",\"category_id\":\"601450\"}]",
"rating": 4.6,
"region": "US",
"seller_id": "7495514739648989419",
"seller_name": "medicube US Store",
"total_ifl_cnt": 31,
"total_live_cnt": 594,
"total_product_cnt": 0,
"total_sale_cnt": 19204,
"total_sale_gmv_amt": 603075.48,
"total_video_cnt": 94,
"user_id": "7291517492299007018"
}
],
"requestId": "54f91db1-5f45-43f1-b0b8-2b7421a0e2f7"
}{
"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 credit每次请求
Copy for AI
🤖 让 AI 帮你写调用代码
点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。
授权
查询参数
日期,格式为 yyyy-MM-dd。
国家/地区代码,例如 US、GB、DE。
类目 ID,用于限定查询范围。
二级类目 ID。
三级类目 ID。
榜单排序字段,1=total_sale_cnt,2=total_ifl_cnt。
榜单周期,1=日榜,2=周榜,3=月榜。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。

