Deezer

Get Deezer artist mix

Get a Deezer mix of tracks by an artist and similar artists.

GET/v1/deezer/artists/{artistId}/mix
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
artistIdstringrequiredpath

Deezer artist id, for example `27`.

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

Response fields
42

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

A mix of tracks by the artist and similar artists. About 25 tracks; the mix changes from one call to the next.

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).

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/artists/27/mix" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Artist mix.