Album Platform Stats
Time-series of a platform-specific stat for an album (currently platform=spotify, stat=followers returns Spotify popularity). Pass latest=true to bypass the date window and receive the most recent point.
Path Parameters
- enumplatformconst:spotifyrequired
Streaming platform whose stat is requested. Currently only
spotifyis supported.values- spotify
- enumstatsconst:followersrequired
Platform stat to retrieve. Currently only
followersis supported (returns Spotify popularity).values- followers
- Type: integeridmin:0max:2147483647required
Chartmetric album ID.
Query Parameters
- Type: string Format: datesince
Start of the date window in ISO format (e.g. '2025-11-01'). Defaults to 180 days ago.
- Type: string Format: dateuntil
End of the date window in ISO format (e.g. '2025-11-15'). Defaults to today.
- Type: booleanlatest
If true, returns only the most recent data point and ignores the
since/untilwindow.
Responses
- application/json
Request Example for get/api/album/{id}/{platform}/{stats}
curl https://api.chartmetric.com/api/album/0/spotify/followers \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": [
{
"value": 97,
"timestp": "2020-09-20T07:00:00.000Z"
},
{
"value": 97,
"timestp": "2020-09-21T07:00:00.000Z"
},
{
"value": 97,
"timestp": "2020-09-22T07:00:00.000Z"
},
{
"value": 97,
"timestp": "2020-09-23T07:00:00.000Z"
}
]
}