Ir al contenido
GET /v1/mach

Mach number & speed of sound

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/machnumber-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "a = √(γ·R·T) with γ=1.4, R=287.05 J/(kg·K); M = v/a. Pass temperature (°C), temperature_k, or altitude (m, ISA). Speed of sound at 15 °C is ≈340.3 m/s.",
        "inputs": {
            "speed": 680,
            "temperature_source": "temperature_c"
        },
        "regime": "supersonic",
        "mach_number": 1.998282,
        "temperature_k": 288.15,
        "speed_of_sound_ms": 340.292287
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:29.835Z",
        "request_id": "8a312df3-e54d-4695-91fa-b3362eb8c159"
    },
    "status": "ok",
    "message": "Mach number",
    "success": true
}