GuidesAPI Reference
Guides

Fueltypes

This resource retrieves a list of fuel types. Requests for this resource use the HTTP GET method.

Request

This code block shows a search request for the fueltypes resource:

https://fuel.hereapi.com/v3/fuelTypes
?apiKey=\{YOUR\_API\_KEY\}

Request Parameters

The following table documents both required and optional request parameters supported by the fueltypes resource.

ParameterRequiredDescription
app_id - legacyYesA-20 byte Base64 URL-safe encoded string used for the authentication of the client app. You must include authentication with every request. For more information on authentication, see the Identity and Access Management Developer Guide.
app_code - legacyYesA-20 byte Base64 URL-safe encoded string used for the authentication of the client app. You must include authentication with every request. For more information on authentication, see the Identity and Access Management Developer Guide.
apiKeyYesA 43-byte Base64 URL-safe encoded string used for the authentication of the client app. API Keys never expire but you can disable your API Keys at any time. You can't have more than two API Keys for one app at the same time. You must include an apiKey with every request. For more information on authentication, see the Identity and Access Management Developer Guide.
localeNoThe two-letter language code in ISO 639-1 format, determines which language is in the response. Default: en. If the locale isn't supported, the response is empty.

Response

For more information on responses to queries for the fueltype resource, see FuelStationsResultType response.