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
- 200
- 401
- 429
- 500
All stations obtained successfully.
Unauthorized - Invalid or missing JWT token. Include a valid token in the Authorization header: Bearer {token}
Too many requests - The rate limit has been exceeded.
Wait before making new requests.
Internal Server Error