cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/live/trend/analytics?room_id=7655115968440175381&page_num=1&page_size=10' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/live/trend/analytics',
params={"room_id": "7655115968440175381", "page_num": "1", "page_size": "10"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"room_id": "7655115968440175381", "page_num": "1", "page_size": "10"});
const response = await fetch(`https://api.keyapi.ai/v1/tiktok/live/trend/analytics?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"room_id": "7655115968440175381",
"snapshot_time": 1782355500,
"total_enter_count_cnt": 46862,
"total_followers_cnt": 2287429,
"total_followers_incr_cnt": 0,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 1278
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782355800,
"total_enter_count_cnt": 0,
"total_followers_cnt": 0,
"total_followers_incr_cnt": 0,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 0
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782356400,
"total_enter_count_cnt": 51682,
"total_followers_cnt": 2287474,
"total_followers_incr_cnt": 45,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 703
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782358200,
"total_enter_count_cnt": 56623,
"total_followers_cnt": 2287543,
"total_followers_incr_cnt": 69,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 551
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782359100,
"total_enter_count_cnt": 58775,
"total_followers_cnt": 2287544,
"total_followers_incr_cnt": 1,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 1581,
"total_sale_incr_cnt": 168,
"total_user_count_cnt": 586
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782360900,
"total_enter_count_cnt": 65703,
"total_followers_cnt": 2287655,
"total_followers_incr_cnt": 111,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 977
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782361800,
"total_enter_count_cnt": 75022,
"total_followers_cnt": 2287724,
"total_followers_incr_cnt": 69,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 1027
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782362800,
"total_enter_count_cnt": 0,
"total_followers_cnt": 0,
"total_followers_incr_cnt": 0,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 1581,
"total_sale_incr_cnt": 168,
"total_user_count_cnt": 0
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782363600,
"total_enter_count_cnt": 81794,
"total_followers_cnt": 2287839,
"total_followers_incr_cnt": 115,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 685
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782364500,
"total_enter_count_cnt": 84600,
"total_followers_cnt": 2287880,
"total_followers_incr_cnt": 41,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 679
}
],
"requestId": "ea477151-a2cd-455a-a186-c338d6abdb5e"
}{
"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 内容数据
直播趋势列表
这是直播趋势接口,按 room_id 返回直播间采集过程中的快照序列。返回字段包括快照时间、在线人数、总粉丝数、新增粉丝数、总销量、总GMV、新增GMV、新增销量和累计观看人次,重点是直播进行过程中的变化,而不是直播结束后的单一结果。
接口用途推荐
- 适合复盘直播节奏
- 看哪一段时间成交最高
- 判断直播间是靠中前段还是后半段起量、做直播运营优化,也适合研究加热视频或投流是否拉动了在线和成交
注意事项
- 数据出自EchoTik,所以该数据均属于离线数据,会有延迟,如果接口返回没有数据证明EchoTik并未收录该数据
GET
/
v1
/
tiktok
/
live
/
trend
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/live/trend/analytics?room_id=7655115968440175381&page_num=1&page_size=10' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/live/trend/analytics',
params={"room_id": "7655115968440175381", "page_num": "1", "page_size": "10"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"room_id": "7655115968440175381", "page_num": "1", "page_size": "10"});
const response = await fetch(`https://api.keyapi.ai/v1/tiktok/live/trend/analytics?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"room_id": "7655115968440175381",
"snapshot_time": 1782355500,
"total_enter_count_cnt": 46862,
"total_followers_cnt": 2287429,
"total_followers_incr_cnt": 0,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 1278
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782355800,
"total_enter_count_cnt": 0,
"total_followers_cnt": 0,
"total_followers_incr_cnt": 0,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 0
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782356400,
"total_enter_count_cnt": 51682,
"total_followers_cnt": 2287474,
"total_followers_incr_cnt": 45,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 703
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782358200,
"total_enter_count_cnt": 56623,
"total_followers_cnt": 2287543,
"total_followers_incr_cnt": 69,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 551
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782359100,
"total_enter_count_cnt": 58775,
"total_followers_cnt": 2287544,
"total_followers_incr_cnt": 1,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 1581,
"total_sale_incr_cnt": 168,
"total_user_count_cnt": 586
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782360900,
"total_enter_count_cnt": 65703,
"total_followers_cnt": 2287655,
"total_followers_incr_cnt": 111,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 977
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782361800,
"total_enter_count_cnt": 75022,
"total_followers_cnt": 2287724,
"total_followers_incr_cnt": 69,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 1027
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782362800,
"total_enter_count_cnt": 0,
"total_followers_cnt": 0,
"total_followers_incr_cnt": 0,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 1581,
"total_sale_incr_cnt": 168,
"total_user_count_cnt": 0
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782363600,
"total_enter_count_cnt": 81794,
"total_followers_cnt": 2287839,
"total_followers_incr_cnt": 115,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 685
},
{
"room_id": "7655115968440175381",
"snapshot_time": 1782364500,
"total_enter_count_cnt": 84600,
"total_followers_cnt": 2287880,
"total_followers_incr_cnt": 41,
"total_sale_cnt": 16784,
"total_sale_gmv_amt": 158066,
"total_sale_gmv_incr_amt": 0,
"total_sale_incr_cnt": 0,
"total_user_count_cnt": 679
}
],
"requestId": "ea477151-a2cd-455a-a186-c338d6abdb5e"
}{
"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 助手生成接口调用代码。
⌘I

