Naar de inhoud
GET /v1/lift

Thermal lift from the temperature difference

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/hotairballoon-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}