cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/trends/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/trends/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"dt": "2025-10-14",
"total_comments_cnt": 0,
"total_digg_cnt": 24,
"total_favorites_cnt": 5,
"total_shares_cnt": 2,
"total_video_sale_cnt": "1.00",
"total_video_sale_gmv_amt": "7.99",
"total_views_cnt": 3122,
"video_id": "7560175324038728973"
}
],
"requestId": "8a7b66ec-eb5c-447f-8f0e-4c23c6a98335"
}{
"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
通过视频video_id,获取视频历史趋势快照,最多支持过去180天。 注:这个主要是EchoTik采集收录到的趋势, 如需更多完整互动趋势数据,可以使用实时视频互动趋势接口(最近14天互动快照)。
GET
/
v1
/
tiktok
/
video
/
trends
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/trends/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/trends/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"dt": "2025-10-14",
"total_comments_cnt": 0,
"total_digg_cnt": 24,
"total_favorites_cnt": 5,
"total_shares_cnt": 2,
"total_video_sale_cnt": "1.00",
"total_video_sale_gmv_amt": "7.99",
"total_views_cnt": 3122,
"video_id": "7560175324038728973"
}
],
"requestId": "8a7b66ec-eb5c-447f-8f0e-4c23c6a98335"
}{
"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 助手生成接口调用代码。
授权
查询参数
视频唯一 ID。
时间范围筛选,格式为 yyyy-MM-dd。
时间范围筛选,格式为 yyyy-MM-dd。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。

