Zum Inhalt springen
GET /v1/tank

Solar storage tank size

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/solarthermal-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}