GuidesAPI Reference
Guides

Station Details

The stations resource allows you to retrieve detailed information about a specific fuel station. Requests for this resource use the HTTP GET method.

Request

This code block shows a search request for a station with a specific id.

https://fuel.hereapi.com/v3/stations/276u336w-49700d40d85449ed866e6afcefbc4623.json
?apiKey=\{YOUR\_API\_KEY\}
📘

Note

id values change without notice. If the id is no longer available, the response is a 404 Not Found HTTP status.

Request Parameters

This table documents both mandatory and optional request parameters supported by the station details 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 invalidate 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.
imagedimensionsNoRequest specific maximum size of brand icon image to match UI and bandwidth requirements The format is that specifies dimension for a scaled image by providing either the desired width, desired height, or both. Valid elements are: • w\d+
• h\d+
• w\d+-h\d+ Examples:• imagedimensions=w32-h32
• imagedimensions=h200
📘

Note

The provided values are upper boundaries for the dimensions of the returned image. The solution never scales up small image and maintains the aspect ratio of the original image.

Response

For more information on responses to queries for a specific station, see FuelStationsResultType response.