fuel

Find fuel stations

Changed on

Fuel stations within a radius of a point, with their current posted prices. Station and price data covers Canada and is refreshed daily. A current price is the newest one posted for each fuel and payment type, at most 7 days old, in Canadian cents per litre.

Results are nearest first, or cheapest first with sort=price and a fuel. Costs 1 credit.

get/v2/fuel/stations

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

lat, number required

Latitude of the search center

lng, number required

Longitude of the search center

radius_km, number

Search radius in km

fuel, 'regular' | 'midgrade' | 'premium' | 'diesel' | 'e85' | 'propane'

Only stations with a current price for this fuel

sort, 'distance' | 'price'

distance (nearest first) or price (cheapest current card (credit) price first; needs fuel)

limit, integer

Maximum stations

Response

Stations with current prices

FuelStationSearch required
total, integer required

Stations returned, at most limit

stations, object[] required

The stations found, in the order sort asks for

asOf, string

The date of the newest daily data, YYYY-MM-DD

links, object

Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

Changes