Vai al contenuto
GET /v1/force

Extend and retract force

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/hydrauliccylinder-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}