Naar de inhoud
GET /v1/artist/albums

Artist albums

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/deezer-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 25,
        "albums": [
            {
                "id": 494309801,
                "fans": 14160,
                "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)",
                "genres": [],
                "explicit": false,
                "genre_id": 106,
                "record_type": "album",
                "release_date": "2023-11-17"
            },
            {
                "id": 294609352,
                "fans": 17117,
                "link": "https://www.deezer.com/album/294609352",
                "cover": "https://cdn-images.dzcdn.net/images/cover/117dcf85bdf0851347403796521d1e9d/1000x1000-000000-80-0-0.jpg",
                "title": "Homework (25th Anniversary Edition)",
                "genres": [],
                "explicit": false,
                "genre_id": 113,
                "record_type": "album",
                "release_date": "1997-01-20"
            },
            {
                "id": 6575789,
                "fans": 876221,
                "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",
                "genres": [],
                "explicit": false,
                "genre_id": 113,
                "record_type": "album",
                "release_date": "2013-05-17"
            },
            {
                "id": 438167857,
                "fans": 31493,
                "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)",
                "genres": [],
                "explicit": false,
                "genre_id": 106,
                "record_type": "album",
                "release_date": "2023-05-12"
            },
            {
                "id": 1471670,
                "fans": 11503,
                "link": "https://www.deezer.com/album/1471670",
                "cover": "https://cdn-images.dzcdn.net/images/cover/2f34e0fe8086785fab7d6dfd8d48ba5a/1000x1000-000000-80-0-0.jpg",
                "title": "TRON: Legacy Reconfigured",
                "genres": [],
                "explicit": false,
                "genre_id": 106,
                "record_type": "album",
                "release_date": "2011-04-05"
            },
            {
                "id": 192529232,
                "fans": 37044,
                "link": "https://www.deezer.com/album/192529232",
                "cover": "https://cdn-images.dzcdn.net/images/cover/313e8a988614445ab1ad508da2805187/1000x1000-000000-80-0-0
…