Geocoder Autocomplete API Developer's Guide

Constructing a Request

A typical request to the Geocoder Autocomplete API includes the basic elements shown in the following table and, in addition, it may contain resource-specific parameters or data.

Table 1. Basic request elements
Element Value/Example Description
Base URL

http://autocomplete.geocoder.api.here.com

http://autocomplete.geocoder.cit.api.here.com

Production environment

CIT environment

For more information about the available environments, see HERE Server Environments.

Path /6.2/  
Resource suggest GET only, specify request details via query parameters
Application Code &app_code={YOUR_APP_CODE} Substitute your own unique app_code
Application Id &app_id={YOUR_APP_ID} Substitute your own unique app_id

This example search request uses HTTP GET to request autocomplete suggestions for the search term Berli:

http://autocomplete.geocoder.cit.api.here.com/6.2/suggest.json
?query=Berli
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}