GuidesAPI Reference
Guides

How to get a global precipitation weather tile

This section demonstrates a request to get global precipitation image tile which can be overlaid on the map.

📘

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 /v3/tile/5/5/12/precipitation HTTP/1.1
Host: weather.hereapi.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 precipitation image in png format having a resolution of 256 x 256 pixels, that can be overlaid on top of a map.

Response header Last-Modified contains image timestamp.