Naar de inhoud
GET /v1/stagnation

Stagnation conditions

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/isentropic-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/isentropic-api/v1/stagnation" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/isentropic-api/v1/stagnation", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/isentropic-api/v1/stagnation");
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/isentropic-api/v1/stagnation",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Stagnation (total) = static × the isentropic ratio. Speed of sound a = √(γRT); velocity = M·a.",
        "inputs": {
            "mach": 2,
            "gamma": 1.4,
            "gas_constant": 287
        },
        "velocity_ms": 694.377419,
        "static_pressure": 101325,
        "speed_of_sound_ms": 347.188709,
        "pressure_ratio_p0_p": 7.824449,
        "stagnation_pressure": 792812.3017,
        "static_temperature_k": 300,
        "density_ratio_rho0_rho": 4.346916,
        "temperature_ratio_T0_T": 1.8,
        "stagnation_temperature_k": 540
    },
    "meta": {
        "timestamp": "2026-06-05T03:08:59.706Z",
        "request_id": "ad298dc3-ffa5-425d-8a06-96beac6e7722"
    },
    "status": "ok",
    "message": "Stagnation",
    "success": true
}