/v1/volume
Swept volume per stroke
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/hydrauliccylinder-api/v1/volume" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydrauliccylinder-api/v1/volume", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydrauliccylinder-api/v1/volume");
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/volume",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "The oil drawn to extend = full bore area × stroke; to retract = annulus area × stroke. The difference is the volume the rod takes up, and the bore-to-annulus area ratio is the cylinder's differential (regeneration) ratio — feeding the rod-side oil back to the bore in a regen circuit speeds the extend stroke at the cost of force. Size the pump and tank for the larger (extend) volume.",
"inputs": {
"rod_mm": 56,
"bore_mm": 100,
"stroke_mm": 500
},
"area_ratio": 1.457,
"extend_volume_l": 3.927,
"retract_volume_l": 2.695,
"rod_displacement_l": 1.232
},
"meta": {
"timestamp": "2026-06-06T23:53:53.330Z",
"request_id": "520a3578-306a-4210-9e14-2209e26b75ef"
},
"status": "ok",
"message": "Swept volume",
"success": true
}