Skip to main content

Get top-rated stations

GET 

/company/stations/best

This endpoint returns a list of the highest-rated service stations by users, sorted by score from highest to lowest. It is useful for finding stations with a good reputation and service quality.

Example of use:

  • Applications that want to show premium options to their users
  • Recommendation systems based on ratings
  • Filtering stations by quality

Use cases:

  1. Display the top 5 highest-rated stations on a map
  2. Integrate into a recommendation system for drivers
  3. Compare quality between different geographical areas

Request

Responses

List of stations sorted by rating (highest to lowest). Each station includes:

  • Name and location
  • Fuel prices
  • Rating (1-5 stars)
  • Available services

Example response:

{
stations: [
{
id: est123,
name: Premium Station,
location: {type: Point, coordinates: [-3.70379, 40.41678]},
address: Calle Mayor 1, Madrid,
province: Madrid,
prices: {diesel: 1.45, gasoline: 1.55},
rating: 4.8,
services: [car wash, cafeteria, wifi]
}
]
}