Aller au contenu
GET /v1/lyrics

Full song lyrics by id or url

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/genius-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "url": "https://genius.com/Queen-bohemian-rhapsody-lyrics",
        "title": "Bohemian Rhapsody",
        "artist": "Queen",
        "lyrics": "[Intro]\nIs this the real life? Is this just fantasy?\nCaught in a landslide, no escape from reality\nOpen your eyes, look up to the skies and see\nI'm just a poor boy, I need no sympathy (Ooh, poor boy)\nBecause I'm easy come, easy go, little high, little low\nAny way the wind blows (Ooh, the wind blows)\nDoesn't really matter to me, to me\n\n[Verse 1]\nMama, just killed a man\nPut a gun against his head, pulled my trigger, now he's dead\nMama, life had just begun\nBut now I've gone and thrown it all away\nMama, ooh, didn't mean to make you cry\nIf I'm not back again this time tomorrow\nCarry on, carry on as if nothing really matters\n\n[Verse 2]\nToo late, my time has come\nSends shivers down my spine, body's aching all the time\nGoodbye, everybody, I've got to go\nGotta leave you all behind and face the truth\nMama, ooh (Any way the wind blows)\nI don't wanna die (Ooh)\nI sometimes wish I'd never been born at all (Ooh, ooh, ooh, ooh, ooh)\n\n[Guitar Solo]\n\n[Verse 3]\nI see a little silhouetto of a man\nScaramouche, Scaramouche, will you do the Fandango?\nThunderbolt and lightning, very, very frightening me\n(Galileo) Galileo, (Galileo) Galileo, Galileo Figaro\nMagnifico (Oh-oh-oh-oh)\nBut I'm just a poor boy, nobody loves me\nHe's just a poor boy from a poor family\nSpare him his life from this monstrosity\nEasy come, easy go, will you let me go?\nBismillah, no, we will not let you go (Let him go)\nBismillah, we will not let you go (Let him go)\nBismillah, we will not let you go (Let me go)\nWill not let you go (Let me go)\n(Never, never, never, never, never, never let me go) Will not let you go\nOh-oh-oh-oh\nNo, no, no, no, no, no, no\nOh, mamma mia, mamma mia (Mamma mia, let me go)\nBeelzebub has a devil put aside for me, for me, for me\n\n[Bridge]\nSo you think you can stone me and spit in my eye?\nSo you think you can love me and leave me to die?\nOh, baby, can't do this to me, baby\nJust gotta get out, just gotta get right outta here\n\n[Outro]\n(Ooh)\n(Ooh, yeah, ooh, yeah)\nNothing really matters, anyone can see\nNothing really matters\nNothing really matters to me\nAny way the wind blows",
        "song_id": 1063
    },
    "meta": {
        "timestamp": "2026-06-07T16:48:41.334Z",
        "request_id": "012ee94b-08b7-4669-968b-c086d61b495c"
    },
    "status": "ok",
    "message": "Lyrics retrieved successfully",
    "success": true
}