Get top-rated stations
GET/truckers/map/stations/best
Returns gas stations sorted by highest rating.
Requires JWT token authentication and is subject to rate limiting.
Main features:
- Sorts stations by descending rating (from 5 to 0 stars)
- Includes detailed information for each station (services, location, etc.)
- Ideal for finding quality stations during long trips
Usage example:
- Display premium stations in the application
- Prioritize stops on important routes
- Integration with route planning systems
Example response:
[
{
id: a1b2c3d4-e5f6-7890,
name: Premium Station,
location: {
lat: 40.416775,
lng: -3.703790
},
services: [gasoline, restaurant, showers],
rating: 4.8
}
]
Responses
- 200
- 401
- 429
- 500
Stations successfully obtained.
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