cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/hashtag/trend/analytics?hashtag_id=7369995007748964394®ion=US&start_date=2026-06-15&end_date=2026-07-05&page_num=1&page_size=10' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/hashtag/trend/analytics',
params={"hashtag_id": "7369995007748964394", "region": "US", "start_date": "2026-06-15", "end_date": "2026-07-05", "page_num": 1, "page_size": 10},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"hashtag_id": "7369995007748964394", "region": "US", "start_date": "2026-06-15", "end_date": "2026-07-05", "page_num": 1, "page_size": 10});
const response = await fetch(`https://api.keyapi.ai/v1/tiktok/hashtag/trend/analytics?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"dt": "2026-06-15",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 28051,
"total_comments_cnt": 8319040,
"total_digg_1d_cnt": 936762,
"total_digg_cnt": 321444886,
"total_favorites_1d_cnt": 191215,
"total_favorites_cnt": 52361129,
"total_shares_1d_cnt": 81044,
"total_shares_cnt": 36227792,
"total_video_1d_cnt": 13522,
"total_video_cnt": 3183143,
"total_views_1d_cnt": 109736642,
"total_views_cnt": 24241138352
},
{
"dt": "2026-06-16",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 116460,
"total_comments_cnt": 8435500,
"total_digg_1d_cnt": 2303339,
"total_digg_cnt": 323748225,
"total_favorites_1d_cnt": 409527,
"total_favorites_cnt": 52770656,
"total_shares_1d_cnt": 209668,
"total_shares_cnt": 36437460,
"total_video_1d_cnt": 96235,
"total_video_cnt": 3279378,
"total_views_1d_cnt": 258969897,
"total_views_cnt": 24500108249
},
{
"dt": "2026-06-17",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 43662,
"total_comments_cnt": 8479162,
"total_digg_1d_cnt": 710384,
"total_digg_cnt": 324458609,
"total_favorites_1d_cnt": 152630,
"total_favorites_cnt": 52923286,
"total_shares_1d_cnt": 74948,
"total_shares_cnt": 36512408,
"total_video_1d_cnt": 30286,
"total_video_cnt": 3309664,
"total_views_1d_cnt": 103601653,
"total_views_cnt": 24603709902
},
{
"dt": "2026-06-18",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 125175,
"total_comments_cnt": 8604337,
"total_digg_1d_cnt": 2291515,
"total_digg_cnt": 326750124,
"total_favorites_1d_cnt": 422305,
"total_favorites_cnt": 53345591,
"total_shares_1d_cnt": 237272,
"total_shares_cnt": 36749680,
"total_video_1d_cnt": 90774,
"total_video_cnt": 3400438,
"total_views_1d_cnt": 255187727,
"total_views_cnt": 24858897629
},
{
"dt": "2026-06-19",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 116950,
"total_comments_cnt": 8721287,
"total_digg_1d_cnt": 2901953,
"total_digg_cnt": 329652077,
"total_favorites_1d_cnt": 570581,
"total_favorites_cnt": 53916172,
"total_shares_1d_cnt": 265196,
"total_shares_cnt": 37014876,
"total_video_1d_cnt": 80705,
"total_video_cnt": 3481143,
"total_views_1d_cnt": 340243124,
"total_views_cnt": 25199140753
},
{
"dt": "2026-06-20",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 99311,
"total_comments_cnt": 8820598,
"total_digg_1d_cnt": 1644802,
"total_digg_cnt": 331296879,
"total_favorites_1d_cnt": 390538,
"total_favorites_cnt": 54306710,
"total_shares_1d_cnt": 211304,
"total_shares_cnt": 37226180,
"total_video_1d_cnt": 71968,
"total_video_cnt": 3553111,
"total_views_1d_cnt": 238195683,
"total_views_cnt": 25437336436
},
{
"dt": "2026-06-21",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 74700,
"total_comments_cnt": 8895298,
"total_digg_1d_cnt": 2310275,
"total_digg_cnt": 333607154,
"total_favorites_1d_cnt": 425962,
"total_favorites_cnt": 54732672,
"total_shares_1d_cnt": 233876,
"total_shares_cnt": 37460056,
"total_video_1d_cnt": 50288,
"total_video_cnt": 3603399,
"total_views_1d_cnt": 275820924,
"total_views_cnt": 25713157360
},
{
"dt": "2026-06-22",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 167311,
"total_comments_cnt": 9062609,
"total_digg_1d_cnt": 3593760,
"total_digg_cnt": 337200914,
"total_favorites_1d_cnt": 688001,
"total_favorites_cnt": 55420673,
"total_shares_1d_cnt": 359540,
"total_shares_cnt": 37819596,
"total_video_1d_cnt": 114487,
"total_video_cnt": 3717886,
"total_views_1d_cnt": 417803049,
"total_views_cnt": 26130960409
},
{
"dt": "2026-06-23",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 41528,
"total_comments_cnt": 9104137,
"total_digg_1d_cnt": 1200587,
"total_digg_cnt": 338401501,
"total_favorites_1d_cnt": 261919,
"total_favorites_cnt": 55682592,
"total_shares_1d_cnt": 144552,
"total_shares_cnt": 37964148,
"total_video_1d_cnt": 19468,
"total_video_cnt": 3737354,
"total_views_1d_cnt": 188315526,
"total_views_cnt": 26319275935
},
{
"dt": "2026-06-24",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 201237,
"total_comments_cnt": 9305374,
"total_digg_1d_cnt": 4204715,
"total_digg_cnt": 342606216,
"total_favorites_1d_cnt": 799537,
"total_favorites_cnt": 56482129,
"total_shares_1d_cnt": 441592,
"total_shares_cnt": 38405740,
"total_video_1d_cnt": 141420,
"total_video_cnt": 3878774,
"total_views_1d_cnt": 441922136,
"total_views_cnt": 26761198071
}
],
"requestId": "393e69bc-5d20-490d-9cac-83b3e1e7d795"
}{
"code": 400,
"data": null,
"message": "Missing required parameter"
}{
"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 趋势洞察
hashtag趋势(快照)
这是 hashtag 历史趋势快照接口,按 hashtag_id + region 返回最多 180 天的时间序列。返回是评论、点赞、收藏、分享、视频数、播放量等维度的日级增量快照,适合看一个标签是持续发酵还是已经过峰值。
接口用途推荐
- 适合做标签生命周期分析
- 判断某个话题是否值得继续跟进、复盘某个热点从起势到衰退的过程,也适合给内容排期做趋势判断
注意事项
- 趋势/快照类接口最多支持近 180 天历史
- 数据出自EchoTik,所以该数据均属于离线数据,会有延迟,如果接口返回没有数据证明EchoTik并未收录该数据
GET
/
v1
/
tiktok
/
hashtag
/
trend
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/hashtag/trend/analytics?hashtag_id=7369995007748964394®ion=US&start_date=2026-06-15&end_date=2026-07-05&page_num=1&page_size=10' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/hashtag/trend/analytics',
params={"hashtag_id": "7369995007748964394", "region": "US", "start_date": "2026-06-15", "end_date": "2026-07-05", "page_num": 1, "page_size": 10},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"hashtag_id": "7369995007748964394", "region": "US", "start_date": "2026-06-15", "end_date": "2026-07-05", "page_num": 1, "page_size": 10});
const response = await fetch(`https://api.keyapi.ai/v1/tiktok/hashtag/trend/analytics?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"dt": "2026-06-15",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 28051,
"total_comments_cnt": 8319040,
"total_digg_1d_cnt": 936762,
"total_digg_cnt": 321444886,
"total_favorites_1d_cnt": 191215,
"total_favorites_cnt": 52361129,
"total_shares_1d_cnt": 81044,
"total_shares_cnt": 36227792,
"total_video_1d_cnt": 13522,
"total_video_cnt": 3183143,
"total_views_1d_cnt": 109736642,
"total_views_cnt": 24241138352
},
{
"dt": "2026-06-16",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 116460,
"total_comments_cnt": 8435500,
"total_digg_1d_cnt": 2303339,
"total_digg_cnt": 323748225,
"total_favorites_1d_cnt": 409527,
"total_favorites_cnt": 52770656,
"total_shares_1d_cnt": 209668,
"total_shares_cnt": 36437460,
"total_video_1d_cnt": 96235,
"total_video_cnt": 3279378,
"total_views_1d_cnt": 258969897,
"total_views_cnt": 24500108249
},
{
"dt": "2026-06-17",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 43662,
"total_comments_cnt": 8479162,
"total_digg_1d_cnt": 710384,
"total_digg_cnt": 324458609,
"total_favorites_1d_cnt": 152630,
"total_favorites_cnt": 52923286,
"total_shares_1d_cnt": 74948,
"total_shares_cnt": 36512408,
"total_video_1d_cnt": 30286,
"total_video_cnt": 3309664,
"total_views_1d_cnt": 103601653,
"total_views_cnt": 24603709902
},
{
"dt": "2026-06-18",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 125175,
"total_comments_cnt": 8604337,
"total_digg_1d_cnt": 2291515,
"total_digg_cnt": 326750124,
"total_favorites_1d_cnt": 422305,
"total_favorites_cnt": 53345591,
"total_shares_1d_cnt": 237272,
"total_shares_cnt": 36749680,
"total_video_1d_cnt": 90774,
"total_video_cnt": 3400438,
"total_views_1d_cnt": 255187727,
"total_views_cnt": 24858897629
},
{
"dt": "2026-06-19",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 116950,
"total_comments_cnt": 8721287,
"total_digg_1d_cnt": 2901953,
"total_digg_cnt": 329652077,
"total_favorites_1d_cnt": 570581,
"total_favorites_cnt": 53916172,
"total_shares_1d_cnt": 265196,
"total_shares_cnt": 37014876,
"total_video_1d_cnt": 80705,
"total_video_cnt": 3481143,
"total_views_1d_cnt": 340243124,
"total_views_cnt": 25199140753
},
{
"dt": "2026-06-20",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 99311,
"total_comments_cnt": 8820598,
"total_digg_1d_cnt": 1644802,
"total_digg_cnt": 331296879,
"total_favorites_1d_cnt": 390538,
"total_favorites_cnt": 54306710,
"total_shares_1d_cnt": 211304,
"total_shares_cnt": 37226180,
"total_video_1d_cnt": 71968,
"total_video_cnt": 3553111,
"total_views_1d_cnt": 238195683,
"total_views_cnt": 25437336436
},
{
"dt": "2026-06-21",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 74700,
"total_comments_cnt": 8895298,
"total_digg_1d_cnt": 2310275,
"total_digg_cnt": 333607154,
"total_favorites_1d_cnt": 425962,
"total_favorites_cnt": 54732672,
"total_shares_1d_cnt": 233876,
"total_shares_cnt": 37460056,
"total_video_1d_cnt": 50288,
"total_video_cnt": 3603399,
"total_views_1d_cnt": 275820924,
"total_views_cnt": 25713157360
},
{
"dt": "2026-06-22",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 167311,
"total_comments_cnt": 9062609,
"total_digg_1d_cnt": 3593760,
"total_digg_cnt": 337200914,
"total_favorites_1d_cnt": 688001,
"total_favorites_cnt": 55420673,
"total_shares_1d_cnt": 359540,
"total_shares_cnt": 37819596,
"total_video_1d_cnt": 114487,
"total_video_cnt": 3717886,
"total_views_1d_cnt": 417803049,
"total_views_cnt": 26130960409
},
{
"dt": "2026-06-23",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 41528,
"total_comments_cnt": 9104137,
"total_digg_1d_cnt": 1200587,
"total_digg_cnt": 338401501,
"total_favorites_1d_cnt": 261919,
"total_favorites_cnt": 55682592,
"total_shares_1d_cnt": 144552,
"total_shares_cnt": 37964148,
"total_video_1d_cnt": 19468,
"total_video_cnt": 3737354,
"total_views_1d_cnt": 188315526,
"total_views_cnt": 26319275935
},
{
"dt": "2026-06-24",
"region": "US",
"tag_id": "7369995007748964394",
"total_comments_1d_cnt": 201237,
"total_comments_cnt": 9305374,
"total_digg_1d_cnt": 4204715,
"total_digg_cnt": 342606216,
"total_favorites_1d_cnt": 799537,
"total_favorites_cnt": 56482129,
"total_shares_1d_cnt": 441592,
"total_shares_cnt": 38405740,
"total_video_1d_cnt": 141420,
"total_video_cnt": 3878774,
"total_views_1d_cnt": 441922136,
"total_views_cnt": 26761198071
}
],
"requestId": "393e69bc-5d20-490d-9cac-83b3e1e7d795"
}{
"code": 400,
"data": null,
"message": "Missing required parameter"
}{
"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 助手生成接口调用代码。
授权
查询参数
示例:
"7369995007748964394"
示例:
"US"
yyyy-MM-dd格式,时间范围筛选
示例:
"2026-06-15"
yyyy-MM-dd格式,时间范围筛选
示例:
"2026-07-05"
示例:
1
示例:
10
⌘I

