Get Apple Music Track Charts
Return tracks charting on Apple Music for a given date. Supports type = top / daily / city (the last requires city_id). Entries combine chart position + historical rankStats with the track basic info. The top S3-backed chart path applies pagination after the fetch.
- Type: stringgenre
Apple Music genre filter; restricts
typeto genre-specific chart types when set. - Type: integercity
_id min:0max:2147483647Chartmetric city ID. Required when
type=cityto scope the chart to a city. - country
_code ISO 3166-1 alpha-2 country code (uppercase, e.g. 'US') or the literal 'GLOBAL' for cross-country charts.
- Type: stringmin length:2max length:2
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
- Type: string Format: date-timedate
Date for the time-slice (YYYY-MM-DD). Required unless
latest=true. - typerequired
Apple Music chart type. When
genreis set, must be a genre-supported type (e.g.top); otherwise coverstop/daily/city.- enumconst:top
Apple Music chart type. When
genreis set, must be a genre-supported type (e.g.top); otherwise coverstop/daily/city.values- top
- Type: integeroffsetmin:0
Number of items to skip from the start of the result set; pair with
limitto paginate. - Type: booleanlatest
If true, use the most recently available date and ignore
date.
- application/json
curl 'https://api.chartmetric.com/api/charts/applemusic/tracks?type=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": {
"length": 1,
"data": [
{
"id": 15678739,
"name": "Angels",
"isrc": "USRC11700153",
"image_url": "https://i.scdn.co/image/5026fddc",
"cm_track": 15678739,
"itunes": 12345,
"rank": 5,
"pre_rank": 7,
"peak_rank": 1,
"peak_date": "2024-02-01T00:00:00.000Z",
"added_at": "2024-05-01T00:00:00.000Z",
"chart_type": "top",
"chart_name": "Top Tracks",
"code2": "US",
"country": "United States",
"velocity": 0.1,
"time_on_chart": "10 days",
"rankStats": [
{
"rank": 5,
"timestp": "2024-05-01T00:00:00.000Z"
}
],
"artist_names": [
"Khalid"
],
"cm_artist": [
209693
],
"itunes_artist_ids": [
"479756766"
],
"track_genre": "pop"
}
]
}
}