/v1/output
Collector daily heat output
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/output" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solarthermal-api/v1/output", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solarthermal-api/v1/output");
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/output",
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": "Useful heat = collector area × the daily solar energy hitting it × the collector efficiency (flat-plate ~40–60 %, evacuated tubes higher). A 40 ft² collector under 1,800 BTU/ft²/day at 50 % gives ~36,000 BTU (10.5 kWh) — enough for a family's hot water on a good day. Output drops with cloud, low sun angle and a hotter tank.",
"inputs": {
"efficiency_pct": 50,
"collector_area_sqft": 40,
"daily_irradiance_btu_sqft": 1800
},
"daily_output_btu": 36000,
"daily_output_kwh": 10.55
},
"meta": {
"timestamp": "2026-06-06T23:53:57.344Z",
"request_id": "028cd9ad-d65b-41d1-b34d-13c139bd8328"
},
"status": "ok",
"message": "Collector output",
"success": true
}