Skip to main content

Search stations along a route

GET 

/company/stations/route

Endpoint that returns service stations located along a route between two geographical points. Ideal for long trip planning.

Usage Example:

  • Navigation applications for planning refueling stops
  • Logistics systems for optimizing transport routes
  • Road trip planning

Use Cases:

  1. Display stations every 200 km on a 1000 km route
  2. Plan strategic stops on international trips
  3. Optimize routes considering station locations

Request

Responses

List of stations located along the specified route. Includes detailed information for each station:

  • Name and exact location
  • Distance from the main route
  • Prices and available services
  • Indicator if on a toll highway (when with_tolls=true)

Example response:

{
stations: [
{
id: est654,
name: North Route Station,
location: {type: Point, coordinates: [-3.70379, 40.41678]},
address: Kilometer 45 A-1, Madrid,
province: Madrid,
prices: {diesel: 1.42, gasoline: 1.52},
rating: 4.1,
services: [shower, restaurant],
on_toll_road: true
}
]
}