/v1/ramp
Ramp run + landings
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/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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}