Aller au contenu
GET /v1/search

Search songs (find artist + title)

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/lyrics-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/lyrics-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lyrics-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lyrics-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/lyrics-api/v1/search",
    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": {
        "count": 15,
        "query": "bohemian rhapsody",
        "results": [
            {
                "album": "A Night At The Opera (2011 Remaster)",
                "cover": "http://cdn-images.dzcdn.net/images/cover/6706f1154083f461a348508c28030a30/250x250-000000-80-0-0.jpg",
                "title": "Bohemian Rhapsody (Remastered 2011)",
                "artist": "Queen",
                "preview": "http://cdnt-preview.dzcdn.net/api/1/1/e/3/9/0/e395ad329758f01e5787f03e5286636f.mp3?hdnea=exp=1780100928~acl=/api/1/1/e/3/9/0/e395ad329758f01e5787f03e5286636f.mp3*~data=user_id=0,application_id=42~hmac=6d7d35add3ef1fb8fb5acc9504e2df8524cd955a6f4917370f7e89b01e8ba74e"
            },
            {
                "album": "Bohemian Rhapsody (The Original Soundtrack)",
                "cover": "http://cdn-images.dzcdn.net/images/cover/8b8fc5d117f9357b79f0a0a410a170e8/250x250-000000-80-0-0.jpg",
                "title": "Bohemian Rhapsody (Live Aid)",
                "artist": "Queen",
                "preview": "http://cdnt-preview.dzcdn.net/api/1/1/c/9/3/0/c93393b8a00a8489617f00819b2a81da.mp3?hdnea=exp=1780100928~acl=/api/1/1/c/9/3/0/c93393b8a00a8489617f00819b2a81da.mp3*~data=user_id=0,application_id=42~hmac=973cd84dc5189a34a5a4a4934307df9af79a4d47bb8299ab64a10609c8c166b9"
            },
            {
                "album": "Live At Wembley Stadium",
                "cover": "http://cdn-images.dzcdn.net/images/cover/90192223423fbfa45bbf4ef9f68cf9f7/250x250-000000-80-0-0.jpg",
                "title": "Bohemian Rhapsody (Live At Wembley Stadium / July 1986)",
                "artist": "Queen",
                "preview": "http://cdnt-preview.dzcdn.net/api/1/1/6/2/d/0/62dbc60a45f6d0784cd5ced0f46bf29d.mp3?hdnea=exp=1780100928~acl=/api/1/1/6/2/d/0/62dbc60a45f6d0784cd5ced0f46bf29d.mp3*~data=user_id=0,application_id=42~hmac=613a62f8fa11d735350975792995bd7e58f009d2c4707e6965a03fa9d0adc322"
            },
            {
                "album": "Ivory",
                "cover": "http://cdn-images.dzcdn.net/images/cover/48b151ba06ef7b94fadc73db908532cd/250x250-000000-80-0-0.jpg",
                "title": "Bohemian Rhapsody",
                "artist": "Junity",
                "preview": "http://cdnt-preview.dzcdn.net/api/1/1/7/d/b/0/7db4c15ff7c4502451cf5b5c19799511.mp3?hdnea=exp=1780100928~acl=/api/1/1/7/d/b/0/7db4c15ff7c4502451cf5b5c19799511.mp3*~data=user_id=0,application_id=42~hmac=f3d9065af84b2d9c94c033a703c07545e1058319212a99a5ce55062aa736d00c"
            },
            {
                "album": "Here We Come",
                "cover": "http://cdn-images.dzcdn.net/images/cover/a66f686d24596a770a5307166846f407/250x250-000000-80-0-0.jpg",
                "title": "Bohemian Rhapsody",
                "artist": "The Braids",
                "preview": "http://cdnt-preview.dzcdn.net/api/1/1/3/3/0/0/3308d153a75f625111da7e0b4b09bbc1.mp3?hdnea=exp=1780100928~acl=/api/1/1/3/3/0/0/3308d153a75f625111da7e0b4b09bbc1.mp3*~data=user_id=0,applic
…