Global Precipitation Maps
Get current and historical global precipitation weather maps via the easy-to-work API.
Features of Global Precipitation Map
-
Current and historical weather maps
The historical weather map for the previous 2 days with a 10 minutes-step.
-
Resolution less than 1 km
-
Weather map layers: Precipitation layer
-
Weather sources
Global Precipitatoin Map is based on global weather models, satellites, radars and our OWM NWP-ML technology.
-
There is the OpenWeather Interactive Weather Maps with Global Precipitation layer, which provide users with free access to visual data.
URL format and parameters
Use the following URL format and parameters to get weather maps. Please pay attention to the URL example.
API call
https://maps.openweathermap.org/maps/2.0/radar/{z}/{x}/{y}?appid={API key}&tm={date}
Parameters | ||
---|---|---|
{z} |
required | Number of zoom level The minimum value is 3, and the maximum value is 7 |
{x} |
required | Number of x tile coordinate |
{y} |
required | Number of y tile coordinate |
appid |
required | Your unique API key (you can always find it on your account page under the "API key" tab) |
tm |
required | Date and time of (Unix time, UTC), e.g. 1600782000.
To get historical data, please specify the date in the past in your API request. The date must be no earlier than 2 days ago from the current moment. To get current data, please specify the the nearest time in the past rounded up to 10 minutes |
Please pay attention to the poins bellow to avoid possible errors:
- Please specify dates in all API requests.
- Please specify dates with 10 minutes steps. For example, 1600780200, 1600780800, 1600781400, etc.
URL example
https://maps.openweathermap.org/maps/2.0/radar/6/13/24?&appid={API key}&tm=1600781400
You 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.
URL example
https://maps.openweathermap.org/maps/2.0/radar/7/4/2?&appid={API key}&tm=1703171400
Libraries to connect weather layers
Open Layers
The following functions are available for the OpenLayers library:
- Classes of weather layer and weather stations layer
- Possibility to set your own style
- Classes with clustered markers
- Support of marker server clustering
Leaflet
The OpenWeatherMap javascript library is designed to work with the Leaflet mapping service. The current version of the library allows the following:
- Embedding of layer with current weather in cities
- Embedding of layer with weather stations
- The library supports customer clustering