/v1/search
Search the Discogs database
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/discogs-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/discogs-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/discogs-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/discogs-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"page": 1,
"type": "artist",
"count": 20,
"query": "nirvana",
"source": "Discogs",
"results": [
{
"id": 125246,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana",
"format": [],
"country": null
},
{
"id": 307513,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana (2)",
"format": [],
"country": null
},
{
"id": 2744248,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana (10)",
"format": [],
"country": null
},
{
"id": 1087206,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana 2002",
"format": [],
"country": null
},
{
"id": 1082359,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana (6)",
"format": [],
"country": null
},
{
"id": 1176738,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana (7)",
"format": [],
"country": null
},
{
"id": 816495,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana (5)",
"format": [],
"country": null
},
{
"id": 457609,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Nirvana (4)",
"format": [],
"country": null
},
{
"id": 1907189,
"type": "artist",
"year": null,
"genre": [],
"label": [],
"thumb": null,
"title": "Paulette \"Nirvana\" Buckley",
"format": [],
"country": null
…