/v1/passes
Passes and time to surface an area
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/cncfinish-api/v1/passes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cncfinish-api/v1/passes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cncfinish-api/v1/passes");
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/cncfinish-api/v1/passes",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Passes to cover a width = width ÷ stepover, rounded up, plus one to finish the far edge; total cutting travel = passes × the pass length. Halving the stepover doubles the passes and the time, which is why finish stepover is the big lever on a long surfacing job.",
"inputs": {
"width_in": 4,
"length_in": 6,
"stepover_in": 0.05
},
"passes": 81,
"total_travel_in": 486,
"cutting_time_min": 4.86
},
"meta": {
"timestamp": "2026-06-06T23:53:58.032Z",
"request_id": "ff2ebb1d-7ce2-485c-9990-366cee5dc4b1"
},
"status": "ok",
"message": "Passes & time",
"success": true
}