Get stations grouped by provinces
GET/truckers/map/stations/provinces
Returns gas stations grouped by provinces. Requires JWT token authentication and is subject to rate limiting.
Key features:
- Organizes stations by administrative division
- Allows filtering by geographic region
- Ideal for regional logistics planning
Usage examples:
- Display station distribution by provinces
- Analyze geographic coverage
- Plan routes by regions
Response example:
{
Madrid: [
{
id: e5f6g7h8-i9j0-1234,
name: Madrid Central Station,
location: {
lat: 40.416775,
lng: -3.703790
},
services: [gasoline, diesel, convenience store],
rating: 4.5
}
],
Barcelona: [
{
id: f6g7h8i9-j0k1-2345,
name: Barcelona North Station,
location: {
lat: 41.385063,
lng: 2.173404
},
services: [gasoline, restaurant],
rating: 4.2
}
]
}
Responses
- 200
- 401
- 429
- 500
Stations successfully obtained grouped by province.
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