Ir al contenido
GET /v1/groove-length

Total spiral groove length

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/vinyl-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/vinyl-api/v1/groove-length" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vinyl-api/v1/groove-length", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vinyl-api/v1/groove-length");
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/vinyl-api/v1/groove-length",
    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": "Unrolled, the spiral groove is astonishingly long: its length ≈ the number of turns × the mean circumference (π × the average of the outer and inner diameters). A 12-inch LP side runs on the order of 400–500 metres of groove. The stylus traces this whole length once per side, which is why a tiny mistracking error repeated over half a kilometre of wall undulations is audible.",
        "inputs": {
            "groove_pitch_um": 100,
            "inner_diameter_mm": 120,
            "outer_diameter_mm": 290
        },
        "revolutions": 850,
        "groove_length_m": 547.42
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:49.359Z",
        "request_id": "908e7ebb-5ede-4481-9add-b1e38b0fdad4"
    },
    "status": "ok",
    "message": "Groove length",
    "success": true
}