Deezer

Get Deezer chart

Get a Deezer chart of tracks, albums, artists, playlists or podcasts, with a country for the tracks chart.

GET/v1/deezer/charts
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
4
typestringquery

Which chart. Default: `tracks`.

one of: tracks, albums, artists, playlists, podcasts

genreIdstringquery

Genre id from the genres list; `0` (default) is all genres.

pattern: ^(0|[1-9]\d{0,5})$

countrystringquery

Two-letter country code for the tracks chart, for example `BR`. Only with `type=tracks` and all genres; the other charts follow Deezer's default region.

pattern: ^[A-Z]{2}$

limitintegerquery

Items per page, 1 to 300. Default: 100.

≥ 1 · ≤ 300

Response fields
113

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

datatype
string

Which chart this is.

one of: tracks, albums, artists, playlists, podcasts

datagenreId
integer

The genre the chart covers; 0 is all genres.

datacountry
stringnullable

Country of the tracks chart; null for the charts that follow Deezer's default region.

Chart when `type` is `tracks`; otherwise null. Rows in a country chart carry no preview link or expiry, popularity rank, playable flag, short title, version, track number or disc number, so those fields are null.

datatracks[]id
integer

Track id.

datatracks[]title
string

Track title, version included.

datatracks[]titleShort
stringnullable

Track title without the version.

datatracks[]version
stringnullable

Version label such as `(Radio Edit)`; null for most tracks.

datatracks[]isrc
stringnullable

International Standard Recording Code.

datatracks[]url
stringnullable

Track page URL.

datatracks[]durationMs
integernullable

Duration in milliseconds.

datatracks[]trackNumber
integernullable

Position on the disc.

datatracks[]discNumber
integernullable

Disc number.

datatracks[]rank
integernullable

Deezer's popularity score for the track.

datatracks[]explicit
booleannullable

Whether the lyrics are marked explicit.

datatracks[]available
booleannullable

Whether Deezer can play the track in its catalogue.

datatracks[]previewUrl
stringnullable

A 30 second audio preview. The link is signed and stops working about 15 minutes after the response.

datatracks[]previewExpiresAt
stringnullable

When the preview link stops working (ISO-8601, UTC).

datatracks[]addedAt
stringnullable

When the track was added to the playlist; null outside playlists (ISO-8601, UTC).

The main artist.

datatracks[]artistid
integer

Artist id.

datatracks[]artistname
string

Artist name.

datatracks[]artisturl
stringnullable

Artist page URL.

Picture URLs in four sizes.

datatracks[]artistimagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

datatracks[]artistimagessmall
stringnullable

Small image URL (about 56 px).

datatracks[]artistimagesmedium
stringnullable

Medium image URL (about 250 px).

datatracks[]artistimagesbig
stringnullable

Large image URL (about 500 px).

datatracks[]artistimagesxl
stringnullable

Extra-large image URL (about 1000 px).

The album.

datatracks[]albumid
integer

Album id.

datatracks[]albumtitle
string

Album title.

datatracks[]albumurl
stringnullable

Album page URL.

Picture URLs in four sizes.

datatracks[]albumimagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

datatracks[]albumimagessmall
stringnullable

Small image URL (about 56 px).

datatracks[]albumimagesmedium
stringnullable

Medium image URL (about 250 px).

datatracks[]albumimagesbig
stringnullable

Large image URL (about 500 px).

datatracks[]albumimagesxl
stringnullable

Extra-large image URL (about 1000 px).

Chart when `type` is `albums`; otherwise null.

dataalbums[]id
integer

Album id.

dataalbums[]title
string

Album title.

dataalbums[]url
stringnullable

Album page URL.

Picture URLs in four sizes.

dataalbums[]imagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

dataalbums[]imagessmall
stringnullable

Small image URL (about 56 px).

dataalbums[]imagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbums[]imagesbig
stringnullable

Large image URL (about 500 px).

dataalbums[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataalbums[]recordType
stringnullable

Release type.

one of: album, ep, single, compilation, null

dataalbums[]releasedAt
stringnullable

Release date. Deezer's original release date when it gives one, otherwise its release date. (YYYY-MM-DD).

dataalbums[]trackCount
integernullable

Number of tracks.

dataalbums[]fanCount
integernullable

Number of fans; null when the record does not carry one.

dataalbums[]explicit
booleannullable

Whether the album is marked explicit.

The main artist.

dataalbums[]artistid
integer

Artist id.

dataalbums[]artistname
string

Artist name.

dataalbums[]artisturl
stringnullable

Artist page URL.

Picture URLs in four sizes.

dataalbums[]artistimagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

dataalbums[]artistimagessmall
stringnullable

Small image URL (about 56 px).

dataalbums[]artistimagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbums[]artistimagesbig
stringnullable

Large image URL (about 500 px).

dataalbums[]artistimagesxl
stringnullable

Extra-large image URL (about 1000 px).

Chart when `type` is `artists`; otherwise null.

dataartists[]id
integer

Artist id.

dataartists[]name
string

Artist name.

dataartists[]url
stringnullable

Artist page URL.

Picture URLs in four sizes.

dataartists[]imagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

dataartists[]imagessmall
stringnullable

Small image URL (about 56 px).

dataartists[]imagesmedium
stringnullable

Medium image URL (about 250 px).

dataartists[]imagesbig
stringnullable

Large image URL (about 500 px).

dataartists[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataartists[]fanCount
integernullable

Number of fans; null when the record does not carry one.

Chart when `type` is `playlists`; otherwise null.

dataplaylists[]id
integer

Playlist id.

dataplaylists[]title
string

Playlist title.

dataplaylists[]url
stringnullable

Playlist page URL.

Picture URLs in four sizes.

dataplaylists[]imagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

dataplaylists[]imagessmall
stringnullable

Small image URL (about 56 px).

dataplaylists[]imagesmedium
stringnullable

Medium image URL (about 250 px).

dataplaylists[]imagesbig
stringnullable

Large image URL (about 500 px).

dataplaylists[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataplaylists[]trackCount
integernullable

Number of tracks.

dataplaylists[]fanCount
integernullable

Number of fans; null when the record does not carry one.

dataplaylists[]durationMs
integernullable

Total duration in milliseconds.

dataplaylists[]description
stringnullable

Description.

dataplaylists[]isPublic
booleannullable

Whether the playlist is public.

The account that made the playlist.

dataplaylists[]creatorid
integer

Account id of the creator.

dataplaylists[]creatorname
stringnullable

Display name of the creator.

Chart when `type` is `podcasts`; otherwise null.

datapodcasts[]id
integer

Show id.

datapodcasts[]title
string

Show title.

datapodcasts[]url
stringnullable

Show page URL.

Picture URLs in four sizes.

datapodcasts[]imagesid
stringnullable

Image identifier; every size URL is built from it. Null when the item has no picture of its own.

datapodcasts[]imagessmall
stringnullable

Small image URL (about 56 px).

datapodcasts[]imagesmedium
stringnullable

Medium image URL (about 250 px).

datapodcasts[]imagesbig
stringnullable

Large image URL (about 500 px).

datapodcasts[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

datapodcasts[]description
stringnullable

Description.

datapodcasts[]fanCount
integernullable

Number of fans; null when the record does not carry one.

datapodcasts[]available
booleannullable

Whether the show is available.

datawindowLimited
boolean

Whether the chart window was smaller than `limit`. The country tracks chart holds at most 100 rows.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/deezer/charts?type=tracks" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Deezer chart.