/v1/ramp
Wheelchair / ADA ramp
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/slope-api/v1/ramp" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slope-api/v1/ramp", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slope-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/slope-api/v1/ramp",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "ADA default is 1:12 (max 8.33% grade). Required run = rise × ratio. Provide run to check an existing ramp.",
"input": {
"rise": 30,
"max_slope_ratio": "1:12",
"max_grade_percent": 8.333
},
"ramp_length": 361.248,
"required_run": 360,
"angle_degrees": 4.764
},
"meta": {
"timestamp": "2026-06-04T01:59:14.529Z",
"request_id": "ff4c162f-35a6-40af-a6c5-641327922b7d"
},
"status": "ok",
"message": "Ramp calculation",
"success": true
}