/v1/classify
Köppen-Geiger code from monthly data
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}