Aller au contenu
GET /v1/passes

Passes and time to surface an area

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/cncfinish-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

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