cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/videos/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/influencer/videos/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/influencer/videos/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"create_time": "1736000679",
"created_by_ai": "false",
"data_size": "970184",
"duration": 16,
"height": "1024",
"ratio": "540p",
"reflow_cover": "https://echosell-images.tos-ap-southeast-1.volces.com/video-cover/805/7456066022957665553.jpeg",
"region": "MY",
"sales_flag": 1,
"total_comments_cnt": 0,
"total_digg_1d_cnt": 0,
"total_digg_30d_cnt": 0,
"total_digg_7d_cnt": 0,
"total_digg_cnt": 8,
"total_favorites_cnt": 0,
"total_shares_cnt": 0,
"total_video_sale_cnt": 0,
"total_video_sale_gmv_amt": 0,
"total_views_1d_cnt": 0,
"total_views_30d_cnt": 0,
"total_views_7d_cnt": 0,
"total_views_cnt": 176,
"unique_id": "mrmnaznrm_",
"user_id": "7122344901288068123",
"video_desc": "memang best weh ! skin nampak lebih fresh bila pakai 🤪 #faceglow #facespray #facewhitening #faceglowspray #glowingspray #whiteningspray ",
"video_id": "7456066022957665553",
"width": "576"
}
],
"requestId": "3afd1984-51a6-4b07-9c2a-970bf84fc446"
}{
"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 或unique_id获取达人的视频列表。
GET
/
v1
/
tiktok
/
influencer
/
videos
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/videos/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/influencer/videos/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/influencer/videos/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"create_time": "1736000679",
"created_by_ai": "false",
"data_size": "970184",
"duration": 16,
"height": "1024",
"ratio": "540p",
"reflow_cover": "https://echosell-images.tos-ap-southeast-1.volces.com/video-cover/805/7456066022957665553.jpeg",
"region": "MY",
"sales_flag": 1,
"total_comments_cnt": 0,
"total_digg_1d_cnt": 0,
"total_digg_30d_cnt": 0,
"total_digg_7d_cnt": 0,
"total_digg_cnt": 8,
"total_favorites_cnt": 0,
"total_shares_cnt": 0,
"total_video_sale_cnt": 0,
"total_video_sale_gmv_amt": 0,
"total_views_1d_cnt": 0,
"total_views_30d_cnt": 0,
"total_views_7d_cnt": 0,
"total_views_cnt": 176,
"unique_id": "mrmnaznrm_",
"user_id": "7122344901288068123",
"video_desc": "memang best weh ! skin nampak lebih fresh bila pakai 🤪 #faceglow #facespray #facewhitening #faceglowspray #glowingspray #whiteningspray ",
"video_id": "7456066022957665553",
"width": "576"
}
],
"requestId": "3afd1984-51a6-4b07-9c2a-970bf84fc446"
}{
"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,数字字符串。
达人 TikTok handle,不包含 @。
视频列表排序字段,1=total_views_cnt,2=total_video_sale_cnt,3=total_video_sale_gmv_amt,4=create_time。
排序方向,0=升序,1=降序。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。
⌘I

