Sign in to enable Try it out and enable params input fields.
Songs Statistics API
Get songs historical statistics (e.g., TikTok video count for last 90 days, Spotify streams, TikTok video views etc.)
Path Parameters
The unique identifier for a song from either TikTok or Spotify platform
Possible values: Any valid TikTok sound ID (e.g., 7521377472742771478) or Spotify track ID (e.g., 4CgS09PVVpogWXX4VyDYJ3)
The platform where the song ID originates from
Available options
Spotify-streams, tiktok-video-views (summed daily views of videos using the song), or tiktok-video-counts (nr. of videos created with the song)
Available options
Query Parameters
The start date for filtering the time series data.
Possible values: Date in format YYYY-MM-DD or YYYYMMDD (e.g., 2024-01-01 or 20240101)
The end date for filtering the time series data
Possible values: Date in format YYYY-MM-DD or YYYYMMDD (e.g., 2024-12-31 or 20241231)
Limit the data to the latest N days from today
Possible values: Any positive integer (e.g., 7, 30, 90)
The mode for returning video count data
Please note that the `tiktok-video-views` metric doesn't have a total mode.
Available options
Responses
Try It Out
Please fill the required fields: platform_id, platform, metric, mode