cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/ranking/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/ranking/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/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/video/ranking/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"avatar": "https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/853/MS4wLjABAAAAJN3v63JkTkZW72ae9hb2Wlb70uzhU8H3AZEKxIVTg38lwBGTx0tSNH7IBcrocdKd.jpg",
"category": "Other",
"create_time": "1769838405",
"created_by_ai": "false",
"duration": 15,
"nick_name": "フひレノの",
"product_category_list": "[{ \"category_name\":\"Beauty & Personal Care\",\"category_id\":\"601450\"}]",
"reflow_cover": "https://echosell-images.tos-ap-southeast-1.volces.com/video-cover/422/7601397977986501919.jpg",
"region": "US",
"sales_flag": 1,
"total_comments_cnt": 0,
"total_digg_cnt": 0,
"total_favorites_cnt": 0,
"total_shares_cnt": 0,
"total_video_sale_cnt": 5508,
"total_video_sale_gmv_amt": 44613,
"total_views_cnt": 0,
"unique_id": "iamjuliocr",
"user_id": "6633792625097490438",
"video_desc": "W huzz magnet 🧲 #fyp #ttshopfinds #seasaltspray #level3 #barbertok ",
"video_id": "7601397977986501919",
"video_products": "[1729436418527695003]"
}
],
"requestId": "b9ff3078-0b12-45b5-8b00-b7017ed18713"
}{
"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
获取 TikTok 视频排行榜,可按 热门榜或带货榜 指标排序,榜单中返回的值是当前周期中的增量数据。
GET
/
v1
/
tiktok
/
video
/
ranking
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/ranking/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/ranking/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/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/video/ranking/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"avatar": "https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/853/MS4wLjABAAAAJN3v63JkTkZW72ae9hb2Wlb70uzhU8H3AZEKxIVTg38lwBGTx0tSNH7IBcrocdKd.jpg",
"category": "Other",
"create_time": "1769838405",
"created_by_ai": "false",
"duration": 15,
"nick_name": "フひレノの",
"product_category_list": "[{ \"category_name\":\"Beauty & Personal Care\",\"category_id\":\"601450\"}]",
"reflow_cover": "https://echosell-images.tos-ap-southeast-1.volces.com/video-cover/422/7601397977986501919.jpg",
"region": "US",
"sales_flag": 1,
"total_comments_cnt": 0,
"total_digg_cnt": 0,
"total_favorites_cnt": 0,
"total_shares_cnt": 0,
"total_video_sale_cnt": 5508,
"total_video_sale_gmv_amt": 44613,
"total_views_cnt": 0,
"unique_id": "iamjuliocr",
"user_id": "6633792625097490438",
"video_desc": "W huzz magnet 🧲 #fyp #ttshopfinds #seasaltspray #level3 #barbertok ",
"video_id": "7601397977986501919",
"video_products": "[1729436418527695003]"
}
],
"requestId": "b9ff3078-0b12-45b5-8b00-b7017ed18713"
}{
"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筛选
是否为 AI 生成视频,取值 true 或 false。
内容类型,150代表图文
榜单排序字段,1=total_views_cnt,2=total_video_sale_cnt。
榜单周期,1=日榜,2=周榜,3=月榜。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。

