Skip to content
GET /v1/ramp

Force to move a load on a ramp

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/incline-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/incline-api/v1/ramp" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/incline-api/v1/ramp", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/incline-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/incline-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": "A positive force is needed even to ease the load down.",
        "formula": "F_up = m·g·(sinθ + μ·cosθ); F_down = m·g·(sinθ − μ·cosθ).",
        "mass_kg": 10,
        "weight_n": 98.0665,
        "angle_deg": 30,
        "efficiency": 0.658061,
        "self_locking": false,
        "friction_coefficient": 0.3,
        "frictionless_force_n": 49.03325,
        "force_up_constant_velocity_n": 74.511674,
        "force_down_constant_velocity_n": 23.554826
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:44.222Z",
        "request_id": "ed397b1c-6783-437e-854c-51b95484585f"
    },
    "status": "ok",
    "message": "Force to move a load up/down a ramp",
    "success": true
}