Naar de inhoud
GET /v1/annual

Per-year temperature & precipitation trend

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "model": "EC_Earth3P_HR",
        "years": [
            {
                "year": 2025,
                "mean_temperature_c": 10.8,
                "total_precipitation_mm": 888
            },
            {
                "year": 2026,
                "mean_temperature_c": 11.4,
                "total_precipitation_mm": 529
            },
            {
                "year": 2027,
                "mean_temperature_c": 10.5,
                "total_precipitation_mm": 801
            },
            {
                "year": 2028,
                "mean_temperature_c": 11,
                "total_precipitation_mm": 630
            },
            {
                "year": 2029,
                "mean_temperature_c": 10.3,
                "total_precipitation_mm": 636
            },
            {
                "year": 2030,
                "mean_temperature_c": 12.4,
                "total_precipitation_mm": 538
            },
            {
                "year": 2031,
                "mean_temperature_c": 11.6,
                "total_precipitation_mm": 570
            },
            {
                "year": 2032,
                "mean_temperature_c": 11,
                "total_precipitation_mm": 635
            },
            {
                "year": 2033,
                "mean_temperature_c": 10.9,
                "total_precipitation_mm": 552
            },
            {
                "year": 2034,
                "mean_temperature_c": 10.9,
                "total_precipitation_mm": 651
            },
            {
                "year": 2035,
                "mean_temperature_c": 10.7,
                "total_precipitation_mm": 615
            },
            {
                "year": 2036,
                "mean_temperature_c": 10.8,
                "total_precipitation_mm": 655
            },
            {
                "year": 2037,
                "mean_temperature_c": 10.5,
                "total_precipitation_mm": 549
            },
            {
                "year": 2038,
                "mean_temperature_c": 10,
                "total_precipitation_mm": 649
            },
            {
                "year": 2039,
                "mean_temperature_c": 10.8,
                "total_precipitation_mm": 884
            },
            {
                "year": 2040,
                "mean_temperature_c": 11.6,
                "total_precipitation_mm": 647
            },
            {
                "year": 2041,
                "mean_temperature_c": 10.8,
                "total_precipitation_mm": 607
            },
            {
                "year": 2042,
                "mean_temperature_c": 11.1,
                "total_precipitation_mm": 680
            },
            {
                "year": 2043,
                "mean_temperature_c": 11.2,
                "total_precipitation_mm": 600
            },
            {
                "year": 2044,
                "mean_temperature_c": 11.5,
                "t
…