Naar de inhoud
GET /v1/classify

Köppen-Geiger code from monthly data

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "code": "Cfb",
        "group": "Temperate",
        "hemisphere": "north",
        "statistics": {
            "coldest_month_c": 5,
            "driest_month_mm": 41,
            "warmest_month_c": 18,
            "annual_precip_mm": 603,
            "months_above_10c": 6,
            "annual_mean_temp_c": 10.8,
            "summer_precip_share": 0.47,
            "aridity_threshold_mm": 36
        },
        "description": "No dry season, warm summer.",
        "climate_name": "Oceanic"
    },
    "meta": {
        "timestamp": "2026-05-30T22:48:31.401Z",
        "request_id": "a4d65d9e-71d0-46b7-9864-eec1ba7a1f8e"
    },
    "status": "ok",
    "message": "Climate classified",
    "success": true
}