Overview

The Infoplaza Weather Climate API provides weather climate data for a specified location. The API returns weather climate information by month based on the provided latitude and longitude coordinates.

Authentication

To use the API, a token is required for authentication. Include the token as a query parameter in your request.

Request

gethttps://api.infoplaza.com/weather/v1/climate

Get climate data for a specific location

Parameters

latitude
number
required
Latitude coordinate
longitude
number
required
Longitude coordinate
token
string
required
Authentication token

Endpoint structure

GET https://api.infoplaza.com/weather/v1/climate?latitude={latitude}&longitude={longitude}&token={token}

Responses

200Successful response
latitude
number
The latitude coordinate
longitude
number
The longitude coordinate
location
string
The name of the location
country
string
The name of the country
period
string
The length of a period (month, 15 days, 10 days)
climate
array
Contains 12 items with an interval of 1 month between items. However, in the future it will be possible to get data per 10 days and per 15 days. So always check the month and period fields (if available).
month
number
Month number
period
number
Period number
temperatureHigh
number
Average high temperature
temperatureLow
number
Average low temperature
seawaterTemperature
number
Average seawater temperature
sunshineHours
number
The average amount of sunshine per day
precipitationDays
number
The average amount of days with precipitation
400Bad Request
status
string
message
string
404Location not found
status
string
message
string

Example

Request

GET https://api.infoplaza.com/weather/v1/climate?latitude=52.2&longitude=4.18&token=ip-5c126f7a-1bd0-4d28-8220-8735ae296f2a

Response

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 { "latitude": 52.105, "longitude": 4.276, "location": "Scheveningen", "country": "Nederland", "period": "month", "climate": [ // 12 items { "month": 1, "period": 1, "temperatureHigh": 6.4, "temperatureLow": 3.2, "sunshineHours": 3, "precipitationDays": 11, "waterTemperature": 6.3 }, { "month": 2, "period": 1, "temperatureHigh": 6.8, "temperatureLow": 2.4, "sunshineHours": 4, "precipitationDays": 9, "waterTemperature": 5.3 }, { "month": 3, "period": 1, "temperatureHigh": 9.5, "temperatureLow": 3.9, "sunshineHours": 6, "precipitationDays": 7, "waterTemperature": 6.2 }, { "month": 4, "period": 1, "temperatureHigh": 12.7, "temperatureLow": 5.9, "sunshineHours": 8, "precipitationDays": 6, "waterTemperature": 8.8 }, { "month": 5, "period": 1, "temperatureHigh": 16, "temperatureLow": 9.3, "sunshineHours": 9, "precipitationDays": 7, "waterTemperature": 12.1 }, { "month": 6, "period": 1, "temperatureHigh": 19.2, "temperatureLow": 12.7, "sunshineHours": 9, "precipitationDays": 7, "waterTemperature": 15.8 }, { "month": 7, "period": 1, "temperatureHigh": 21.2, "temperatureLow": 14.9, "sunshineHours": 9, "precipitationDays": 7, "waterTemperature": 18.4 }, { "month": 8, "period": 1, "temperatureHigh": 21.5, "temperatureLow": 15, "sunshineHours": 8, "precipitationDays": 9, "waterTemperature": 19.4 }, { "month": 9, "period": 1, "temperatureHigh": 19, "temperatureLow": 12.8, "sunshineHours": 6, "precipitationDays": 8, "waterTemperature": 17.9 }, { "month": 10, "period": 1, "temperatureHigh": 14.8, "temperatureLow": 10, "sunshineHours": 4, "precipitationDays": 11, "waterTemperature": 14.7 }, { "month": 11, "period": 1, "temperatureHigh": 10.3, "temperatureLow": 6.3, "sunshineHours": 3, "precipitationDays": 11, "waterTemperature": 11.1 }, { "month": 12, "period": 1, "temperatureHigh": 8.1, "temperatureLow": 4.8, "sunshineHours": 2, "precipitationDays": 12, "waterTemperature": 8 } ] }

Rate Limit

The current rate limit is set to 100 requests per minute. If you exceed this limit, your requests will be throttled, and you will receive an error response.

If your use case requires a higher rate limit, please contact the Infoplaza support team to discuss potential options or to upgrade your plan.