GuidesAPI Reference
Guides

How to get a weather tile with Doppler radar

This section provides an example of a request to get real-time Doppler radar image tile which can be overlaid on the map. For more information, see Weather radar image

📘

Note

Each request is authenticated and requires a valid bearer token to be included in HTTP Authorization header. For more information about obtaining credentials, see the Identity and Access Management Developer Guide.

Request

The code block below demonstrates the complete request.

GET /weather/2.0/tile/5/15/11/1 HTTP/1.1
Host: weather.cc.api.here.com
Authorization: Bearer eyJhbGceOyJSAMPLEiIsImN0eSISAMPLEt7VTFIllwIM0cKNCjN2WCCTqlwEEmk-t3gx1BpqUFoeBSAMPLEvhj8nl-RBGcyoljY...
Cache-Control: no-cache
Accept: image/png

Response

In case of a successfull request the HTTP status code is 200 and the payload of the response contains a Doppler radar image in PNG format having a resolution of 256 x 256 pixels, that can be overlaid on top of a map.

Response cutom header X-RADAR-IMAGE contains image timestamp.