Global Precipitation Maps History&Forecast
Loading...
Global Precipitation Maps History&Forecast
Get current, forecast and historical global precipitation weather maps with a 10 minutes-step via the easy-to-work API.
Features of Global Precipitation Map
URL format and parameters
Use the following URL format and parameters to get weather maps. Please pay attention to the URL example.
https://maps.openweathermap.org/maps/2.0/radar/forecast/{z}/{x}/{y}?appid={API key}&tm={date}Parameters | ||
|---|---|---|
| required | Number of zoom level The minimum value is 3, and the maximum value is 7.You could find information about correlation between zoom levels, X, Y tile coordinate numbers and level scale here |
| required | Number of x tile coordinate. You could find information about correlation between zoom levels, X, Y tile coordinate numbers and level scale here |
| required | Number of y tile coordinate. You could find information about correlation between zoom levels, X, Y tile coordinate numbers and level scale here |
| required | Your unique API key (you can always find it on your account page under the "API key" tab) |
| required | Date and time of (Unix time, UTC), e.g. 1600782000. To get historical or forecast data, please specify the date in your API request. To get current data, please specify the the nearest time in the past rounded up to 10 minutes |
Please pay attention to the points below to avoid possible errors:
https://maps.openweathermap.org/maps/2.0/radar/forecast/6/13/24?&appid={API key}&tm=1600781400You need to insert the generated URL into special plugins.
For example, Leaflet, OpenLayers. You can also use any other apps that support the display of layers. Learn more.
Example of Global Precipitation Map layer
Please find below Global Precipitation Map layer example.
https://maps.openweathermap.org/maps/2.0/radar/forecast/7/4/2?&appid={API key}&tm=1703235600https://maps.openweathermap.org/maps/2.0/radar/forecast/7/4/2?&appid={API key}&tm=1703241000Libraries to connect weather layers
Open Layers
The following functions are available for the OpenLayers library:
Leaflet
The OpenWeatherMap javascript library is designed to work with the Leaflet mapping service. The current version of the library allows the following:
Using OpenWeatherMap weather tiles with leaflet: PDF