Ir al contenido
GET /v1/area

Collector area for a demand

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/solarthermal-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}