The Weather Climate API offers monthly climate data for locations worldwide, providing insights into average temperatures, precipitation trends, and long-term climate patterns. TEST
The climate averages are based on weather observations from the past ten years. This approach is chosen to provide a globally accurate representation of the expected weather in the current (rapidly changing) climate for each month. The 10-year climate average is updated annually, ensuring the data remains relevant and accurate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| lat | number | Required | - | The latitude of the location |
| lon | number | Required | - | The longitude of the location |
| period | string | Optional | month | Period of the data, available values: month, half_month, ten_days |
| Property | Type | Description | |
|---|---|---|---|
latitude | string | Latitude coordinate of the location in decimal degrees. | |
longitude | string | Longitude coordinate of the location in decimal degrees. | |
period | string | The time period over which the climate averages are calculated. | enum: ["month"] |
periods | array | An array of monthly climate data objects, each representing climate statistics for one month. | |
└─month | integer | The month of the year, represented as an integer from 1 (January) to 12 (December). | min: 1
max: 12 |
└─period | integer | An identifier for the specific period, typically 1 for monthly data. | |
└─temperatureHigh | number | The average high temperature for the month, in degrees Celsius. | |
└─temperatureLow | number | The average low temperature for the month, in degrees Celsius. | |
└─precipitationSum | number | The total precipitation for the month, typically measured in millimeters. | |
└─sunshineHours | number | The total number of sunshine hours accumulated over the month. | |
└─windSpeed | number | The average wind speed for the month, in meters per second. | |
└─windGust | number | The average wind gust speed during the month, in meters per second. |
curl "https://api.infoplaza.dev/v1/weather/climate? \
lat=52.02 \
&lon=5.16 \
&api_key=$INFOPLAZA_API_KEY"{
"latitude": "52.02",
"longitude": "5.16",
"period": "month",
"periods": [
{
"month": 1,
"period": 1,
"temperatureHigh": 6.34,
"temperatureLow": 2.25,
"precipitationSum": 81.27,
"sunshineHours": 8117.13,
"windSpeed": 6.09,
"windGust": 9.94
},
{
"month": 2,
"period": 1,
"temperatureHigh": 7.93,
"temperatureLow": 2.08,
"precipitationSum": 69.64,
"sunshineHours": 14942.49,
"windSpeed": 6.62,
"windGust": 10.74
},
{
"month": 3,
"period": 1,
"temperatureHigh": 10.69,
"temperatureLow": 2.9,
"precipitationSum": 57.21,
"sunshineHours": 20172.09,
"windSpeed": 6.37,
"windGust": 10.28
},
{
"month": 4,
"period": 1,
"temperatureHigh": 14.07,
"temperatureLow": 4.84,
"precipitationSum": 45.24,
"sunshineHours": 27135.07,
"windSpeed": 5.66,
"windGust": 9.19
},
{
"month": 5,
"period": 1,
"temperatureHigh": 17.94,
"temperatureLow": 8.38,
"precipitationSum": 56.67,
"sunshineHours": 30101.64,
"windSpeed": 5.51,
"windGust": 9.15
},
{
"month": 6,
"period": 1,
"temperatureHigh": 21.79,
"temperatureLow": 12.5,
"precipitationSum": 66.3,
"sunshineHours": 31006.76,
"windSpeed": 5.14,
"windGust": 8.5
},
{
"month": 7,
"period": 1,
"temperatureHigh": 22.78,
"temperatureLow": 13.72,
"precipitationSum": 74.13,
"sunshineHours": 28796.94,
"windSpeed": 5.29,
"windGust": 8.9
},
{
"month": 8,
"period": 1,
"temperatureHigh": 22.62,
"temperatureLow": 13.44,
"precipitationSum": 85.45,
"sunshineHours": 26962.36,
"windSpeed": 5.08,
"windGust": 8.49
},
{
"month": 9,
"period": 1,
"temperatureHigh": 19.86,
"temperatureLow": 10.87,
"precipitationSum": 64.66,
"sunshineHours": 23179.64,
"windSpeed": 4.74,
"windGust": 7.87
},
{
"month": 10,
"period": 1,
"temperatureHigh": 15.21,
"temperatureLow": 8.67,
"precipitationSum": 86.1,
"sunshineHours": 14946.55,
"windSpeed": 5.28,
"windGust": 8.74
},
{
"month": 11,
"period": 1,
"temperatureHigh": 10.18,
"temperatureLow": 4.96,
"precipitationSum": 80.68,
"sunshineHours": 10893.55,
"windSpeed": 5.46,
"windGust": 8.93
},
{
"month": 12,
"period": 1,
"temperatureHigh": 7.52,
"temperatureLow": 3.46,
"precipitationSum": 83.72,
"sunshineHours": 7331.53,
"windSpeed": 5.95,
"windGust": 9.59
}
]
}