Stations
Returns stations list within bounding box
get/stations/within/bbox/{latitude1},{longitude1};{latitude2},{longitude2}
Request
- Base URL: https://api.prix-carburants.2aaz.fr
- URL: https://api.prix-carburants.2aaz.fr/stations/within/bbox/{latitude1},{longitude1};{latitude2},{longitude2}
- Auth: one of:
- API key in header Authorization
- API key in query parameter key
- HTTP basic
Path parameters
latitude1number required
latitude in degree of first corner
longitude1number required
longitude in degree of first corner
latitude2number required
latitude in degree of opposite corner
longitude2number required
longitude in degree of opposite corner
Query parameters
typesstring[]
filter on station types (comma separated list)
brandsinteger[]
filter on brand ids (comma separated list)
departmentsinteger[]
filter on department codes (comma separated list)
postcodesstring[]
filter on postcodes (comma separated list)
fuelsinteger[]
filter on fuel ids (comma separated list)
responseFieldsstring[]
child data to include
Headers
Rangestring
Range of data to return (station : in number of elements (default 10, max 20))
Response
Station Data
Example response
[
{
"Brand": {
"id": 1,
"name": "TheBrandName",
"short_name": "Brand",
"nb_stations": 42
},
"Fuels": [
{
"id": 1,
"type": "D",
"name": "Gazole",
"short_name": "Gazole",
"picto": "B7",
"Update": {
"value": "2022-10-10T16:10:07Z",
"text": "10/10/2022 16:10:07"
},
"rupture": false,
"Price": {
"value": 1.986,
"text": "1.986 €/L"
}
}
],
"Distance": {
"value": 2674,
"text": "2.67 km"
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.