Skip to main content

Search for stations by province

GET 

/company/stations/provinces

Endpoint that returns service stations filtered by province. Useful for regional analysis or when coverage of a specific geographic area is needed.

Usage Example:

  • Logistics applications for planning routes by province
  • Regional reporting systems
  • Geographic filtering in administrative dashboards

Use Cases:

  1. Display all stations in a province for inspection
  2. Compare station availability between provinces
  3. Integrate with territorial management systems

Request

Responses

List of stations located in the specified province. Includes detailed information for each station:

  • Name and full address
  • Geographic coordinates
  • Updated prices
  • Available services

Example response:

{
stations: [
{
id: est321,
name: Provincial Station,
location: {type: Point, coordinates: [-0.376288, 39.469907]},
address: Avenida del Puerto 150, Valencia,
province: Valencia,
prices: {diesel: 1.38, gasoline: 1.48},
rating: 4.0,
services: [car_wash, air, shop]
}
]
}