/v1/isentropic
Isentropic ratios
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/isentropic-api/v1/isentropic" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/isentropic-api/v1/isentropic", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/isentropic-api/v1/isentropic");
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/isentropic",
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": "Isentropic ratios of stagnation to static for a perfect gas. A/A* is the area relative to the sonic throat.",
"inputs": {
"mach": 2,
"gamma": 1.4
},
"flow_regime": "supersonic",
"area_ratio_A_Astar": 1.6875,
"pressure_ratio_p0_p": 7.824449,
"static_to_stagnation": {
"T_T0": 0.555556,
"p_p0": 0.127805,
"rho_rho0": 0.230048
},
"density_ratio_rho0_rho": 4.346916,
"temperature_ratio_T0_T": 1.8
},
"meta": {
"timestamp": "2026-06-05T03:08:59.532Z",
"request_id": "7a03ff89-c6b9-4ee7-9411-ea105aff4b38"
},
"status": "ok",
"message": "Flow ratios",
"success": true
}