Naar de inhoud
GET /v1/friction

Flat-surface friction

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/incline-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}