GuidesAPI Reference
Guides

Get started with the HERE Fuel Prices API

This section outlines how to quickly get started using the HERE Fuel Prices API on the HERE platform.

📘

Note

This section provides information on the minimum setup required to quickly begin using the HERE Fuel Prices API. For more detailed information on HERE account setup, project creation, service linking, app registration, and authentication, see the Identity and Access Management Developer Guide.

Get a HERE account

Obtain access to the HERE platform through your organization administrator's invitation, or contact us to learn about the costs of this feature.

  • If your company has already established a HERE platform organization, contact your organization admin who can invite you to join the organization.
📘

Note

If you have signed up for the Base Plan, see HERE Base Plan - Pricing to learn about your cost for using this feature.

Get an API key

To get an API key, follow these steps:

  1. Sign in to the HERE platform using your HERE account.
  2. Select the Access Managerfrom the launcher.
  3. Select the Apps tab and click Register new app.
  4. Enter a name for the app.
  5. Click Register. The HERE platform creates a new app with a unique app ID.
  6. On the Credentials tab, select API Keys and then click Create API key to generate a maximum of two API Keys for your app authentication credentials. The API key is created and displayed.

Send a request

The Fuel Prices API uses the following base URL: https://fuel.hereapi.com/v3/stations/ The following example query uses the HTTP GET method to request stations within 5 km of a point in Berlin.

https://fuel.hereapi.com/v3/stations
?prox=52.516667,13.383333,5000
&apiKey=\{YOUR\_API\_KEY\}

Next steps

HERE encourages you to view the tutorials, which walk you through various fuel pricing and fuel station scenarios, starting with the simplest, Fuel station. For more information, see the API Reference. For more information,see Cross-Domain JavaScript Requests.