List Chart Dates for Streaming Type
Return the dates with available chart data for the given streamingType. Source varies by platform: S3, Snowflake, ClickHouse, or RDS (see ChartFilterOptionsService.getChartDatesDataSource). Returns an array of { timestp } objects wrapped by handleDBResponse(res, "obj").
- Type: string enumstreaming
Type requiredStreaming type whose available chart dates are returned (e.g.
spotify_track,spotify_artist,youtube,tiktok_top_tracks,melon_daily).values- acr
_daily _artist - acr
_weekly _artist - acr
_daily _track - acr
_weekly _track - amazon
- Type: integerfrom
Days Ago requiredLook-back window in days; e.g.
fromDaysAgo=9999returns all available chart dates. - Type: string enumchart
Entity Chart entity (
trackoralbum). Required only for chart types that vary by entity.values- track
- album
- artist
- video
- Type: stringchart
Type Chart type within the streaming platform. Required only for some charts; see each chart endpoint for the valid values.
- Type: string enumduration
Chart duration (e.g.
daily,weekly,monthly,all_time). Required only for some charts.values- daily
- weekly
- monthly
- semi
-yearly - yearly
- all
_time
- Type: stringcountry
Country code (ISO 3166-1 alpha-2). Required only for some charts.
- Type: stringgenre
Chart genre. Required only for some charts.
- application/json
curl 'https://api.chartmetric.com/api/charts/acr_daily_artist/dates?fromDaysAgo=1' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": [
{
"timestp": "2025-04-23T07:00:00.000Z"
},
{
"timestp": "2025-04-13T07:00:00.000Z"
},
{
"timestp": "2025-04-06T07:00:00.000Z"
},
{
"timestp": "2025-03-30T07:00:00.000Z"
}
]
}