Get TikTok Video Trends for a Track

​

Return the history of likes, comments, and views for a TikTok video over time. id here is a TikTok video internal ID, not a Chartmetric track ID.

Path Parameters
  • id
    Type: integer
    min:  
    0
    max:  
    2147483647
    required

    TikTok video internal ID (not a Chartmetric track ID). Identifies the specific video to retrieve trends for.

Query Parameters
  • fromDaysAgo
    Type: integer

    Number of days before today at which the trend window starts. Defaults to 28.

Responses
  • application/json
Request Example for get/api/track/{id}/video-trends
curl https://api.chartmetric.com/api/track/0/video-trends \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "obj": [
    {
      "timestp": "2023-05-30T00:00:00.000Z",
      "likes": 72500,
      "comments": 222,
      "views": 411800
    }
  ]
}

Success

logologo
  • Guides