Vai al contenuto
GET /v1/tank

Solar storage tank size

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/solarthermal-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

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