Daily fuel prices for an area
Changed onOne row per day, oldest first, for one fuel in one area: the median, 10th percentile, 90th percentile and mean of current card prices across the area's stations, in Canadian cents per litre. An area is the whole country (CA), a province (CA-ON), or a forward sortation area (L3Y, the first three characters of a postal code). Costs 1 credit.
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
"CA", a province such as "CA-ON", or a forward sortation area such as "L3Y"
The fuel
How many days back
Response
The area's daily prices, oldest first
The area: "CA", a province such as "CA-ON", or the first three characters of a postal code (FSA) such as "L3Y"
What kind of area area is
The fuel: a gasoline grade (regular, midgrade, premium), diesel, e85 or propane
The fuel type ID, e.g. "fuel-type:gasoline"
Always CAD
The newest day in series. Null when the area has no prices.
One entry per day with prices, oldest first
The date of the newest daily data, YYYY-MM-DD
Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Changes
- info
endpoint added
- info