Map Image API Developer's Guide

Constructing a Request

A request to the Map Image API includes the basic elements shown in the following table and, in addition, it may contain resource-specific parameters.

Table 1. Basic Request Elements
Element Value/Example Description
Base URL

https://image.maps.ls.hereapi.com

Production environment when you use an API Key or an authentication token. For more information, see Authentication Examples.
Legacy Base URL

https://image.maps.api.here.com

Production environment when you use an app_id/app_code pair. For more information, see Authentication Examples.
Path /mia/1.6/  
Resource One of the resource names supported by the service, see Supported Resources

Every request must use the HTTP method GET.

Application Code - Legacy ?app_code={YOUR_APP_CODE} Substitute your own unique app_code. For more information, see Authentication Examples.
Application Id - Legacy &app_id={YOUR_APP_ID} Substitute your own unique app_id. For more information, see Authentication Examples.
API Key ?apiKey={YOUR_API_KEY} Substitute your own unique apiKey. For more information, see Authentication Examples.
This example request uses an HTTP GET to request the default map image.
https://image.maps.ls.hereapi.com/mia/1.6/mapview
?apiKey={YOUR_API_KEY}
Note: This example uses a HERE API Key to authenticate your request. For information on other possible options, see Authentication Guide. For examples of how to use the other authentication options with the Map Image API, see Authentication Examples.