curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"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"
}Retrieve historical trend snapshots for a TikTok video, showing view count growth, like trends, and engagement rate changes over time.
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/video/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"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"
}π€ 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.
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.