/v1/fit
Does it fit the run?
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/adaramp-api/v1/fit" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/adaramp-api/v1/fit", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/adaramp-api/v1/fit");
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/fit",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "The available run is long enough for an ADA 1:12 ramp (8.33 %). Using more of it makes a gentler, easier ramp.",
"inputs": {
"rise": 10,
"unit": "in",
"available_run": 120
},
"fits_ada": true,
"slope_percent": 8.33,
"slope_in_available_run": "1:12",
"available_run_compliant": true,
"required_run_ft_at_1_12": 10
},
"meta": {
"timestamp": "2026-06-06T15:30:50.451Z",
"request_id": "acd39317-fdf5-4659-8d75-6b58ddf74cfa"
},
"status": "ok",
"message": "Ramp fit",
"success": true
}