Aller au contenu
GET /v1/meta

Epochs, genres & notes

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/classical-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/classical-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/classical-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/classical-api/v1/meta");
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/classical-api/v1/meta",
    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": {
        "note": "Open Opus is an open catalogue of classical composers and their works. /v1/composers?q=beethoven searches composers by name, or /v1/composers?epoch=Baroque lists composers of a musical epoch (Medieval, Renaissance, Baroque, Classical, Early Romantic, Romantic, Late Romantic, 20th Century, Post-War, 21st Century) — each with id, full name, epoch and birth/death years. /v1/works?composer=145 lists that composer's works (composer ids come from /v1/composers; 145 = Beethoven), optionally filtered by genre=Orchestral|Chamber|Keyboard|Stage|Vocal|Opera — each work with its id, title, subtitle and genre. Data from Open Opus (CC-BY-SA / CC0). A classical-music repertoire reference — distinct from commercial music catalogues of tracks, artists and albums. Ideal for classical-music, education, concert and media applications.",
        "epochs": [
            "Medieval",
            "Renaissance",
            "Baroque",
            "Classical",
            "Early Romantic",
            "Romantic",
            "Late Romantic",
            "20th Century",
            "Post-War",
            "21st Century"
        ],
        "genres": [
            "Keyboard",
            "Orchestral",
            "Chamber",
            "Stage",
            "Vocal",
            "Opera"
        ],
        "source": "Open Opus — open classical-music catalogue (openopus.org)",
        "endpoints": [
            "/v1/composers",
            "/v1/works",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:57.222Z",
        "request_id": "ede006d5-d4d9-4390-87a7-8a0c60e565d1"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}