Vai al contenuto
GET /v1/density-altitude

Pressure & density altitude

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/densityaltitude-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Pressure altitude = field elevation + (29.92 − altimeter setting) × 1000. Density altitude is the altitude the air 'feels like' to the wings and engine — computed here exactly from the ISA density ratio, not the rough 120-ft-per-degree rule. On a hot, high day the density altitude soars: less lift, less thrust and a longer take-off roll, the classic mountain-airport hazard. Above the ISA temperature density altitude exceeds pressure altitude.",
        "inputs": {
            "oat_c": 25,
            "altimeter_inhg": 29.92,
            "field_elevation_ft": 5000
        },
        "isa_temp_c": 5.1,
        "density_ratio": 0.8041,
        "isa_deviation_c": 19.9,
        "density_altitude_ft": 7263,
        "pressure_altitude_ft": 5001
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:54.746Z",
        "request_id": "3dd1f7b8-bf3c-4b0c-a9c3-0be6c2e05f71"
    },
    "status": "ok",
    "message": "Density altitude",
    "success": true
}