Naar de inhoud
GET /v1/cylinder

Cylinder push/pull force

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "formula": "push F = P·A_bore; pull F = P·(A_bore − A_rod).",
        "bore_area_m2": 0.0019634954,
        "pressure_bar": 100,
        "pull_force_n": 14726.215564,
        "push_force_n": 19634.954085,
        "pull_force_kn": 14.72621556,
        "push_force_kn": 19.63495408,
        "rod_diameter_m": 0.025,
        "annulus_area_m2": 0.0014726216,
        "bore_diameter_m": 0.05
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:40.260Z",
        "request_id": "fdc77ebb-6867-4c86-be9c-8c65fdd5498f"
    },
    "status": "ok",
    "message": "Cylinder push/pull force",
    "success": true
}