---
title: "Get iTunes Album Charts"
method: GET
path: "/api/charts/itunes/albums"
tags: ["Charts"]
---

# Get iTunes Album Charts

`GET /api/charts/itunes/albums`

## Request

- Base URL: `https://api.chartmetric.com`
- URL: `https://api.chartmetric.com/api/charts/itunes/albums`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/docs/api/charts/itunes/albums/get.ts> (a function with typed inputs; its response is checked against the schema)

Return albums charting on iTunes for a given date, filterable by country and genre. Entries carry album metadata + chart position + `rankStats`.

## Query parameters

- `genre` string: Chart genre filter. Defaults to the un-segmented 'All Genres' chart when omitted.
- `country_code` string, required: ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
- `date` string, date-time: Date for the time-slice (YYYY-MM-DD). Required unless `latest=true`.
- `offset` integer: Number of items to skip from the start of the result set; pair with `limit` to paginate.
- `latest` boolean: If true, use the most recently available date and ignore `date`.

## Response `200`

Success

- object
  - `obj` object
    - `length` integer, required: Number of chart rows in `data`.
    - `data` object[], required: List of album chart rows.
      - `rank` integer, nullable: Current chart position (1 = top).
      - `pre_rank` integer, nullable: Position on the previous chart period.
      - `peak_rank` integer, nullable: Best (lowest-numbered) rank reached on this chart.
      - `peak_date` string, date-time, nullable: Date when `peak_rank` was achieved.
      - `rank_1d_change` integer, nullable: Rank change vs 1 day ago (negative = moved up).
      - `rank_7d_change` integer, nullable: Rank change vs 7 days ago (negative = moved up).
      - `chart_name` string, nullable: Human-readable chart name.
      - `chart_type` string, nullable: Chart variant (e.g. `regional`, `top`, `viral`).
      - `code2` string, nullable: Chart country code (ISO 3166-1 alpha-2, or platform-specific value).
      - `timestp` string, date-time, nullable: Timestamp of the chart row.
      - `duration` string, nullable: Chart duration window (e.g. `daily`, `weekly`, `monthly`).
      - `id` integer, nullable: iTunes chart row ID (legacy).
      - `name` string, nullable: Album name.
      - `image_url` string, nullable: Album cover image URL.
      - `upc` string, nullable: Universal Product Code identifying the release.
      - `release_date` string, date-time, nullable: Album release date.
      - `label` string, nullable: Record label that released the album.
      - `genre` string, nullable: Album genre on iTunes.
      - `added_at` string, date-time, nullable: Timestamp the chart row was inserted.
      - `country` string, nullable: Full country name corresponding to `code2`.
      - `itunes` integer, nullable: Internal iTunes album row ID.
      - `itunes_album_id` union: iTunes album ID(s).
        - string
        - number, float
        - unknown[]
          - unknown
      - `cm_album` integer, nullable: Chartmetric album ID.
      - `cm_artist` integer[], nullable: Chartmetric artist IDs for the album artists.
      - `artist_names` string[], nullable: Album artist names.
      - `itunes_artist_ids` string[], nullable: iTunes artist IDs.
      - `itunes_artist_names` string[], nullable: iTunes artist names.
      - `storefronts` string[], nullable: iTunes storefront codes (ISO 3166-1 alpha-2 lowercased).
      - `velocity` number, float, nullable: Rank-velocity signal (positive = climbing).
      - `time_on_chart` union: Length of time on the chart (legacy duration string or integer count of periods).
        - string
        - number, float
      - `rankStats` object[], nullable: Per-row historical rank samples.
        - `timestp` string, date-time, nullable: Timestamp at which the rank was recorded.
        - `rank` integer, nullable: Rank at `timestp` (1 = top).

---

[API](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api.md) - [All operations](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/revisions/94dac96833a3?raw)
