Aller au contenu
GET /v1/search

Search tracks

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/deezer-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/deezer-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/deezer-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/deezer-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/deezer-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 25,
        "query": "daft punk",
        "total": 165,
        "tracks": [
            {
                "id": 66609426,
                "link": "https://www.deezer.com/track/66609426",
                "rank": 954234,
                "album": {
                    "id": 6516139,
                    "cover": "https://cdn-images.dzcdn.net/images/cover/bc49adb87758e0c8c4e508a9c5cce85d/1000x1000-000000-80-0-0.jpg",
                    "title": "Get Lucky (Radio Edit - feat. Pharrell Williams and Nile Rodgers)"
                },
                "title": "Get Lucky (Radio Edit - feat. Pharrell Williams and Nile Rodgers)",
                "artist": {
                    "id": 27,
                    "link": "https://www.deezer.com/artist/27",
                    "name": "Daft Punk",
                    "picture": "https://cdn-images.dzcdn.net/images/artist/638e69b9caaf9f9f3f8826febea7b543/1000x1000-000000-80-0-0.jpg"
                },
                "preview": "https://cdnt-preview.dzcdn.net/api/1/1/1/b/f/0/1bf80a82992903ff685ba1b7275223f8.mp3?hdnea=exp=1780851823~acl=/api/1/1/1/b/f/0/1bf80a82992903ff685ba1b7275223f8.mp3*~data=user_id=0,application_id=42~hmac=237d6cc44ea2559c9dc1ba35d879821c43e08874b2744c00d2fbf2a3b97a015b",
                "explicit": false,
                "duration_s": 248,
                "title_short": "Get Lucky"
            },
            {
                "id": 136889400,
                "link": "https://www.deezer.com/track/136889400",
                "rank": 945011,
                "album": {
                    "id": 14652356,
                    "cover": "https://cdn-images.dzcdn.net/images/cover/134778e4c4f19ea71c82408300925a9a/1000x1000-000000-80-0-0.jpg",
                    "title": "Starboy"
                },
                "title": "Starboy",
                "artist": {
                    "id": 4050205,
                    "link": "https://www.deezer.com/artist/4050205",
                    "name": "The Weeknd",
                    "picture": "https://cdn-images.dzcdn.net/images/artist/581693b4724a7fcfa754455101e13a44/1000x1000-000000-80-0-0.jpg"
                },
                "preview": "https://cdnt-preview.dzcdn.net/api/1/1/3/c/1/0/3c19a82aeffd2f6f6adb63c4d8548e06.mp3?hdnea=exp=1780851823~acl=/api/1/1/3/c/1/0/3c19a82aeffd2f6f6adb63c4d8548e06.mp3*~data=user_id=0,application_id=42~hmac=334adf7e9fa4fc4aa0e2d513ea406c2661b1572abcebfafdfedcd0a63ecc21a1",
                "explicit": true,
                "duration_s": 230,
                "title_short": "Starboy"
            },
            {
                "id": 3135553,
                "link": "https://www.deezer.com/track/3135553",
                "rank": 895695,
                "album": {
                    "id": 302127,
                    "cover": "https://cdn-images.dzcdn.net/images/cover/5718f7c81c27e0b2417e2a4c45224f8a/1000x1000-000000-80-0-0.jpg",
                    "title": "Discovery"
                },
           
…