Aller au contenu
GET /v1/mach

Mach number

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/reynolds-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/reynolds-api/v1/mach" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reynolds-api/v1/mach", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reynolds-api/v1/mach");
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/reynolds-api/v1/mach",
    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": "M = v/c. Sound speed c = √(γRT) for an ideal gas (air: γ=1.4, R=287). Subsonic < 0.8, transonic 0.8–1.2, supersonic 1.2–5, hypersonic > 5.",
        "inputs": {
            "velocity": 340,
            "sound_speed": 343
        },
        "flow_regime": "transonic",
        "mach_number": 0.991254
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:24.627Z",
        "request_id": "ae1cfe46-5ef2-4043-b9ee-a867ba7cb1cd"
    },
    "status": "ok",
    "message": "Mach number",
    "success": true
}