HERE Fuel Prices API
Fuel Prices API Developer's Guide

Get started

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

  1. Get a HERE account
  2. Create a project
  3. Get an API key
  4. Send a request
  5. Next steps
Note:
  1. 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 & Access Management Developer Guide.
  2. The Fuel Prices API is only available to automotive OEMs for in-vehicle applications.

Get a HERE account

You can get started with a free HERE platform account from the flexible HERE Base Plan. For more information, see the HERE Base Plan Pricing. Alternatively, if your company has already established a HERE platform organization, contact your organization admin who can invite you to join your company's organization.

Create a project

To create a project, follow these steps:

  1. Sign in to the HERE platform using your HERE account.
  2. Select the Projects Manager from the launcher.
  3. Click Create new project.
  4. Enter a name for the project. Project names don't have to be unique.
  5. Enter a project ID. Project IDs must be unique within an organization and cannot be changed for the lifetime of the organization.
  6. Optional: Enter a description for the project.
  7. Click Save.

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 Manager from the launcher.
  3. Select the Apps tab and click Register new app.
  4. Enter a name for the app.
  5. Optional: Enter a description for the app.
  6. Optional: Select the project you created in the previous procedure from the Default access to a project field.
  7. Click Register. The HERE platform creates a new app with a unique app ID.
  8. 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

The Fuel Prices API uses the following base URL: https://fuel-v2.cc.api.here.com/

The following example query uses the HTTP GET method to request stations within 5 km of a point in Berlin.


      https://fuel-v2.cc.api.here.com/fuel/stations.xml
      ?prox=52.516667,13.383333,5000
      &apiKey={YOUR_API_KEY}

Next steps

We encourage you to view the tutorials, which walk you through various fuel pricing and fuel station scenarios, starting with the simplist, Fuel station. Parameters used in the tutorials are described in detail in the API Reference.