Get Playlist Stats Over Time
Time series of playlist audience stats (Spotify followers / Deezer fans / YouTube views / SoundCloud likes) over a date range.
Path Parameters
- idrequired
Chartmetric playlist ID (not the platform-native ID). Numeric for
spotify/deezer; string foryoutube/soundcloud. - Type: string enumplatformrequired
Streaming platform. One of
spotify,deezer,youtube,soundcloud. Stat type varies by platform: Spotify followers, Deezer fans, YouTube views, SoundCloud likes.values- spotify
- deezer
- youtube
- soundcloud
Query Parameters
- Type: string Format: datesince
Inclusive start of the date range in
YYYY-MM-DDformat. Defaults to 180 days before today. - Type: string Format: dateuntil
Inclusive end of the date range in
YYYY-MM-DDformat. Defaults to today.
Responses
- application/json
Request Example for get/api/playlist/{platform}/{id}/stats
curl https://api.chartmetric.com/api/playlist/spotify/null/stats \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": [
{
"id": 93878425,
"value": 6527755,
"timestp": "Thu Oct 10 2019",
"daily_diff": 0,
"interpolated": false
}
]
}