Find an API

Search public APIs with auth details & Postman guides

← All APIs

Deezer API

api.deezer.com · Media

Media No Auth Free & Open Music Streaming Media

Deezer music data — search 90M+ tracks, artists, albums, playlists, and radio. 30-second previews for all tracks. No API key required for basic access.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Search tracks

Search for a song.

https://api.deezer.com/search/track?q=Bohemian Rhapsody&limit=3

Hover any highlighted part to learn what it does

curl -X GET "https://api.deezer.com/search/track?q=Bohemian%20Rhapsody&limit=3"
import requests
params = {
    "q": "Bohemian Rhapsody",
    "limit": "3"
}
response = requests.get(
    "https://api.deezer.com/search/track",
    params=params,
)
print(response.json())
const url = new URL('https://api.deezer.com/search/track');
url.searchParams.set('q', 'Bohemian Rhapsody');
url.searchParams.set('limit', '3');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.deezer.com/search/track")
	q := baseURL.Query()
	q.Set("q", "Bohemian Rhapsody")
	q.Set("limit", "3")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.deezer.com/search/track")
uri.query = URI.encode_www_form({
  "q" => "Bohemian Rhapsody",
  "limit" => "3"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.deezer.com/search/track?" . http_build_query([
    "q" => "Bohemian Rhapsody",
    "limit" => "3"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get artist

Get Daft Punk's artist data.

https://api.deezer.com/artist/27

Hover any highlighted part to learn what it does

curl -X GET "https://api.deezer.com/artist/27"
import requests
response = requests.get(
    "https://api.deezer.com/artist/27",
)
print(response.json())
const url = 'https://api.deezer.com/artist/27';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.deezer.com/artist/27"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.deezer.com/artist/27")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.deezer.com/artist/27";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get chart

Get global music charts.

https://api.deezer.com/chart

Hover any highlighted part to learn what it does

curl -X GET "https://api.deezer.com/chart"
import requests
response = requests.get(
    "https://api.deezer.com/chart",
)
print(response.json())
const url = 'https://api.deezer.com/chart';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.deezer.com/chart"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.deezer.com/chart")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.deezer.com/chart";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. No API key needed for catalog access
  2. Try GET https://api.deezer.com/search/track?q=coldplay&limit=5
  3. Track preview: response includes preview field with 30-second MP3 URL
  4. Charts: GET https://api.deezer.com/chart
  5. Artist top tracks: GET https://api.deezer.com/artist/{id}/top

Open documentation ↗