Zum Inhalt springen
GET /v1/force

Extend and retract force

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/hydrauliccylinder-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Force = pressure × piston area. Extending, the oil pushes on the full bore area, so the cylinder is strongest pushing out; retracting, it acts only on the annulus left by the rod, giving less force. That is why a press or a digging machine does its hard work on the extend stroke. The same pressure on a bigger bore gives proportionally more force (area grows with the diameter squared).",
        "inputs": {
            "rod_mm": 56,
            "bore_mm": 100,
            "pressure_bar": 160
        },
        "bore_area_mm2": 7854,
        "extend_force_kn": 125.66,
        "annulus_area_mm2": 5391,
        "retract_force_kn": 86.26
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:53.137Z",
        "request_id": "4c0ea757-b3ab-4fd0-b751-876514bf3ab7"
    },
    "status": "ok",
    "message": "Cylinder force",
    "success": true
}