Mach number & speed of sound
API · /machnumber-api
Mach Number API
Mach-number and compressible-flow aerodynamics as an API, computed locally and deterministically. The mach endpoint computes the local speed of sound a = √(γ·R·T) (air γ = 1.4, R = 287.05 J/(kg·K)) and the Mach number M = v/a from a speed and a static temperature — given directly in °C or kelvin, or derived from a geopotential altitude through the International Standard Atmosphere (troposphere T = 288.15 − 0.0065·h up to 11 km, then the isothermal 216.65 K layer to 20 km) — and classifies the flight regime as subsonic, transonic, supersonic or hypersonic; the speed of sound is about 340.3 m/s at 15 °C and 295 m/s at 11 km. The speed endpoint inverts it, returning v = M·a in m/s, km/h and knots. The stagnation endpoint gives the isentropic total-to-static ratios T0/T = 1 + (γ−1)/2·M², P0/P = (T0/T)^(γ/(γ−1)) and ρ0/ρ = (T0/T)^(1/(γ−1)) — at Mach 2 the total pressure is about 7.82 times the static pressure — and will scale a supplied static temperature and pressure to their stagnation values. Everything is computed locally and deterministically, so it is instant and private. Ideal for aerospace, CFD, flight-simulation, wind-tunnel, UAV and aerodynamics-education app developers, compressible-flow and flight-envelope tools, and engineering software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is compressible aerodynamics; for viscous flow and the Reynolds number use a Reynolds API and for incompressible pressure/velocity a Bernoulli API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 85 ms
- Server probes · 24h
- Subscribers
- 4,452
- active
- Total calls
- 16
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 4,100 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 4,100 calls/month
- 2 req/sec
- Mach + speed of sound + stagnation
- No credit card
Starter
€6.00 /month
- 41,000 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 41,000 calls/month
- 6 req/sec
- ISA altitude, flight regime, knots
- Email support
Pro
€17.00 /month
- 198,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 198,000 calls/month
- 15 req/sec
- CFD & flight-sim pipelines
- Priority support
Mega
€52.00 /month
- 1,160,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1,160,000 calls/month
- 40 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Drag & Terminal Velocity API
Aerodynamic drag and terminal-velocity maths as an API, computed locally and deterministically. The drag endpoint computes the drag force on a body moving through a fluid, F_d = ½·ρ·Cd·A·v² — half the fluid density times the drag coefficient, the reference area and the velocity squared — together with the dynamic pressure ½·ρ·v², from a fluid (air, water, seawater, oil and more, or a custom density), a drag coefficient (given directly or from a built-in shape table) the area and the speed. The terminal endpoint computes the terminal velocity of a falling object, v_t = √(2·m·g/(ρ·Cd·A)) — the steady speed at which drag balances gravity — from the mass and area, or for a sphere from its diameter and material density, in metres per second, km/h and mph (a belly-down skydiver reaches about 55 m/s, 200 km/h). The shapes endpoint lists typical drag coefficients for spheres, cubes, cylinders, flat plates, streamlined bodies, skydivers, cars, parachutes and more. Everything is computed locally and deterministically, so it is instant and private. Ideal for aerodynamics and ballistics tools, skydiving, model-rocketry and motorsport apps, sphere-settling and sedimentation calculators, and physics education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is drag and terminal velocity; for vacuum projectile and SUVAT kinematics use a physics API and for pipe friction pressure drop use a Darcy-Weisbach API.
api.oanor.com/drag-api
Isentropic Flow API
Isentropic compressible-flow (gas-dynamics) maths as an API, computed locally and deterministically. The isentropic endpoint gives the stagnation-to-static ratios of a perfect gas from a Mach number and the heat-capacity ratio γ (1.4 for air): the temperature ratio T0/T = 1 + (γ−1)/2·M², the pressure ratio p0/p = (T0/T)^(γ/(γ−1)), the density ratio and the area ratio A/A* relative to the sonic throat, and classifies the flow as subsonic, sonic or supersonic. The stagnation endpoint turns a static temperature and pressure plus a Mach number into the stagnation (total) conditions, the speed of sound a = √(γRT) and the flow velocity. The mach endpoint inverts the relations, solving the Mach number from a pressure, temperature or area ratio — an area ratio gives both the subsonic and supersonic roots — or from a velocity and temperature. Everything is computed locally and deterministically, so it is instant and private. Ideal for aerospace, propulsion, nozzle-design and wind-tunnel app developers, supersonic-flow and ducting tools, and engineering education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is compressible isentropic flow; for the standard atmosphere use an atmosphere API and for incompressible Bernoulli flow a Bernoulli API.
api.oanor.com/isentropic-api
Rocket Equation API
Rocket-propulsion maths as an API, computed locally and deterministically. The delta-v endpoint applies the Tsiolkovsky rocket equation, Δv = ve·ln(m0/mf) with the exhaust velocity ve = Isp·g0, to give the velocity change a stage can produce from its wet (fuelled) mass, dry (burnout) mass and specific impulse — the delta-v budget that determines which manoeuvres are possible. The mass-ratio endpoint inverts the equation to give the mass ratio m0/mf = exp(Δv/ve) and the propellant mass fraction required to achieve a target delta-v, and, given a dry mass, the wet mass and propellant needed — revealing the steep, exponential tyranny of the rocket equation. The burn endpoint computes the propellant mass-flow rate ṁ = thrust/ve, the burn time and the total impulse from the thrust and propellant mass, and the delta-v if the wet mass is given. Masses are in kilograms, specific impulse in seconds, exhaust velocity and delta-v in metres per second and thrust in newtons, with standard gravity g0 = 9.80665 m/s². Everything is computed locally and deterministically, so it is instant and private. Ideal for aerospace, model-rocketry, spaceflight-simulation and orbital-mission app developers, stage-sizing and trajectory tools, and physics education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is rocket propulsion; for orbital velocity and escape velocity use an orbital-mechanics API.
api.oanor.com/rocket-api
SpaceX API
Latest, next and recent SpaceX launches with mission details, success status, mission patches, webcasts and articles, a single-launch lookup by id, and the full rocket fleet with specs, success rates and imagery. Great for space dashboards, trackers, education and hobby projects.
api.oanor.com/spacex-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Mach Number API?
What's the rate limit for Mach Number API?
How much does Mach Number API cost?
Can I cancel my subscription anytime?
Is Mach Number API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/machnumber-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/machnumber-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/machnumber-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/machnumber-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.