/v1/chord
Chord notes from root + quality
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/musicnote-api/v1/chord" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/musicnote-api/v1/chord", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/musicnote-api/v1/chord");
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/musicnote-api/v1/chord",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"root": "C4",
"notes": [
{
"midi": 60,
"note": "C4",
"enharmonic": null,
"frequency_hz": 261.6256
},
{
"midi": 64,
"note": "E4",
"enharmonic": null,
"frequency_hz": 329.6276
},
{
"midi": 67,
"note": "G4",
"enharmonic": null,
"frequency_hz": 391.9954
},
{
"midi": 71,
"note": "B4",
"enharmonic": null,
"frequency_hz": 493.8833
}
],
"quality": "maj7",
"intervals": [
0,
4,
7,
11
]
},
"meta": {
"timestamp": "2026-06-03T17:42:11.840Z",
"request_id": "f9d22f3c-0b4d-48de-a507-76a85db56e61"
},
"status": "ok",
"message": "Chord",
"success": true
}