Deezer

Search Deezer

Search Deezer for tracks, artists, albums, playlists, podcasts, episodes, radio stations and accounts.

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

API key (`sfk_...`)

Parameters
4
querystringrequiredquery

What to search for, such as `daft punk` or `AC/DC`.

min 1 chars · max 200 chars

typestringoptionalquery

What to search. Default: `track`.

one of: track, artist, album, playlist, show, episode, station, user

limitintegeroptionalquery

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

≥ 1 · ≤ 100

cursorstringoptionalquery

Pass `page.nextCursor` from the previous response to get the next page. Keep the other parameters the same.

min 1 chars · max 1000 chars

Response fields
155

Endpoint-specific response payload.

dataquery
string

The query searched for.

datatype
string

What was searched.

one of: track, artist, album, playlist, show, episode, station, user

Matches when `type` is `track`; otherwise 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).

Matches when `type` is `artist`; 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.

Matches when `type` is `album`; 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).

Matches when `type` is `playlist`; 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.

Matches when `type` is `show`; otherwise null.

datashows[]id
integer

Show id.

datashows[]title
string

Show title.

datashows[]url
stringnullable

Show page URL.

Picture URLs in four sizes.

datashows[]imagesid
stringnullable

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

datashows[]imagessmall
stringnullable

Small image URL (about 56 px).

datashows[]imagesmedium
stringnullable

Medium image URL (about 250 px).

datashows[]imagesbig
stringnullable

Large image URL (about 500 px).

datashows[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

datashows[]description
stringnullable

Description.

datashows[]fanCount
integernullable

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

datashows[]available
booleannullable

Whether the show is available.

Matches when `type` is `episode`; otherwise null.

dataepisodes[]id
integer

Episode id.

dataepisodes[]title
string

Episode title.

dataepisodes[]url
stringnullable

Episode page URL.

Picture URLs in four sizes.

dataepisodes[]imagesid
stringnullable

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

dataepisodes[]imagessmall
stringnullable

Small image URL (about 56 px).

dataepisodes[]imagesmedium
stringnullable

Medium image URL (about 250 px).

dataepisodes[]imagesbig
stringnullable

Large image URL (about 500 px).

dataepisodes[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

dataepisodes[]description
stringnullable

Description.

dataepisodes[]durationMs
integernullable

Duration in milliseconds.

dataepisodes[]releasedAt
stringnullable

When the episode was released (ISO-8601, UTC).

dataepisodes[]available
booleannullable

Whether the episode is available.

dataepisodes[]explicit
booleannullable

Whether the show the episode belongs to is marked explicit (Deezer flags it per show).

The show the episode belongs to.

dataepisodes[]showid
integer

Show id.

dataepisodes[]showtitle
stringnullable

Show title.

Matches when `type` is `station`; otherwise null.

datastations[]id
integer

Station id.

datastations[]name
string

Station name.

Picture URLs in four sizes.

datastations[]imagesid
stringnullable

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

datastations[]imagessmall
stringnullable

Small image URL (about 56 px).

datastations[]imagesmedium
stringnullable

Medium image URL (about 250 px).

datastations[]imagesbig
stringnullable

Large image URL (about 500 px).

datastations[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

datastations[]country
stringnullable

Country code of the station.

datastations[]description
stringnullable

Description.

Matches when `type` is `user`; otherwise null.

datausers[]id
integer

Account id.

datausers[]name
string

Display name chosen by the account holder.

datausers[]url
stringnullable

Account page URL, as Deezer lists it.

Picture URLs in four sizes.

datausers[]imagesid
stringnullable

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

datausers[]imagessmall
stringnullable

Small image URL (about 56 px).

datausers[]imagesmedium
stringnullable

Medium image URL (about 250 px).

datausers[]imagesbig
stringnullable

Large image URL (about 500 px).

datausers[]imagesxl
stringnullable

Extra-large image URL (about 1000 px).

datausers[]country
stringnullable

Country code the account holder gave, when public.

datatotal
integernullable

Number of matches Deezer will list for the query. It never exceeds about 300.

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

datawindowLimited
boolean

True when the list reached Deezer's cap of about 300 results for a query; refine the query to reach more.

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/search?query=daft%20punk" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Deezer search results.