cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/product/ranking/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/product/ranking/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/product/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/product/ranking/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"category_id": "700645",
"category_l2_id": "700646",
"category_l3_id": "700650",
"max_price": 26.77,
"min_price": 21.59,
"product_commission_rate": 0.15,
"product_id": "1729413266549936259",
"product_name": "Neuro Energy Caffeine Gum/Mints for Energy & Focus - Sugar-Free with L theanine, Caffeine, Vitamin B12 & Vitamin B6 - Peppermint Flavor",
"region": "US",
"spu_avg_price": 24.18,
"total_ifl_cnt": 64,
"total_live_cnt": 0,
"total_sale_cnt": 4539,
"total_sale_gmv_amt": 109753.02,
"total_video_cnt": 95
}
],
"requestId": "af1eb642-cbb6-405a-b05b-84593afd41fc"
}{
"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
/
product
/
ranking
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/product/ranking/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/product/ranking/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/product/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/product/ranking/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"category_id": "700645",
"category_l2_id": "700646",
"category_l3_id": "700650",
"max_price": 26.77,
"min_price": 21.59,
"product_commission_rate": 0.15,
"product_id": "1729413266549936259",
"product_name": "Neuro Energy Caffeine Gum/Mints for Energy & Focus - Sugar-Free with L theanine, Caffeine, Vitamin B12 & Vitamin B6 - Peppermint Flavor",
"region": "US",
"spu_avg_price": 24.18,
"total_ifl_cnt": 64,
"total_live_cnt": 0,
"total_sale_cnt": 4539,
"total_sale_gmv_amt": 109753.02,
"total_video_cnt": 95
}
],
"requestId": "af1eb642-cbb6-405a-b05b-84593afd41fc"
}{
"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。
商品一级类目 ID。
二级类目 ID。
三级类目 ID。
榜单排序字段,1=total_sale_cnt,2=total_ifl_cnt。
榜单周期,1=日榜,2=周榜,3=月榜。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。

