Устаревший API

https://api.rainviewer.com/public/maps.json

Purpose and description

The past weather radar map frames (2 hours), updates every 10 minutes.

Please, do not guess timestamps. Use it from this API. One frame generates approximately 40 seconds. If you generate the rounded to 10 minutes timestamp automatically, your application will get 404 responses every 10 minutes for the ~ 40 seconds because the new map still generates in that time.

Using of Timestamps

Timestamps from the API above using as a part of the URL. {ts} part. All available URLs and their parameters are described below. For requesting map data, you should use the https://tilecache.rainviewer.com/v2/ base URL.

URLDescription
radar/{ts}/{size}/{z}/{x}/{y}/{color}/{options}.pngRadar data: displays one tile with the composite radar reflectivity data, with specified size, color scheme, and additional options.
radar/{ts}/{size}/{z}/{latitude}/{longitude}/{color}/{options}.pngRadar data: the same as link above, but with center at specified coordinate (EPSG:4326) with desired zoom size. Great for widgets
composite/{ts}/{big_size}/{color}/{options}.pngComposite image with radar reflectivity for a whole world. Slow generation, up to 10 seconds per image loads. Cannot be smoothed.
coverage/0/{size}/{z}/{x}/{y}.pngCoverage tile: where radar data is available (transparent areas) and where is not (black areas)
coverage/0/{size}/{z}/{latitude}/{longitude}.pngCoverage data as above but for specified center coordinate (latitude, longitude)
coverage/0/{big_size}.pngComposite coverage tile for a whole world at once. Slow generation.

Examples

Look to the separate examples page.

RainViewer RainViewer