Skip to main content

Get all stations

GET 

/truckers/map/stations/all

Returns all available gas stations in the system. Requires JWT token authentication and is subject to rate limiting.

Main features:

  • Provides the complete list of stations
  • Includes all available data for each station
  • Ideal for comprehensive analysis or integrations with other systems

Usage example:

  • Display a complete map of stations
  • Perform statistical analysis
  • Synchronize with external systems

Response example:

[
{
id: g7h8i9j0-k1l2-3456,
name: Full Service Station,
location: {
lat: 40.416775,
lng: -3.703790
},
services: [gasoline, diesel, restaurant, showers],
rating: 4.3
},
{
id: h8i9j0k1-l2m3-4567,
name: Another Station,
location: {
lat: 41.385063,
lng: 2.173404
},
services: [gasoline, convenience store],
rating: 3.9
}
]

Responses

All stations obtained successfully.