/v1/speed
Piston speed from flow
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/speed" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydrauliccylinder-api/v1/speed", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydrauliccylinder-api/v1/speed");
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/speed",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Piston speed = oil flow ÷ piston area. Extending fills the full bore, so for a given pump flow the extend stroke is the slower one; retracting fills only the smaller annulus, so it moves faster (and needs a bigger flow path for the oil leaving the bore side). Speed and force trade off — the same flow and pressure give a fast light stroke or a slow strong one depending on the area.",
"inputs": {
"rod_mm": 56,
"bore_mm": 100,
"flow_lpm": 30
},
"extend_speed_mm_s": 63.7,
"retract_speed_mm_s": 92.7
},
"meta": {
"timestamp": "2026-06-06T23:53:53.233Z",
"request_id": "8934722f-4d71-4aac-b1e4-10469578bab6"
},
"status": "ok",
"message": "Piston speed",
"success": true
}