Aller au contenu
GET /v1/speed

Piston speed from flow

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/hydrauliccylinder-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}