/v1/air-density
Moist-air density
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/hotairballoon-api/v1/air-density" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hotairballoon-api/v1/air-density", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hotairballoon-api/v1/air-density");
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/hotairballoon-api/v1/air-density",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Air density ρ = (P − 0.378·Pv) ÷ (R·T), where Pv is the water-vapour pressure (relative humidity × the saturation pressure). Counter-intuitively, humid air is LESS dense than dry air at the same temperature and pressure, because a water molecule is lighter than the N₂/O₂ it replaces — so it slightly reduces a balloon's lift and an aircraft's performance. It falls with temperature and rises with pressure.",
"inputs": {
"temp_c": 15,
"pressure_pa": 101325,
"relative_humidity_pct": 50
},
"air_density_kg_m3": 1.2211,
"dry_air_density_kg_m3": 1.225
},
"meta": {
"timestamp": "2026-06-07T08:18:01.266Z",
"request_id": "254bad0f-b3a7-43a1-a24e-e2d5bbb83ec3"
},
"status": "ok",
"message": "Air density",
"success": true
}