GuidesAPI Reference
Guides

Stations Along the Route

This resource retrieves a list of fuel stations that match the specified criteria. Requests for this resource use the HTTP POST method. This supports only corridor searches. Maximum corridor area is 5000 km2

Request

This code block shows a search request for fuel stations along the route from Hamburg, Stormarnplatz to Hamburg, Sommerpfad.

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

The following code block provides an example of a required CorridorSearchRequest with search criteria. The Content-Type is set to application/json in this case. For more information about this object, see CorridorSearchRequest

{
   "maxResults":10,
   "offset":0,
   "fuelType":"-1",
   "imageDimensions":"w32",
   "corridor":{
   "width":5000,
   "points":"53.651624,10.094743;53.652624,10.095743;53.653624,10.096743;
   53.654624,10.097743;53.655624,10.098743;53.656624,10.099743"
   }
}

Response

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