API reference
Fuel
Last updated:
Fuel stations and pump prices in Canada
- GET
/v2/fuel/stationsFuel stations near a point, with current prices - GET
/v2/fuel/stations/{id}One fuel station by id, with current prices - GET
/v2/fuel/pricesDaily pump prices for Canada, a province or a postal FSA
/v2/fuel/stationssince 2026-10-26Fuel stations near a point, with current prices
Radius search over our daily snapshot of Canadian fuel stations — no live upstream. Each station carries its current posted prices (newest post per fuel and payment, at most 7 days old) in Canadian cents per litre. Nearest first, or cheapest first with `sort=price` and a `fuel`.
Query parameters
latnumberrequiredSearch-center latitude
lngnumberrequiredSearch-center longitude
radius_kmnumberoptionalSearch radius in km
fuel"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"optionalOnly stations with a current price for this fuel
sort"distance" | "price"optionalNearest first, or cheapest current credit price first (needs fuel)
limitintegeroptionalStation cap
curl "https://api.cardog.app/v2/fuel/stations?lat=43.6532&lng=-79.3832&radius_km=5&fuel=regular" \
-H "x-api-key: $CARDOG_API_KEY"Response
200FuelStationSearchtotalintegerNumber of stations returned, at most limit
stationsobject[]refstringEntity ref ({domain}:{key}) in the "poi" domain. Example: "poi:dpz9cxmmw0"
idstringThe station's id: a 10-character geohash of its location, the ref without "poi:" (e.g. "dpz9cxmmw0")
namestring | nullbrandstring | nulladdressobjectstreetstring | nullcitystring | nullstatestring | nullProvince or territory code, e.g. "ON"
postalCodestring | nullcountrystring | nullCountry code (ISO 3166-1 alpha-2)
locationobjectlatitudenumberlongitudenumberfuels"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"[]Fuels the station sells
amenitiesstring[]e.g. "c_store", "pay_at_pump", "restrooms". Other values may be added.
openingHoursstring | nullpricesobject[]Current prices: the newest post per fuel and payment, at most 7 days old
fuel"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"Fuel: a gasoline grade (regular, midgrade, premium) or diesel, e85, propane
fuelTypestringFuel-type entity ref, e.g. "fuel-type:gasoline"
payment"credit" | "cash"Price paying by card or by cash; most stations post credit only
centsPerLitrenumberPosted price, Canadian cents per litre
currency"CAD"postedAtstringWhen the price was posted (ISO 8601)
reportedBystring | nullWho posted it: "owner" (the station) or "member" / "visitor" (a driver). Other values may be added.
lastSeenstringThe newest daily snapshot the station appeared in (YYYY-MM-DD)
distanceKmnumberoptionalDistance from the search point, in km (search results only)
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
asOfstringoptionalThe newest daily snapshot served (YYYY-MM-DD)
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
4 keysErrors400401402429500every non-2xx body is the error envelope
/v2/fuel/stations/{id}since 2026-10-26One fuel station by id, with current prices
The id is the station's 10-character geohash: its ref without "poi:" (e.g. `dpz9cxmmw0` for `poi:dpz9cxmmw0`). Anything else is a 404.
Path parameters
idstringrequiredStation id: a 10-character geohash, the ref without "poi:" (e.g. "dpz9cxmmw0")
curl "https://api.cardog.app/v2/fuel/stations/dpz9cxmmw0" \
-H "x-api-key: $CARDOG_API_KEY"Response
200FuelStationDetailstationobjectrefstringEntity ref ({domain}:{key}) in the "poi" domain. Example: "poi:dpz9cxmmw0"
idstringThe station's id: a 10-character geohash of its location, the ref without "poi:" (e.g. "dpz9cxmmw0")
namestring | nullbrandstring | nulladdressobjectstreetstring | nullcitystring | nullstatestring | nullProvince or territory code, e.g. "ON"
postalCodestring | nullcountrystring | nullCountry code (ISO 3166-1 alpha-2)
locationobjectlatitudenumberlongitudenumberfuels"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"[]Fuels the station sells
amenitiesstring[]e.g. "c_store", "pay_at_pump", "restrooms". Other values may be added.
openingHoursstring | nullpricesobject[]Current prices: the newest post per fuel and payment, at most 7 days old
fuel"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"Fuel: a gasoline grade (regular, midgrade, premium) or diesel, e85, propane
fuelTypestringFuel-type entity ref, e.g. "fuel-type:gasoline"
payment"credit" | "cash"Price paying by card or by cash; most stations post credit only
centsPerLitrenumberPosted price, Canadian cents per litre
currency"CAD"postedAtstringWhen the price was posted (ISO 8601)
reportedBystring | nullWho posted it: "owner" (the station) or "member" / "visitor" (a driver). Other values may be added.
lastSeenstringThe newest daily snapshot the station appeared in (YYYY-MM-DD)
distanceKmnumberoptionalDistance from the search point, in km (search results only)
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
asOfstringoptionalThe newest daily snapshot served (YYYY-MM-DD)
Example response
2 keysErrors400401402404429500every non-2xx body is the error envelope
/v2/fuel/pricessince 2026-10-26Daily pump prices for Canada, a province or a postal FSA
The daily median, p10, p90 and mean of current credit prices across stations in an area, for one fuel, oldest first. Areas: `CA`, a province (`CA-ON`), or a forward sortation area (`L3Y`, the first three characters of a postal code).
Query parameters
areastringoptional"CA", a province like "CA-ON", or an FSA like "L3Y"
fuel"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"optionalFuel
daysintegeroptionalDays of history
curl "https://api.cardog.app/v2/fuel/prices?area=CA-ON&fuel=regular&days=30" \
-H "x-api-key: $CARDOG_API_KEY"Response
200FuelPricesareastringareaKind"country" | "province" | "fsa"fuel"regular" | "midgrade" | "premium" | "diesel" | "e85" | "propane"Fuel: a gasoline grade (regular, midgrade, premium) or diesel, e85, propane
fuelTypestringFuel-type entity ref, e.g. "fuel-type:gasoline"
currency"CAD"latestobject | nullThe newest day in the series, or null when the area has no prices
datestringYYYY-MM-DD
stationsintegerStations with a current credit price that day
medianCentsPerLitrenumberp10CentsPerLitrenumber10th percentile: the cheap end
p90CentsPerLitrenumber90th percentile: the expensive end
meanCentsPerLitrenumberseriesobject[]One entry per day with prices, oldest first
datestringYYYY-MM-DD
stationsintegerStations with a current credit price that day
medianCentsPerLitrenumberp10CentsPerLitrenumber10th percentile: the cheap end
p90CentsPerLitrenumber90th percentile: the expensive end
meanCentsPerLitrenumberasOfstringoptionalThe newest daily snapshot served (YYYY-MM-DD)
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
9 keysErrors400401402429500every non-2xx body is the error envelope
Generated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/fuel.md
Was this helpful?