/v1/tank
Usable propane + BTU energy
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/propane-api/v1/tank" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/propane-api/v1/tank", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/propane-api/v1/tank");
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/propane-api/v1/tank",
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": "Liquid propane is 4.24 lb/gal and holds 91,452 BTU/gal (21,569 BTU/lb). Portable cylinders are rated by the propane weight they hold; bulk tanks are filled to 80 % of their water capacity to leave room for expansion.",
"basis": "cylinder rated by propane weight",
"inputs": {
"unit": "lb",
"tank_size": 20
},
"total_btu": 431653,
"usable_propane_lb": 20,
"usable_propane_gal": 4.72
},
"meta": {
"timestamp": "2026-06-06T07:14:06.284Z",
"request_id": "96961aaa-d03c-4ff5-83b5-38cdcea2a98f"
},
"status": "ok",
"message": "Tank energy",
"success": true
}