Aller au contenu
GET /v1/lift

Thermal lift from the temperature difference

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/hotairballoon-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/hotairballoon-api/v1/lift" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hotairballoon-api/v1/lift", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hotairballoon-api/v1/lift");
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/lift",
    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": {
        "note": "A hot-air balloon floats because the heated air inside is less dense than the air outside: gross lift = envelope volume × (outside density − inside density). The hotter the envelope and the colder the day, the bigger the lift — which is why balloons fly best on cool mornings. Subtract the envelope, basket, burner and fuel to get the payload. Nylon limits the air to ~120 °C, capping the lift per cubic metre.",
        "inputs": {
            "volume_m3": 2500,
            "pressure_pa": 101325,
            "ambient_temp_c": 15,
            "internal_temp_c": 100,
            "envelope_mass_kg": 250
        },
        "gross_lift_n": 6841.3,
        "gross_lift_kg": 697.62,
        "net_payload_kg": 447.62,
        "ambient_density_kg_m3": 1.225,
        "internal_density_kg_m3": 0.946
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:01.372Z",
        "request_id": "1015b817-c6f6-4593-9e78-23f7369939a4"
    },
    "status": "ok",
    "message": "Balloon lift",
    "success": true
}