/v1/fret
Single fret position
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/fretspacing-api/v1/fret" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fretspacing-api/v1/fret", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fretspacing-api/v1/fret");
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/fretspacing-api/v1/fret",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "From the nut to fret n = scale × (1 − 1/2^(n/12)). The spacing shrinks geometrically toward the bridge — each fret is the same ratio (2^(1/12) ≈ 1.0595) closer than the last.",
"inputs": {
"fret": 12,
"unit": "in",
"scale_length": 25.5
},
"from_nut": 12.75,
"from_previous_fret": 0.7582,
"remaining_to_bridge": 12.75
},
"meta": {
"timestamp": "2026-06-06T07:13:56.847Z",
"request_id": "a749f37a-4648-4113-b56c-a4b15b94aac6"
},
"status": "ok",
"message": "Single fret",
"success": true
}