API keys

Note

This topic describes how to use API keys on the HERE developer portal. For instructions on using API keys on the HERE platform, see API keys.

API key credentials provide simple and secure authentication of your application. Ensure the continued security of your application over time by rotating your API key credentials. This is done by creating a second API key for your application and deleting the original key when it is no longer required. You can use a maximum of two API keys at once for each application.

Step 1: Register your app

To create register your app, follow these steps:

  1. If you don't already have a HERE account, see Get a HERE account.
  2. Sign in to developer.here.com.
  3. Click your name, select Projects, and then choose your project from the list. Your project details and available application credentials are then displayed.
  4. Select JavaScript or REST and click Generate App. When your application is created, its App ID is displayed.

Step 2: Get an API key

  1. Sign in to developer.here.com.
  2. Click your name, select Projects, and then choose your project from the list. Your project details and available application credentials are then displayed.
  3. Click Create API key to generate a maximum of two API keys for your application. The API key is created and displayed.

Note

If you are upgrading to API key and currently have old app code credentials, you can remove them by clicking Remove APP CODE credentials and use your new API key credentials in their place.

Step 3: Use the API key

To use the API key in a request, specify the key in the apiKey parameter in the request:

Example

https://geocoder.ls.hereapi.com/search/6.2/geocode.json
?languages=en-US
&maxresults=4
&searchtext=Sunnyvale
&apiKey={YOUR_API_KEY}

Note

Ensure that you use the correct domain names with API key and OAuth 2.0 token credentials. See Domain names for HERE services for more information.

results matching ""

    No results matching ""