/v1/tank
Solar storage tank size
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/solarthermal-api/v1/tank" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solarthermal-api/v1/tank", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solarthermal-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/solarthermal-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": "Solar storage ≈ 1.5 gallons per square foot of collector (1.5–2 for more cloudy-day carry-over). Too small a tank overheats and stalls the collector on a sunny afternoon; too large never reaches a useful temperature. Size the tank to a day or two of hot-water use and insulate it well.",
"inputs": {
"gallons_per_sqft": 1.5,
"collector_area_sqft": 40
},
"storage_gallons": 60
},
"meta": {
"timestamp": "2026-06-06T23:53:57.436Z",
"request_id": "349df671-d111-4a72-a02f-e4724b3940c6"
},
"status": "ok",
"message": "Tank size",
"success": true
}