Zum Inhalt springen
GET /v1/search

Search songs

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 10,
        "query": "bohemian rhapsody",
        "songs": [
            {
                "id": 1063,
                "hot": false,
                "url": "https://genius.com/Queen-bohemian-rhapsody-lyrics",
                "path": "/Queen-bohemian-rhapsody-lyrics",
                "image": "https://images.genius.com/718de9d1fbcaae9f3c9b1bf483bfa8f1.1000x1000x1.png",
                "title": "Bohemian Rhapsody",
                "pageviews": 11172589,
                "thumbnail": "https://images.genius.com/718de9d1fbcaae9f3c9b1bf483bfa8f1.300x300x1.png",
                "full_title": "Bohemian Rhapsody by Queen",
                "release_date": "October 31, 1975",
                "primary_artist": {
                    "id": 563,
                    "url": "https://genius.com/artists/Queen",
                    "name": "Queen",
                    "image": "https://images.genius.com/3bc047e8b3c654ed28aedc69f93f8663.1000x1000x1.jpg",
                    "verified": false
                },
                "featured_artists": []
            },
            {
                "id": 2554116,
                "hot": false,
                "url": "https://genius.com/Panic-at-the-disco-bohemian-rhapsody-lyrics",
                "path": "/Panic-at-the-disco-bohemian-rhapsody-lyrics",
                "image": "https://images.genius.com/0a339ca9b0584bd2a8d2a8e60740ec56.1000x1000x1.jpg",
                "title": "Bohemian Rhapsody",
                "pageviews": 87093,
                "thumbnail": "https://images.genius.com/0a339ca9b0584bd2a8d2a8e60740ec56.300x300x1.jpg",
                "full_title": "Bohemian Rhapsody by Panic! at the Disco",
                "release_date": "August 5, 2016",
                "primary_artist": {
                    "id": 50838,
                    "url": "https://genius.com/artists/Panic-at-the-disco",
                    "name": "Panic! at the Disco",
                    "image": "https://images.genius.com/0c9c63cfdae0d165c1c81cbd4d14c7d4.544x544x1.jpg",
                    "verified": true
                },
                "featured_artists": []
            },
            {
                "id": 5437320,
                "hot": false,
                "url": "https://genius.com/Genius-turkce-ceviriler-queen-bohemian-rhapsody-turkce-ceviri-lyrics",
                "path": "/Genius-turkce-ceviriler-queen-bohemian-rhapsody-turkce-ceviri-lyrics",
                "image": "https://images.genius.com/ff9ddef65ab95da61354ce587748e2e9.600x600x1.png",
                "title": "Queen - Bohemian Rhapsody (Türkçe Çeviri)",
                "pageviews": 54330,
                "thumbnail": "https://images.genius.com/ff9ddef65ab95da61354ce587748e2e9.300x300x1.png",
                "full_title": "Queen - Bohemian Rhapsody (Türkçe Çeviri) by Genius Türkçe Çeviriler",
                "release_date": "October 31, 1975",
                "primary_artist": {
                    "id": 569121,
                    "url":
…