Skip to main content

Climate Normals

Climate normals are long-term averages of historical weather observations. Usually, these means are calculated over a period of 30 years (“reference period“). However, any other time series of sufficient length can be used to calculate climate normals.

Climate normals represent the typical monthly weather at a given location. The averages can also be used for calculating anomalies of current weather and climate conditions.

Endpoint

Climate normals are provided through this endpoint:

GET https://meteostat.p.rapidapi.com/point/normals

Parameters

In order to query data for any location you’ll need to specify the lat and lon parameters. You will probably also want to add the alt parameter to your request to make the output more precise. If you do not set the alt parameter, Meteostat will detect the elevation using its own elevation model.

ParameterDescriptionTypeRequiredDefault
latThe latitude of the geographic locationFloatYesundefined
lonThe longitude of the geographic locationFloatYesundefined
altThe elevation of the geographic locationIntegerNonull
unitsThe unit system of the meteorological parametersStringNometric

The units parameter takes one of the following values:

  • metric (Celsius, Millimeters, Kilometers per hour)
  • imperial (Fahrenheit, Inches, Miles per hour)
  • scientific (Kelvin, Millimeters, Meters per second)

Response

The data array of the response contains twelve objects (one per month) for every period. Each of these objects includes the following properties. Please note that all units mentioned below refer to the default units setting.

ParameterDescriptionType
startThe first year (YYYY) of the period (if not specified)Integer
endThe last year (YYYY) of the period (if not specified)Integer
monthThe monthInteger
tavgThe average daily air temperature in °CFloat
tminThe average daily minimum air temperature in °CFloat
tmaxThe average daily maximum air temperature in °CFloat
prcpThe monthly precipitation total in mmFloat
wspdThe average wind speed in km/hFloat
presThe average sea-level air pressure in hPaFloat
tsunThe monthly sunshine total in minutes (m)Integer

More information about the data format is available here.

Example

The following example requires the cURL command-line interface. Alternatively, you can use an API client like Postman.

curl --request GET \
--url 'https://meteostat.p.rapidapi.com/point/normals?lat=59.9127&lon=10.7461&alt=26&start=1961&end=1990' \
--header 'x-rapidapi-host: meteostat.p.rapidapi.com' \
--header 'x-rapidapi-key: {key}'

Please replace {key} with your personal API key.

Data Response

The data output returns one object per month. Have a look at this example:

{
"month": 1,
"tavg": -3.8,
"tmin": -6.3,
"tmax": -1.3,
"prcp": 50.9,
"wspd": null,
"pres": 1011.3,
"tsun": 2400
}