Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/solarthermal-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/solarthermal-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solarthermal-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solarthermal-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "notes": "US units. Output = area × daily irradiance × efficiency; area = (gal × 8.34 × ΔT) ÷ (irradiance × efficiency); tank ≈ 1.5 gal/ft². Estimates — for the local solar resource use a solar-irradiance API; for pool heating use a pool API.",
        "service": "solarthermal-api",
        "endpoints": {
            "GET /v1/area": "Collector area to meet a daily hot-water demand.",
            "GET /v1/meta": "This document.",
            "GET /v1/tank": "Solar storage-tank size from collector area.",
            "GET /v1/output": "Useful daily heat from a collector (area × irradiance × efficiency)."
        },
        "description": "Solar-thermal (solar hot water) maths: collector daily output, the collector area for a hot-water demand, and the storage-tank size."
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:57.511Z",
        "request_id": "016613c3-3a72-433e-b764-fd4a2d2ccb6f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}