Naar de inhoud
GET /v1/ramp

Ramp run + landings

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/adaramp-api/v1/ramp" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/adaramp-api/v1/ramp", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/adaramp-api/v1/ramp");
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/adaramp-api/v1/ramp",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

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

{
    "data": {
        "note": "ADA: a ramp rises 1 inch per 12 of run (max 8.33 % slope), a single run climbs at most 30\", and a 5-ft (60\") level landing goes top, bottom and between runs. Run = rise × slope denominator. Gentler is better — 1:16 or 1:20 if you have the room.",
        "inputs": {
            "rise": 24,
            "unit": "in",
            "slope_denominator": 12
        },
        "rise_in": 24,
        "ramp_run_ft": 24,
        "ramp_run_in": 288,
        "slope_ratio": "1:12",
        "ada_compliant": true,
        "slope_percent": 8.33,
        "total_length_ft": 34,
        "intermediate_landings": 0
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:50.544Z",
        "request_id": "f1d22fa7-9c5a-481c-bce7-773c97f590ea"
    },
    "status": "ok",
    "message": "Ramp design",
    "success": true
}