/v1/meta
Spec
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/rocket-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rocket-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rocket-api/v1/meta");
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/rocket-api/v1/meta",
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": {
"notes": "Masses in kg, specific impulse in s, exhaust velocity and Δv in m/s, thrust in N. Standard gravity g0 = 9.80665 m/s².",
"service": "rocket-api",
"formulae": {
"burn": "ṁ = thrust/(Isp·g0) ; burn = propellant/ṁ",
"delta_v": "Δv = Isp·g0·ln(m0/mf)",
"mass_ratio": "m0/mf = exp(Δv/(Isp·g0))"
},
"constants": {
"standard_gravity_ms2": 9.80665
},
"endpoints": {
"GET /v1/burn": "Mass flow rate, burn time and total impulse from thrust and propellant.",
"GET /v1/meta": "This document.",
"GET /v1/delta-v": "Delta-v from wet/dry mass and specific impulse (or exhaust velocity).",
"GET /v1/mass-ratio": "Mass ratio and propellant fraction needed for a target delta-v."
},
"description": "Rocket-propulsion calculator: the Tsiolkovsky delta-v from the mass ratio, the mass ratio and propellant needed for a target delta-v, and burn time and mass flow from thrust."
},
"meta": {
"timestamp": "2026-06-05T11:30:29.198Z",
"request_id": "bffa168a-0574-4654-ac09-95037dc9b62c"
},
"status": "ok",
"message": "Meta",
"success": true
}