Naar de inhoud
GET /v1/groove-length

Total spiral groove length

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/vinyl-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}