Zum Inhalt springen
GET /v1/search/labels

Search labels

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 9949,
        "query": "xl recordings",
        "labels": [
            {
                "id": "14221f01-8939-4ea0-b8f1-b5a21beae80a",
                "name": "XL Recordings",
                "type": "Original Production",
                "score": 100,
                "country": "GB",
                "life_span": {
                    "begin": "1989",
                    "ended": null
                },
                "label_code": 5667
            },
            {
                "id": "b02449d0-22b1-4d51-9584-2fef87546d72",
                "name": "XL Recordings",
                "type": "Bootleg Production",
                "score": 81,
                "life_span": {
                    "ended": null
                },
                "disambiguation": "This entry is for unofficial releases only!"
            },
            {
                "id": "4509f80b-403c-46b5-bfb5-be77374cb90c",
                "name": "XL Recordings Ltd.",
                "type": "Holding",
                "score": 68,
                "life_span": {
                    "ended": null
                },
                "disambiguation": "not for release label use! use its imprint XL Recordings instead"
            },
            {
                "id": "60e3fa6f-e99b-458f-bf75-8e9e8e2d5b23",
                "name": "XL Recordings, Inc.",
                "score": 65,
                "country": "US",
                "life_span": {
                    "ended": null
                },
                "disambiguation": "not for release label use!"
            },
            {
                "id": "cf4c24a0-68a7-47b3-877d-9dcb2ee80c4d",
                "name": "Platinum Projects",
                "score": 59,
                "life_span": {
                    "ended": null
                },
                "disambiguation": "XL Recordings"
            },
            {
                "id": "2ac9e6f7-e6cd-41de-adb8-8e6d9f5c9913",
                "name": "Rex Records",
                "type": "Original Production",
                "score": 55,
                "country": "GB",
                "life_span": {
                    "ended": null
                },
                "disambiguation": "Offshoot of XL Recordings"
            },
            {
                "id": "1d7995a1-414a-4251-b748-d1f56c38207f",
                "name": "XL",
                "type": "Production",
                "score": 43,
                "country": "PL",
                "life_span": {
                    "ended": null
                },
                "disambiguation": "Polish magazine"
            },
            {
                "id": "f39841a8-1663-44d9-a891-239f1b933d2e",
                "name": "XL Project",
                "type": "Original Production",
                "score": 42,
                "country": "JP",
                "life_span": {
                    "ended": null
                }
            },
            {
                "id": "ef6a42
…