/v1/chord
Chord notes from root + quality
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}