Climate Zone API

Fork me on GitHub

Rest API for the Koeppen Geiger Climate Classification System

This is a rest API for the world's climate zones according to the Köppen climate classification. It is built with Laravel Lumen.

Climate data is from this site run by the Institute for Veterinary Public Health and the Provincial Government of Carinthia in Austria.

Query By Location

Search for a particular location by passing a latitude and longitude.

http://climateapi.scottpinkelman.com/api/v1/location/[latitude]/[logintitude]

Naples, Italy

http://climateapi.scottpinkelman.com/api/v1/location/40.8539645/14.1765625

The latitude and longitude data is formatted to the nearest .25 and .75, so they API will return a climate zone based on the rounded values:

{ "request_values": { "lat": 40.8539645, "lon": 14.1765625 }, "return_values": [ { "lat": 40.75, "lon": 14.25, "koppen_geiger_zone": "Csa", "zone_description": "Mediterranean, hot summer" } ] }

Query by Zone

Search for a particular zone. See Wikipedia for a detailed listing of climate zone codes.

http://climateapi.scottpinkelman.com/api/v1/kg-zone/[zode-code]

Mid-latitude steppe

http://climateapi.scottpinkelman.com/api/v1/kg-zone/Bsk