{"openapi":"3.1.0","info":{"title":"ADA Ramp API","version":"1.0.0","description":"ADA wheelchair-ramp maths as an API, computed locally and deterministically — the run, landing and slope numbers a builder or accessibility planner sizes a ramp by. The rule the ADA fixes is 1 inch of rise per 12 of run, a maximum 8.33 % slope, so the ramp endpoint turns a rise into the ramp: run = rise × 12 (or × 16 / × 20 for a gentler grade if you have the room), plus the level landings the code requires — a 5-foot landing top and bottom and another between runs whenever the rise exceeds 30 inches — and the total length end to end, so a 24-inch rise needs a 24-foot run and 34 feet overall, while a 36-inch rise breaks into two runs with an intermediate landing for 51 feet. The fit endpoint answers the real-world question: does a ramp for this rise fit the run you have? It returns the minimum run an ADA 1:12 ramp needs, whether your space is enough, and the slope you would actually get if you forced it in — flagging when that exceeds 8.33 % and you need a switchback or a lower rise. Everything is computed locally and deterministically, so it is instant and private. Ideal for construction, accessibility, home-modification and contractor app developers, ramp-estimator and code-check tools, and building software. Pure local computation — no key, no third-party service, instant. Confirm against current ADA and local code. Live, nothing stored. 2 compute endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/adaramp-api","description":"oanor gateway"}],"tags":[{"name":"Ramp"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/fit":{"get":{"operationId":"get_v1_fit","tags":["Ramp"],"summary":"Does it fit the run?","description":"","parameters":[{"name":"rise","in":"query","required":true,"description":"Vertical rise","schema":{"type":"string"},"example":"10"},{"name":"available_run","in":"query","required":true,"description":"Available horizontal run","schema":{"type":"string"},"example":"120"},{"name":"unit","in":"query","required":false,"description":"in or ft (default in)","schema":{"type":"string"},"example":"in"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/ramp":{"get":{"operationId":"get_v1_ramp","tags":["Ramp"],"summary":"Ramp run + landings","description":"","parameters":[{"name":"rise","in":"query","required":true,"description":"Vertical rise","schema":{"type":"string"},"example":"24"},{"name":"unit","in":"query","required":false,"description":"in or ft (default in)","schema":{"type":"string"},"example":"in"},{"name":"slope_denominator","in":"query","required":false,"description":"Slope 1:N (default 12 = ADA max)","schema":{"type":"string"},"example":"12"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":6500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":457,"monthly_call_quota":52400,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1245,"monthly_call_quota":217500,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3935,"monthly_call_quota":1278000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/adaramp-api"}