cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/live-cover/36/7321509771910417194.jpeg",
"create_time": 1704672004,
"duration": 18009,
"finish_time": 1704690013,
"nick_name": "POP MART US SHOP",
"region": "US",
"room_id": "7321509771910417194",
"title": "NEW FREEBIES!!!",
"total_comments_cnt": 0,
"total_digg_cnt": 0,
"total_followers_cnt": 6,
"total_joins_cnt": 7506,
"total_product_cnt": 97,
"total_sale_cnt": 121,
"total_sale_gmv_amt": 2627.73,
"total_views_cnt": 9335,
"user_id": "7288986759428588590"
}
],
"requestId": "ec8e5830-2766-4199-a054-f5e5b8708b91"
}{
"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
通过user_id获取达人的直播列表信息。
GET
/
v1
/
tiktok
/
influencer
/
livestreams
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/live-cover/36/7321509771910417194.jpeg",
"create_time": 1704672004,
"duration": 18009,
"finish_time": 1704690013,
"nick_name": "POP MART US SHOP",
"region": "US",
"room_id": "7321509771910417194",
"title": "NEW FREEBIES!!!",
"total_comments_cnt": 0,
"total_digg_cnt": 0,
"total_followers_cnt": 6,
"total_joins_cnt": 7506,
"total_product_cnt": 97,
"total_sale_cnt": 121,
"total_sale_gmv_amt": 2627.73,
"total_views_cnt": 9335,
"user_id": "7288986759428588590"
}
],
"requestId": "ec8e5830-2766-4199-a054-f5e5b8708b91"
}{
"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,数字字符串。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。
⌘I

