/v1/transpose
Transpose notes
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/musictheory-api/v1/transpose" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/musictheory-api/v1/transpose", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/musictheory-api/v1/transpose");
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/musictheory-api/v1/transpose",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Each note shifted by the given number of semitones (negative transposes down). C +7 → G.",
"inputs": {
"notes": [
"C",
"E",
"G"
],
"semitones": 7
},
"transposed": [
"G",
"B",
"D"
],
"transposed_string": "G B D"
},
"meta": {
"timestamp": "2026-06-05T19:50:12.131Z",
"request_id": "deade6c3-59ca-4eb2-aa17-5b0d0da4a33b"
},
"status": "ok",
"message": "Transpose",
"success": true
}