Get iTunes Track Charts

Return tracks charting on iTunes for a given date, filterable by country and genre. Shape matches the Apple Music track chart — legacy per-platform SQL + basic-info join.

Query Parameters
  • genre
    Type: string

    iTunes track-chart genre filter (e.g. Pop, Rock).

  • country_code
    Type: string
    min length:  
    2
    max length:  
    2
    required

    ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').

  • date
    Type: string Format: date-time

    Date for the time-slice (YYYY-MM-DD). Required unless latest=true.

  • offset
    Type: integer
    min:  
    0

    Number of items to skip from the start of the result set; pair with limit to paginate.

  • latest
    Type: boolean

    If true, use the most recently available date and ignore date.

Responses
  • application/json
Request Example for get/api/charts/itunes/tracks
curl 'https://api.chartmetric.com/api/charts/itunes/tracks?country_code=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "obj": {
    "length": 1,
    "data": [
      {
        "id": 22290726,
        "name": "7 rings",
        "isrc": "USUM71900110",
        "image_url": "https://is5-ssl.mzstatic.com/image/thumb/Music114/v4/7rings.jpeg",
        "cm_track": 22290726,
        "itunes": 1449156176,
        "rank": 4,
        "pre_rank": 6,
        "peak_rank": 1,
        "peak_date": "2019-02-08T08:00:00.000Z",
        "added_at": "2024-05-01T00:00:00.000Z",
        "genre": "Pop",
        "code2": "US",
        "velocity": 0.08,
        "time_on_chart": "200 days",
        "rankStats": [
          {
            "rank": 4,
            "timestp": "2024-05-01T00:00:00.000Z"
          }
        ],
        "artist_names": [
          "Ariana Grande"
        ],
        "cm_artist": [
          3963
        ]
      }
    ]
  }
}