Skip to content
GET /v1/friction

Flat-surface friction

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/friction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/incline-api/v1/friction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/incline-api/v1/friction");
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/friction",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "formula": "f = μ·N; angle of repose = atan(μ).",
        "mass_kg": 5,
        "normal_force_n": 49.03325,
        "friction_force_n": 19.6133,
        "angle_of_repose_deg": 21.801409,
        "friction_coefficient": 0.4
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:44.011Z",
        "request_id": "d4359e00-cc09-4688-bfbd-50bd4e47960f"
    },
    "status": "ok",
    "message": "Flat-surface friction",
    "success": true
}