Zum Inhalt springen
GET /v1/works

A composer's works (optionally by genre)

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 344,
        "genre": "all",
        "works": [
            {
                "id": "16300",
                "genre": "Chamber",
                "title": "Cello Sonata no. 4 in C major, op. 102, no. 1",
                "subtitle": null
            },
            {
                "id": "16260",
                "genre": "Chamber",
                "title": "Grosse Fuge, op. 133",
                "subtitle": "For string quartet"
            },
            {
                "id": "16322",
                "genre": "Orchestral",
                "title": "Leonore Overture no. 3, op. 72b",
                "subtitle": null
            },
            {
                "id": "16382",
                "genre": "Vocal",
                "title": "Missa Solemnis, op. 123",
                "subtitle": null
            },
            {
                "id": "16170",
                "genre": "Orchestral",
                "title": "Piano Concerto no. 3 in C minor, op. 37",
                "subtitle": null
            },
            {
                "id": "16286",
                "genre": "Orchestral",
                "title": "Piano Concerto no. 4 in G major, op. 58",
                "subtitle": null
            },
            {
                "id": "16218",
                "genre": "Orchestral",
                "title": "Piano Concerto no. 5 in E flat major, op. 73, \"Emperor\"",
                "subtitle": null
            },
            {
                "id": "16222",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 8 in C minor, op. 13, \"Pathétique\"",
                "subtitle": null
            },
            {
                "id": "16482",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 17 in D minor, op. 31 no. 2, \"Tempest\"",
                "subtitle": null
            },
            {
                "id": "16184",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 21 in C major, op. 53, \"Waldstein\"",
                "subtitle": null
            },
            {
                "id": "16419",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 23 in F minor, op. 57, \"Appassionata\"",
                "subtitle": null
            },
            {
                "id": "16459",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 26 in E flat major, op. 81a, \"Les Adieux\"",
                "subtitle": null
            },
            {
                "id": "16264",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 29 in B flat major, op. 106, \"Hammerklavier\"",
                "subtitle": null
            },
            {
                "id": "16421",
                "genre": "Keyboard",
                "title": "Piano Sonata no. 32 in C minor, op. 111",
                "subtitle": null
            },
            {
                "id": "16
…