Naar de inhoud
GET /v1/meta

Parameters, units & notes

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "NASA POWER provides solar-resource and meteorological data for any point on Earth, derived from NASA satellite and reanalysis data. /v1/climatology?lat=52.5&lon=13.4 returns long-term monthly climatology normals (and an annual value) — by default GHI (solar irradiance), temperature, wind, humidity and precipitation — ideal for solar-site assessment and agroclimatology; choose parameters with params=ALLSKY_SFC_SW_DWN,T2M,WS10M,… /v1/solar?lat=52.5&lon=13.4&start=20230601&end=20230831 returns the daily series over a range (up to 366 days), defaulting to the solar-resource set: global (GHI), direct-normal (DNI) and diffuse irradiance, clear-sky GHI and the clearness index — the raw resource data for sizing PV and CSP systems. Values are kWh/m²/day for irradiance, °C for temperature, m/s for wind, % for humidity and mm/day for precipitation; missing values are null. Daily data spans 1981-present. Data from NASA POWER (freely available). A solar-resource / agroclimatology data source — distinct from PV-system energy simulation (PVGIS) and historical-weather records. Ideal for solar energy, agriculture, building-energy and climate applications.",
        "source": "NASA POWER — Prediction Of Worldwide Energy Resources (power.larc.nasa.gov)",
        "endpoints": [
            "/v1/climatology",
            "/v1/solar",
            "/v1/meta"
        ],
        "parameters": {
            "T2M": "Temperature at 2 m",
            "RH2M": "Relative humidity 2 m",
            "WS10M": "Wind speed at 10 m",
            "WS50M": "Wind speed at 50 m",
            "T2M_MAX": "Max temperature 2 m",
            "T2M_MIN": "Min temperature 2 m",
            "ALLSKY_KT": "Clearness index",
            "PRECTOTCORR": "Precipitation (corrected)",
            "ALLSKY_SFC_SW_DNI": "Direct normal irradiance (DNI)",
            "ALLSKY_SFC_SW_DWN": "Global horizontal irradiance (GHI)",
            "CLRSKY_SFC_SW_DWN": "Clear-sky GHI",
            "ALLSKY_SFC_SW_DIFF": "Diffuse horizontal irradiance"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T17:03:19.510Z",
        "request_id": "413258a1-0883-4706-8514-1d643f6feba3"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}