{"openapi":"3.1.0","info":{"title":"Climate API","version":"1.0.0","description":"Classify any location's climate with the Köppen-Geiger system — the standard used across geography, ecology, agriculture and architecture. Provide a location's twelve monthly mean temperatures and precipitation totals and get back its climate code (for example Cfb or BWh), the climate group and full name, a description, and a block of derived statistics (annual mean temperature, annual precipitation, warmest and coldest month, driest month, months above 10 °C, summer-precipitation share and the aridity threshold). The hemisphere is auto-detected from the temperature curve, or you can set it explicitly. A reference endpoint returns all thirty Köppen-Geiger codes with names, groups, descriptions and example cities. Every endpoint accepts input via the query string or the request body and returns lean JSON. Pure server-side computation (no third-party upstream), so responses are instant and always available. Ideal for EdTech and geography tools, AgTech and crop-suitability apps, architecture and GIS pipelines.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/climate-api","description":"oanor gateway"}],"tags":[{"name":"Climate"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/classify":{"get":{"operationId":"get_v1_classify","tags":["Climate"],"summary":"Köppen-Geiger code from monthly data","description":"","parameters":[{"name":"monthly_temp","in":"query","required":true,"description":"12 monthly mean temps °C (Jan..Dec)","schema":{"type":"string"},"example":"5,5,7,9,13,16,18,18,15,11,7,5"},{"name":"monthly_precip","in":"query","required":true,"description":"12 monthly precip mm (Jan..Dec)","schema":{"type":"string"},"example":"55,41,42,44,49,45,45,50,49,69,59,55"},{"name":"hemisphere","in":"query","required":false,"description":"north|south (auto-detected)","schema":{"type":"string"},"example":"north"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/code":{"get":{"operationId":"get_v1_code","tags":["Climate"],"summary":"Single code detail","description":"","parameters":[{"name":"code","in":"query","required":true,"description":"Köppen code","schema":{"type":"string"},"example":"Cfb"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/codes":{"get":{"operationId":"get_v1_codes","tags":["Climate"],"summary":"All Köppen-Geiger codes","description":"","parameters":[{"name":"group","in":"query","required":false,"description":"Tropical|Arid|Temperate|Continental|Polar","schema":{"type":"string"},"example":"Polar"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":14000,"rps_limit":4,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":500,"monthly_call_quota":175000,"rps_limit":12,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1500,"monthly_call_quota":1300000,"rps_limit":40,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3900,"monthly_call_quota":6500000,"rps_limit":130,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/climate-api"}