Naar de inhoud
GET /v1/passes

Passes and time to surface an area

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}