Get started
This section outlines how to get started quickly using the HERE Isoline Routing API on the HERE platform.
- Get a HERE account
- Create a project
- Get an API key
- Send a request
- Next steps
Note
This section provides information on the minimum setup required to begin quickly using the HERE Isoline Routing API. For more detailed information on HERE account setup, project creation, service linking, app registration, and authentication, see the Identity & Access Management Guide.
Get a HERE account
If your organization has signed up for HERE Workspace or HERE Marketplace, contact your organization admin, who can invite you to join the HERE platform organization established for your company. You can also request a free trial of the HERE platform if your company does not have an organization established for it. For more information, see the HERE platform pricing.
Create a project
To create a project, follow these steps:
- Sign in to the HERE platform using your HERE account.
- Open the Projects Manager from the launcher.
- Click Create new project.
- Enter a name for the project. Project names don't have to be unique.
- Enter a project ID. Project IDs must be unique within an organization and cannot be changed for the lifetime of the organization. Project IDs must be between 4 and 16 characters in length.
- Optional: Enter an optional description.
- Click Save.
- On the Resources tab, select Services and then click Link a Service.
- Search for the HERE Isoline Routing API service and click Link.
- Click Done.
Get an API key
To get an API key, follow these steps:
- Sign in to the HERE platform using your HERE account.
- Select the Access Manager from the launcher.
- Select the Apps tab and click Register new app.
- Enter a name for the app.
- Optional: Enter a description for the app.
- Optional: Select the project you created in the previous procedure from the Default access to a project field.
- Click Register. The HERE platform creates a new app with a unique app ID.
- On the Credentials tab, select API Keys and then click Create API key to generate a maximum of two API Keys for your application authentication credentials. The API key is created and displayed.
Send a request
An isoline route calculation consists of a single GET request. The required parameters are:
- a
transportMode
, which can currently be either car
or pedestrian
or truck
- either an
origin
or a destination
specified as a pair of WGS84 coordinates in the following form: <latitude>,<longitude>
- a range consisting of a
range[type]
being either distance
or time
and a comma-separated list of range[values]
in meters or seconds depending on the type.
curl -X GET \
'https://isoline.router.hereapi.com/v8/isolines?transportMode=car&range[type]=distance&range[values]=3000&origin=52.5308,13.3847&apikey={YOUR_API_KEY}'
Note
Postman users can import these examples: Import > Paste Raw Text.
If the isoline route calculation was successful, the response contains the calculated isolines with the departure or arrival location and time in one or more isolines
. For further details on the response structure, refer to the Isoline Response.
{
"departure": {
"place": {
"type": "place",
"location": {
"lat": 52.5309797,
"lng": 13.3845615
},
"originalLocation": {
"lat": 52.5307999,
"lng": 13.3847
}
}
},
"isolines": [
{
"range": {
"type": "distance",
"value": 3000
},
"polygons": [
{
"outer": "BGmk9lkDo7tuZAqmF2KmgBsgCuV4KmgBA-qB4KmgBmgB2K8qBAmgB4KwVsgCuVAuVrgCwVA2KmgBA-qB4KmgBsgCuV4KmgB3KmgB9qB-qBrgCuVx2Gy2G3KmgB4KmgBuVuV4KmgBA-qB4KmgBuVuV4KmgBA-qB2KmgB-qB-qBuVAo2En2EsgCtVAtVvVvV1KlgBA7qB2KlgBmgB3KmgB4KwVsgCuVA61C71CAtVtVtVvVrgCtVvV1KlgBA7qB2KlgBsgCtVuVvVwVAuVwVsgCuV4KmgBA61C2K-qBwVuV2KtVAx2G4KlgBmgB3KmgB4KuVsgCsgCuV4KmgBA8qB4KmgBmgB4KmgB3K2KlgBA51C4KlgBmgB1KmgB2K4KmgBA-qB2KmgBsgCuVwVsgCuVA2KlgBA9qB4KlgBuVA-qB-qBuVsgCwVAuVrgC61C51CwVA2KmgBA8qB1KmgBvVwVAuVwVuVAwVrgCuV3KmgBA61C4KmgBuVAuVtVwVA2KmgBAy2G4KmgBuVwV4KmgB3KmgBtVuVtVsgCvVuVAmgBmgBmgBmgBAsgCrgCmgB3KmgB4K4KmgBA-qB3KmgBrgCuV1KmgBA61C3KmgBtVAvVrgClgB1KlgB2K1KmgBA-qB2KmgB-qB-qBsgCuV4KmgBA61C3KmgBtVArgCrgCvVA1KmgB2KmgBwVwVuVqgCsgCsgC4KmgBA-qB3KmgBlgB4KlgB3KtVrgClgB3K9qBAlgB1K3KlgB4KlgBuVvVAtVlgB3KlgB4K7qB-qBvVsgCtVuVAuVuVwVwVsgC61C61CuVAwVrgCmgB3KmgB4K2KmgBA61C1KmgBvVwVAuVwVuVuVsgCuVAwVrgC8qB7qBwVA2KmgBA8qB1KmgBvVwVtVsgCtVuV3KmgBA61C4KmgBuV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gCvVAtVuVtVAvVrgCtVtVtVrgCprDnrDtVrgCprDprD1KlgBA9qB3KlgBrgCtV3KlgB4KlgBsgCrgCuVrgCsgCrgC4KlgBA51C4KlgBsgCtVAvVvVtV1KlgB2KlgBmgB3K81CAkgB1KAvVpgCtV3KlgB4KlgBqgCtV-qB9qB4KlgBA51C2KlgBmgB3K-qBAmgB3KAtVtVtV3KlgBA1rF4KlgBmgB1KmgB2K2KmgBAy2G4KmgBuVA4KlgBAthI3KlgB7qB9qBlgB3K71CAlgB4KtVuVrgCwVtVuVlgB4KlgB3K3KlgBA9qB4KlgBmgB1K-qBAkgB3KwVtVmgB3K4gEAmgB3KuVtVmgB3KmgB4K4KmgBA-qB2KmgBsgCuVwVuVmgB4KmgB3K2KlgBA51C4KlgBuVtVAvVtVtV3KlgBA9qB4KlgBuVAwVwVuVA4KlgBA3gE3KlgBlgB3K9qBAlgB1KtVrgCrgCvV3KlgBAvhI1KlgBlgB1KlgB2KvVsgClgB4KlgB3K1KlgB2KlgBwVtV2KlgB1KlgBvVtV1KlgBA9qB2KlgBwVAorDqrDwVA8qB9qB4KlgBA3gE4KlgBsgCrgC2KlgBA7qB4KlgBmgB3K-qBAmgB4KuVuVuVA4KlgB3KlgBrgCtV1KlgB2KlgBmgB3K-qBAmgB3K2KlgBA7qB4KlgB-qB9qBuVrF4KkQA6a"
}
]
}
]
}
No isoline possible
Some requests will not result in any isoline for a number of reasons. This example requests an isoline in Antarctica.
curl -X GET \
'https://isoline.router.hereapi.com/v8/isolines?transportMode=car&range[type]=distance&range[values]=3000&origin=82.8628,135.00&apikey={YOUR_API_KEY}'
Isoline calculation fails with the following response:
{
"notices":[
{
"title":"Isolines could not be calculated.",
"code":"isolineCalculationFailed"
}
]
}
Next steps
- For a full list of available examples, see the Tutorials chapter.
- For the terms and conditions covering this documentation, see the HERE Documentation License.