Aller au contenu
GET /v1/helium

Helium lift of a balloon

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/balloon-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/balloon-api/v1/helium" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/balloon-api/v1/helium", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/balloon-api/v1/helium");
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/balloon-api/v1/helium",
    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": "Helium lift = inflated volume × (air − helium density) = ~1.046 g per litre. A fully inflated 11\" latex balloon (~11.4 L) lifts about 12 g gross, ~9 g after the balloon's own weight. Net lift floats the string and any attached weight.",
        "inputs": {
            "diameter_in": 11,
            "balloon_weight_g": 2.8
        },
        "net_lift_g": 9.15,
        "gross_lift_g": 11.95,
        "volume_liters": 11.42
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:49.943Z",
        "request_id": "87e3d522-4906-4087-bb41-d58b2e515974"
    },
    "status": "ok",
    "message": "Helium lift",
    "success": true
}