cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/trends/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/trends/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"dt": "2025-10-14",
"total_comments_cnt": 0,
"total_digg_cnt": 24,
"total_favorites_cnt": 5,
"total_shares_cnt": 2,
"total_video_sale_cnt": "1.00",
"total_video_sale_gmv_amt": "7.99",
"total_views_cnt": 3122,
"video_id": "7560175324038728973"
}
],
"requestId": "8a7b66ec-eb5c-447f-8f0e-4c23c6a98335"
}{
"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 Trends -EchoTik
Retrieve historical trend snapshots for a TikTok video, showing view count growth, like trends, and engagement rate changes over time.
GET
/
v1
/
tiktok
/
video
/
trends
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/video/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/video/trends/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/trends/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"dt": "2025-10-14",
"total_comments_cnt": 0,
"total_digg_cnt": 24,
"total_favorites_cnt": 5,
"total_shares_cnt": 2,
"total_video_sale_cnt": "1.00",
"total_video_sale_gmv_amt": "7.99",
"total_views_cnt": 3122,
"video_id": "7560175324038728973"
}
],
"requestId": "8a7b66ec-eb5c-447f-8f0e-4c23c6a98335"
}{
"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
Video unique ID
yyyy-MM-dd format, time range filter
yyyy-MM-dd format, time range filter
Page numbers, starting from 1, maximum 100000
The maximum number of pages is 10.

