How to get details for a fuel station by station ID

This section provides an example of a request for detailed information about a specific fuel station.

📘

Note

This example uses a HERE API key to authenticate your request. For the available authentication options, see the Identity and Access Management Developer Guide.

User story

You want to get the fuel station details using the station ID which you previously received.

Request summary

ResourceDescription
stations/bulkRetrieves fuel price information and available details for one or more fuel stations identified by their station IDs.
idA known fuel station id.

Request

📘

Note

id values change without notice. If the id is no longer available, the response returns blank.

This code block demonstrates the complete request, specifying that the response data is in JSON format.

https://fuel.hereapi.com/v3/stations/bulk
?ids=276u33d9-7642e89e6c884fe697aee09fa91e21be
&apiKey={YOUR_API_KEY}

Response

The response to the request contains:

  • fuel price information

This is an example of the response in JSON format:

{
    "total": 1,
    "limit": 1,
    "count": 1,
    "stations": [
        {
            "id": "276u33d9-7642e89e6c884fe697aee09fa91e21be",
            "prices": [
                {
                    "price": 2.059,
                    "fuelType": "55",
                    "unit": "l",
                    "currency": "EUR",
                    "modified": "2026-06-11T05:40:36.000Z"
                },
                {
                    "price": 1.789,
                    "fuelType": "1",
                    "unit": "l",
                    "currency": "EUR",
                    "modified": "2026-06-11T07:07:06.000Z"
                },
                {
                    "price": 2.179,
                    "fuelType": "40",
                    "unit": "l",
                    "currency": "EUR",
                    "modified": "2026-06-11T05:40:36.000Z"
                },
                {
                    "price": 1.869,
                    "fuelType": "53",
                    "unit": "l",
                    "currency": "EUR",
                    "modified": "2026-06-11T07:07:06.000Z"
                },
                {
                    "price": 1.809,
                    "fuelType": "54",
                    "unit": "l",
                    "currency": "EUR",
                    "modified": "2026-06-11T07:07:06.000Z"
                }
            ],
            "stationDetails": {}
        }
    ]
}

For more information about responses to this type of request, see Fuel Stations Response.


Did this page help you?