cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/detail/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/detail/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/detail/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/detail/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"create_time": "1657100315",
"created_by_ai": "false",
"data_size": "1049064",
"duration": 40,
"height": "1024",
"ratio": "720p",
"reflow_cover": "https://p16-sign-va.tiktokcdn.com/obj/tos-useast2a-p-0037-aiso/10ac878b58bc493d95648645d9c6919f_1657100323?x-expires=1667955600&x-signature=4GZyOdFUeeE7VVOpueALfFDjs%2F4%3D",
"region": "",
"sales_flag": 1,
"total_comments_cnt": 939,
"total_digg_1d_cnt": 0,
"total_digg_30d_cnt": 0,
"total_digg_7d_cnt": 0,
"total_digg_cnt": 18200,
"total_favorites_cnt": -99999,
"total_shares_cnt": 1649,
"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": 211100,
"unique_id": "ruangrinndu",
"user_id": "7014352645545116698",
"video_desc": "bulan lahir kalian ada ngga kira kira?",
"video_id": "7117191641181555995",
"width": "576"
}
],
"requestId": "5c39811c-382c-4269-a59a-035b6fcdb1c1"
}{
"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 Content
Video Detail -EchoTik
Retrieve comprehensive analytics data for one or more TikTok videos, including historical performance metrics, associated products, and engagement trend data.
GET
/
v1
/
tiktok
/
video
/
detail
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/detail/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/detail/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/detail/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/detail/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"create_time": "1657100315",
"created_by_ai": "false",
"data_size": "1049064",
"duration": 40,
"height": "1024",
"ratio": "720p",
"reflow_cover": "https://p16-sign-va.tiktokcdn.com/obj/tos-useast2a-p-0037-aiso/10ac878b58bc493d95648645d9c6919f_1657100323?x-expires=1667955600&x-signature=4GZyOdFUeeE7VVOpueALfFDjs%2F4%3D",
"region": "",
"sales_flag": 1,
"total_comments_cnt": 939,
"total_digg_1d_cnt": 0,
"total_digg_30d_cnt": 0,
"total_digg_7d_cnt": 0,
"total_digg_cnt": 18200,
"total_favorites_cnt": -99999,
"total_shares_cnt": 1649,
"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": 211100,
"unique_id": "ruangrinndu",
"user_id": "7014352645545116698",
"video_desc": "bulan lahir kalian ada ngga kira kira?",
"video_id": "7117191641181555995",
"width": "576"
}
],
"requestId": "5c39811c-382c-4269-a59a-035b6fcdb1c1"
}{
"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 creditper request
Copy for AI
🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
Authorizations
Query Parameters
Accept batch input of video_id, separated by English commas, up to a maximum of 10

