Skip to main content

Get stations along a route

GET 

/truckers/map/stations/route

Returns gas stations located near a specified route.
Requires JWT token authentication and is subject to rate limiting.

Main features:

  • Searches for stations close to the route points
  • Ideal for planning refueling stops on long trips
  • Considers a search radius around the route

Usage examples:

  • Planning fuel stops for a trip
  • Displaying refueling options along the current route
  • Integration with navigation systems

Example response:

[
{
id: i9j0k1l2-m3n4-5678,
name: Station on Route,
location: {
lat: 40.417500,
lng: -3.704500
},
services: [gasoline, diesel, cafeteria],
rating: 4.1,
distanceFromRoute: 1.2
}
]

Request

Responses

Stations on the route successfully obtained.