Zum Inhalt springen
GET /v1/search/albums

Search albums

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/deezer-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/deezer-api/v1/search/albums" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/deezer-api/v1/search/albums", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/deezer-api/v1/search/albums");
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/albums",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 20,
        "query": "random access memories",
        "total": 20,
        "albums": [
            {
                "id": 6575789,
                "link": "https://www.deezer.com/album/6575789",
                "cover": "https://cdn-images.dzcdn.net/images/cover/311bba0fc112d15f72c8b5a65f0456c1/1000x1000-000000-80-0-0.jpg",
                "title": "Random Access Memories",
                "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"
                },
                "genres": [],
                "explicit": false,
                "genre_id": 113,
                "nb_tracks": 13,
                "record_type": "album"
            },
            {
                "id": 438167857,
                "link": "https://www.deezer.com/album/438167857",
                "cover": "https://cdn-images.dzcdn.net/images/cover/ad250e6b44b43490a294d90d6104e124/1000x1000-000000-80-0-0.jpg",
                "title": "Random Access Memories (10th Anniversary Edition)",
                "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"
                },
                "genres": [],
                "explicit": false,
                "genre_id": 106,
                "nb_tracks": 22,
                "record_type": "album"
            },
            {
                "id": 494309801,
                "link": "https://www.deezer.com/album/494309801",
                "cover": "https://cdn-images.dzcdn.net/images/cover/bb8b5f188ae380ac3a7c876b70556357/1000x1000-000000-80-0-0.jpg",
                "title": "Random Access Memories (Drumless Edition)",
                "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"
                },
                "genres": [],
                "explicit": false,
                "genre_id": 106,
                "nb_tracks": 13,
                "record_type": "album"
            },
            {
                "id": 11426452,
                "link": "https://www.deezer.com/album/11426452",
                "cover": "https://cdn-images.dzcdn.net/images/cover/82940ebf79829545058c863024a9e449/1000x1000-000000-80-0-0.jpg",
                "title": "Random Access Memories",
                "artist": {
                    "id": 9066614,
                    "link": "https://www.deezer.com/artist/9066614",
               
…