/v1/area
Collector area for a demand
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/solarthermal-api/v1/area" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solarthermal-api/v1/area", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solarthermal-api/v1/area");
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/area",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Collector area = the daily heat needed (gallons × 8.34 × temperature rise) ÷ (irradiance × efficiency). Size for an average day, not the sunniest — a solar fraction of 60–80 % with a backup heater is usually the economic sweet spot, since chasing 100 % needs a huge array for the worst weeks.",
"inputs": {
"temp_rise_f": 70,
"efficiency_pct": 50,
"daily_hot_water_gallons": 60,
"daily_irradiance_btu_sqft": 1800
},
"collector_area_sqft": 38.9,
"daily_heat_needed_btu": 35028
},
"meta": {
"timestamp": "2026-06-06T23:53:57.245Z",
"request_id": "e9a4c167-2310-4970-9987-67a9a0e31c9b"
},
"status": "ok",
"message": "Collector area",
"success": true
}