Deezer Search API Documentation
The Deezer Search API returns the tracks, albums, artists, playlists, podcasts or user profiles Deezer lists for a search, each with its Deezer id and link. Tracks come with their ISRC, duration, popularity rank, explicit flag, a preview link and the artist and album.
Deezer shows each country its own catalog, so the same search can return different tracks in France and in Germany. Set country to the market you want. Preview links stop working at the time in preview_expires_at, so fetch them again instead of storing them. The total_results count is Deezer's estimate and can move between pages, and a later page can repeat a result from an earlier one.
API Parameters
Search Query
-
- Name
-
q - Required
- Required
- Description
-
Parameter defines the text you want to search for, up to 500 characters. Deezer refuses some text, such as script tags or SQL, and the search then returns an error.
-
- Name
-
type - Required
- Optional
- Description
-
Parameter defines the kind of result to return, each in its own array of the response. Supported values are
tracks,albums,artists,playlists,podcasts, andprofiles. Deezer has podcast search only inUS,MX,BR,CO,GB,IE,FR,NL,DE,AT,CH,TR,IL,EG,SA, andAE.
Localization
-
- Name
-
country - Required
- Optional
- Description
-
Parameter defines the country whose Deezer catalog is searched. Deezer shows each country its own catalog, so a track can be found in one country and missing in another. Head to the Deezer countries page for the supported values.
Pagination
-
- Name
-
page - Required
- Optional
- Description
-
Parameter defines the page of results. Deezer returns at most 300 results per search, so the last page is the one that reaches result 300, such as page 12 with
num25.
-
- Name
-
num - Required
- Optional
- Description
-
Parameter defines the number of results per page, from 1 to 100.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
deezer_search.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?country=FR&engine=deezer_search&q=daft+punk
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "daft punk",
"country": "FR"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_HRlDqeBMW42r69zQqN6ytCwR",
"status": "Success",
"created_at": "2026-11-25T11:41:32Z",
"request_time_taken": 1.85,
"parsing_time_taken": 0.05,
"total_time_taken": 1.91,
"request_url": "https://www.deezer.com/search/daft%20punk",
"html_url": "https://www.searchapi.io/api/v1/searches/search_HRlDqeBMW42r69zQqN6ytCwR.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_HRlDqeBMW42r69zQqN6ytCwR"
},
"search_parameters": {
"engine": "deezer_search",
"q": "daft punk",
"type": "tracks",
"country": "FR",
"page": 1,
"num": 25
},
"search_information": {
"total_results": 300
},
"tracks": [
{
"position": 1,
"id": 67238732,
"title": "Instant Crush (feat. Julian Casablancas)",
"title_short": "Instant Crush",
"title_version": "(feat. Julian Casablancas)",
"link": "https://www.deezer.com/track/67238732",
"isrc": "USQX91300105",
"duration": 337,
"rank": 972797,
"preview": "https://cdnt-preview.dzcdn.net/api/1/1/d/6/b/0/d6bc80aadfa1d7625d59a6620f229371.mp3?hdnea=exp=179560...",
"preview_expires_at": "2026-11-25T11:56:34Z",
"thumbnail": "https://cdn-images.dzcdn.net/images/cover/311bba0fc112d15f72c8b5a65f0456c1/1000x1000-000000-80-0-0.j...",
"artist": {
"id": 27,
"name": "Daft Punk",
"link": "https://www.deezer.com/artist/27",
"thumbnail": "https://cdn-images.dzcdn.net/images/artist/638e69b9caaf9f9f3f8826febea7b543/1000x1000-000000-80-0-0...."
},
"album": {
"id": 6575789,
"title": "Random Access Memories",
"link": "https://www.deezer.com/album/6575789",
"thumbnail": "https://cdn-images.dzcdn.net/images/cover/311bba0fc112d15f72c8b5a65f0456c1/1000x1000-000000-80-0-0.j..."
}
},
"..."
],
"pagination": {
"current": 1,
"next_page": 2
}
}
Albums
https://www.searchapi.io/api/v1/search?country=FR&engine=deezer_search&q=kendrick+lamar&type=albums
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "kendrick lamar",
"type": "albums",
"country": "FR"
}
response = requests.get(url, params=params)
print(response.text)
{
"albums": [
{
"position": 1,
"id": 9896728,
"title": "To Pimp A Butterfly",
"link": "https://www.deezer.com/album/9896728",
"album_type": "album",
"tracks_count": 16,
"genre_id": 116,
"is_explicit": true,
"thumbnail": "https://cdn-images.dzcdn.net/images/cover/00dd0da365a94b1829302d6b7fec70e6/1000x1000-000000-80-0-0.j...",
"artist": {
"id": 525046,
"name": "Kendrick Lamar",
"link": "https://www.deezer.com/artist/525046",
"thumbnail": "https://cdn-images.dzcdn.net/images/artist/be0a7c550567f4af0ed202d7235b74d6/1000x1000-000000-80-0-0...."
}
},
"..."
]
}
Artists
https://www.searchapi.io/api/v1/search?country=FR&engine=deezer_search&q=aya+nakamura&type=artists
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "aya nakamura",
"type": "artists",
"country": "FR"
}
response = requests.get(url, params=params)
print(response.text)
{
"artists": [
{
"position": 1,
"id": 8909272,
"name": "Aya Nakamura",
"link": "https://www.deezer.com/artist/8909272",
"albums_count": 53,
"fans": 2798991,
"has_radio": true,
"thumbnail": "https://cdn-images.dzcdn.net/images/artist/c8bca3e6aed3da8de8cbe0edd91bc156/1000x1000-000000-80-0-0...."
},
"..."
]
}
Playlists
https://www.searchapi.io/api/v1/search?engine=deezer_search&q=workout&type=playlists
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "workout",
"type": "playlists"
}
response = requests.get(url, params=params)
print(response.text)
{
"playlists": [
{
"position": 1,
"id": 8746913302,
"title": "Workout",
"link": "https://www.deezer.com/playlist/8746913302",
"tracks_count": 144,
"is_public": true,
"creation_date": "2021-02-17T13:58:27",
"modification_date": "2026-11-23T16:04:36",
"thumbnail": "https://cdn-images.dzcdn.net/images/cover/35e5a21042f88962a159ee0943ca6ad1-4084942d5cc1a981255cbccfe...",
"owner": {
"id": 468649063,
"name": "anonymous",
"link": "https://www.deezer.com/profile/468649063"
}
},
"..."
]
}
Podcasts in the United Kingdom
https://www.searchapi.io/api/v1/search?country=GB&engine=deezer_search&q=football&type=podcasts
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "football",
"type": "podcasts",
"country": "GB"
}
response = requests.get(url, params=params)
print(response.text)
{
"podcasts": [
{
"position": 1,
"id": 1161732,
"title": "Parenting Hell with Rob Beckett and Josh Widdicombe",
"link": "https://www.deezer.com/show/1161732",
"description": "Parenting... just not as you know it. Join Rob & Josh as they share their tales of parenting woe and chat to celebrity parents about how they're coping, or not...",
"fans": 2674,
"is_available": true,
"thumbnail": "https://cdn-images.dzcdn.net/images/talk/b771dff530fb722762777a1a38335111/1000x1000-000000-80-0-0.jp..."
},
"..."
]
}
User Profiles
https://www.searchapi.io/api/v1/search?country=FR&engine=deezer_search&q=daft+punk&type=profiles
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "daft punk",
"type": "profiles",
"country": "FR"
}
response = requests.get(url, params=params)
print(response.text)
{
"profiles": [
{
"position": 1,
"id": 18153234,
"name": "example_user_1",
"link": "https://www.deezer.com/profile/18153234",
"thumbnail": "https://cdn-images.dzcdn.net/images/user/5ae558fa201d5bb1108d6d1191207511/1000x1000-000000-80-0-0.jp..."
},
"..."
]
}
Second Page of 50 Tracks in Germany
https://www.searchapi.io/api/v1/search?country=DE&engine=deezer_search&num=50&page=2&q=aya+nakamura
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "deezer_search",
"q": "aya nakamura",
"country": "DE",
"num": "50",
"page": "2"
}
response = requests.get(url, params=params)
print(response.text)
{
"tracks": [
{
"position": 51,
"id": 3264852711,
"title": "Si Si",
"title_short": "Si Si",
"link": "https://www.deezer.com/track/3264852711",
"isrc": "FRX872491349",
"duration": 180,
"rank": 502018,
"is_explicit": true,
"preview": "https://cdnt-preview.dzcdn.net/api/1/1/5/e/9/0/5e97b57a47d660dafdd88ca37b8d5a5d.mp3?hdnea=exp=179560...",
"preview_expires_at": "2026-11-25T11:56:45Z",
"thumbnail": "https://cdn-images.dzcdn.net/images/cover/e1ffec8c0c372f14747774c808c71047/1000x1000-000000-80-0-0.j...",
"artist": {
"id": 154757981,
"name": "SativaMusic",
"link": "https://www.deezer.com/artist/154757981",
"thumbnail": "https://cdn-images.dzcdn.net/images/artist/1c6c642ca77980633ac60673e4020254/1000x1000-000000-80-0-0...."
},
"album": {
"id": 722946171,
"title": "Si Si",
"link": "https://www.deezer.com/album/722946171",
"thumbnail": "https://cdn-images.dzcdn.net/images/cover/e1ffec8c0c372f14747774c808c71047/1000x1000-000000-80-0-0.j..."
}
},
"..."
],
"pagination": {
"current": 2,
"next_page": 3
}
}