Aller au contenu
GET /v1/velocity

Velocity from Froude

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/froude-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/froude-api/v1/velocity" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/froude-api/v1/velocity", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/froude-api/v1/velocity");
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/froude-api/v1/velocity",
    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": "v = Fr·√(g·L).",
        "inputs": {
            "froude": 1,
            "length": 0.5,
            "gravity": 9.80665
        },
        "regime": "critical",
        "velocity_ms": 2.214345,
        "velocity_kmh": 7.9716
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:28.723Z",
        "request_id": "e9490961-4dab-4ce2-bbb9-d8e13283a3e4"
    },
    "status": "ok",
    "message": "Velocity from Froude",
    "success": true
}