Logo
Developer Platform
Docs
API
Pricing
Showcases
API Reference
Geo
/v1/geo/nearby/v1/geo/search
Traffic
/v1/traffic/geo/v1/traffic/overview
Transit
/v1/transit/stops/departures/v1/transit/stops/nearby
Weather
/v1/weather/climate/v1/weather/forecast/v1/weather/models/forecast/v1/weather/models/info/v1/weather/radar/v1/weather/storms/v1/weather/warnings
_Other
/test/error_custom/weather/v1/climate/weather/v1/climate_old/weather/v1/forecast

Weather Climate

GET
/v1/weather/climate

Description

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.

Parameters

ParameterTypeRequiredDefaultDescription
latnumberRequired-The latitude of the location
lonnumberRequired-The longitude of the location
periodstringOptionalmonthPeriod of the data, available values: month, half_month, ten_days

Response

PropertyTypeDescription
latitude
stringLatitude coordinate of the location in decimal degrees.
longitude
stringLongitude coordinate of the location in decimal degrees.
period
stringThe time period over which the climate averages are calculated.
enum: ["month"]
periods
arrayAn array of monthly climate data objects, each representing climate statistics for one month.
└─month
integerThe month of the year, represented as an integer from 1 (January) to 12 (December).
min: 1 max: 12
└─period
integerAn identifier for the specific period, typically 1 for monthly data.
└─temperatureHigh
numberThe average high temperature for the month, in degrees Celsius.
└─temperatureLow
numberThe average low temperature for the month, in degrees Celsius.
└─precipitationSum
numberThe total precipitation for the month, typically measured in millimeters.
└─sunshineHours
numberThe total number of sunshine hours accumulated over the month.
└─windSpeed
numberThe average wind speed for the month, in meters per second.
└─windGust
numberThe average wind gust speed during the month, in meters per second.

Example Request

curl "https://api.infoplaza.dev/v1/weather/climate? \
     lat=52.02 \
     &lon=5.16 \
     &api_key=$INFOPLAZA_API_KEY"

Response

{
  "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
    }
  ]
}