Deezer

Get Deezer album

Get a Deezer album with its label, barcode, copyright lines, credits and every track.

GET/v1/deezer/albums/{albumId}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
albumIdstringrequiredpath

Deezer album id, for example `302127`.

pattern: ^[1-9]\d{0,11}$

languagestringoptionalquery

Two-letter language code for editorial text, such as `fr`. Titles and names are not translated. Default: `en`.

pattern: ^[a-z]{2}$

Response fields
104

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

datarequestedId
stringnullable

The album id asked for. It differs from `album.id` when Deezer has retired the id in favour of a replacement album.

The album when found; otherwise null.

dataalbumid
integer

Album id.

dataalbumtitle
string

Album title.

dataalbumurl
stringnullable

Album page URL.

Picture URLs in four sizes.

dataalbumimagesid
stringnullable

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

dataalbumimagessmall
stringnullable

Small image URL (about 56 px).

dataalbumimagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbumimagesbig
stringnullable

Large image URL (about 500 px).

dataalbumimagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataalbumrecordType
stringnullable

Release type.

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

dataalbumreleasedAt
stringnullable

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

dataalbumtrackCount
integernullable

Number of tracks.

dataalbumfanCount
integernullable

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

dataalbumexplicit
booleannullable

Whether the album is marked explicit.

The main artist.

dataalbumartistid
integer

Artist id.

dataalbumartistname
string

Artist name.

dataalbumartisturl
stringnullable

Artist page URL.

Picture URLs in four sizes.

dataalbumartistimagesid
stringnullable

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

dataalbumartistimagessmall
stringnullable

Small image URL (about 56 px).

dataalbumartistimagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbumartistimagesbig
stringnullable

Large image URL (about 500 px).

dataalbumartistimagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataalbumupc
stringnullable

Universal Product Code (barcode).

dataalbumlabel
stringnullable

Record label.

dataalbumdurationMs
integernullable

Total duration in milliseconds.

dataalbumoriginalReleasedAt
stringnullable

Original release date, when Deezer gives one. (YYYY-MM-DD).

dataalbumphysicalReleasedAt
stringnullable

Physical release date. (YYYY-MM-DD).

Kinds of release Deezer assigns to the album. Null when the album record does not report a subtype; the batch lookup reports the flags.

dataalbumsubtypesstudio
boolean

Studio album.

dataalbumsubtypeslive
boolean

Live album.

dataalbumsubtypescompilation
boolean

Compilation.

dataalbumsubtypeskaraoke
boolean

Karaoke album.

Genres Deezer assigns.

dataalbumgenres[]id
integer

Genre id.

dataalbumgenres[]name
string

Genre name.

dataalbumprimaryGenreId
integernullable

Id of the album's main genre.

Deezer's explicit-content codes.

dataalbumexplicitnesslyrics
integernullable

Deezer's explicit-lyrics code: 0 not explicit, 1 explicit, 2 unknown, and other values on albums (4, 6, 7) that mix tracks.

dataalbumexplicitnesscover
integernullable

Deezer's explicit-cover code: 0 not explicit, 1 explicit.

dataalbumavailable
booleannullable

Whether the album is available.

dataalbumcopyright
stringnullable

Copyright line.

dataalbumphonogramCopyright
stringnullable

Phonogram (sound recording) copyright line.

Every artist credited on the album.

dataalbumartists[]id
integer

Artist id.

dataalbumartists[]name
string

Artist name.

dataalbumartists[]url
stringnullable

Artist page URL.

Picture URLs in four sizes.

dataalbumartists[]imagesid
stringnullable

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

dataalbumartists[]imagessmall
stringnullable

Small image URL (about 56 px).

dataalbumartists[]imagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbumartists[]imagesbig
stringnullable

Large image URL (about 500 px).

dataalbumartists[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataalbumartists[]role
stringnullable

How the artist is credited on the item: `main`, `featured`, or the credit as Deezer words it.

People credited on the album, grouped by role.

dataalbumcredits[]role
string

The credit role as Deezer words it, for example `main_artist`, `composer`, `author` or `mastering engineer`. Roles are free text and spelled inconsistently.

People credited in this role.

dataalbumcredits[]names[]
stringoptional

The album's tracks, in order. A very large album is bounded to 2,000 rows; `tracksComplete` says whether every track is here.

dataalbumtracks[]id
integer

Track id.

dataalbumtracks[]title
string

Track title, version included.

dataalbumtracks[]titleShort
stringnullable

Track title without the version.

dataalbumtracks[]version
stringnullable

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

dataalbumtracks[]isrc
stringnullable

International Standard Recording Code.

dataalbumtracks[]url
stringnullable

Track page URL.

dataalbumtracks[]durationMs
integernullable

Duration in milliseconds.

dataalbumtracks[]trackNumber
integernullable

Position on the disc.

dataalbumtracks[]discNumber
integernullable

Disc number.

dataalbumtracks[]rank
integernullable

Deezer's popularity score for the track.

dataalbumtracks[]explicit
booleannullable

Whether the lyrics are marked explicit.

dataalbumtracks[]available
booleannullable

Whether Deezer can play the track in its catalogue.

dataalbumtracks[]previewUrl
stringnullable

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

dataalbumtracks[]previewExpiresAt
stringnullable

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

dataalbumtracks[]addedAt
stringnullable

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

The main artist.

dataalbumtracks[]artistid
integer

Artist id.

dataalbumtracks[]artistname
string

Artist name.

dataalbumtracks[]artisturl
stringnullable

Artist page URL.

Picture URLs in four sizes.

dataalbumtracks[]artistimagesid
stringnullable

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

dataalbumtracks[]artistimagessmall
stringnullable

Small image URL (about 56 px).

dataalbumtracks[]artistimagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbumtracks[]artistimagesbig
stringnullable

Large image URL (about 500 px).

dataalbumtracks[]artistimagesxl
stringnullable

Extra-large image URL (about 1000 px).

The album.

dataalbumtracks[]albumid
integer

Album id.

dataalbumtracks[]albumtitle
string

Album title.

dataalbumtracks[]albumurl
stringnullable

Album page URL.

Picture URLs in four sizes.

dataalbumtracks[]albumimagesid
stringnullable

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

dataalbumtracks[]albumimagessmall
stringnullable

Small image URL (about 56 px).

dataalbumtracks[]albumimagesmedium
stringnullable

Medium image URL (about 250 px).

dataalbumtracks[]albumimagesbig
stringnullable

Large image URL (about 500 px).

dataalbumtracks[]albumimagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataalbumtracksComplete
boolean

Whether `tracks` holds every track. False when the album has more tracks than the 2,000-row bound, or a page lost 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/albums/302127" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Deezer album.