{"api":{"id":"api_fe5165004b3945abad7805ce","slug":"canada-fuel-prices","name":"Canada Retail Fuel Prices by City API","description":"Average retail pump prices in Canada by city and fuel, daily, weekly or monthly, split into taxes, marketing margin and refining margin, in cents per litre. Source: Natural Resources Canada.","kind":"ready_made","visibility":"public","domain":"www2.nrcan.gc.ca","source_url":"https://www2.nrcan.gc.ca/eneene/sources/pripri/prices_bycity_e.cfm","category":"automotive","record_type":"generic","active_version":"1.0","units_per_1k":1000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T03:57:27.617Z","updated_at":"2026-12-06T03:57:27.617Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"location","type":"string","description":"City or Canada.","required":true,"coverage":1,"example":"Canada"},{"name":"product","type":"string","description":"Fuel, such as Regular Gasoline or Diesel.","required":true,"coverage":1,"example":"Regular Gasoline"},{"name":"period_ending","type":"date","description":"Last day of the week, month or the day itself.","required":true,"coverage":1,"example":"2026-01-06"},{"name":"price_cents_l","type":"number","description":"Average retail price in cents per litre, taxes included.","required":false,"coverage":1,"example":128.5},{"name":"taxes_cents_l","type":"number","description":"Taxes in cents per litre.","required":false,"coverage":1,"example":37.1},{"name":"marketing_margin_cents_l","type":"number","description":"Marketing margin in cents per litre.","required":false,"coverage":1,"example":10.2},{"name":"refining_margin_cents_l","type":"number","description":"Refining margin in cents per litre.","required":false,"coverage":1,"example":31.1}],"inputs":[{"name":"locations","type":"array","description":"Cities or Canada, as named on the Natural Resources Canada page.","example":["Canada","Toronto"]},{"name":"product","type":"string","description":"Fuel: regular_gasoline, mid_grade, premium, diesel, furnace_oil or auto_propane.","default":"regular_gasoline","example":"regular_gasoline","enum":["regular_gasoline","mid_grade","premium","diesel","furnace_oil","auto_propane"]},{"name":"frequency","type":"string","description":"daily (last 60 days), weekly or monthly.","default":"weekly","example":"weekly","enum":["daily","weekly","monthly"]},{"name":"year","type":"integer","description":"Price year; empty means the current year.","example":2026}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"location":{"description":"City or Canada.","type":"string"},"marketing_margin_cents_l":{"description":"Marketing margin in cents per litre.","type":"number"},"period_ending":{"description":"Last day of the week, month or the day itself.","format":"date","type":"string"},"price_cents_l":{"description":"Average retail price in cents per litre, taxes included.","type":"number"},"product":{"description":"Fuel, such as Regular Gasoline or Diesel.","type":"string"},"refining_margin_cents_l":{"description":"Refining margin in cents per litre.","type":"number"},"taxes_cents_l":{"description":"Taxes in cents per litre.","type":"number"}},"required":["location","product","period_ending"],"title":"Canada Retail Fuel Prices by City API","type":"object"},"samples":[{"location":"Canada","product":"Regular Gasoline","period_ending":"2026-01-06","price_cents_l":128.5,"taxes_cents_l":37.1,"marketing_margin_cents_l":10.2,"refining_margin_cents_l":31.1},{"location":"Canada","product":"Regular Gasoline","period_ending":"2026-01-13","price_cents_l":131.6,"taxes_cents_l":37.4,"marketing_margin_cents_l":10,"refining_margin_cents_l":32.6},{"location":"Canada","product":"Regular Gasoline","period_ending":"2026-01-20","price_cents_l":134.8,"taxes_cents_l":37.7,"marketing_margin_cents_l":10.8,"refining_margin_cents_l":33.2}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"location":1,"marketing_margin_cents_l":1,"period_ending":1,"price_cents_l":1,"product":1,"refining_margin_cents_l":1,"taxes_cents_l":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_fe5165004b3945abad7805ce/run","openapi":"https://pullrow.dev/v1/apis/api_fe5165004b3945abad7805ce/openapi.json","contract":"https://pullrow.dev/v1/apis/api_fe5165004b3945abad7805ce/contract.json","page":"https://pullrow.dev/catalog/canada-fuel-prices"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":1,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Prices are Natural Resources Canada's published averages in cents per litre including taxes; they are not individual station prices.","One request per city and year, about one a second. Weekly rows run Wednesday to Tuesday and carry the week-ending date; monthly rows carry the last day of the month; daily rows cover only about the last 60 days.","Auto propane has no marketing or refining margin, so those two fields are empty for it. Some cities have gaps or start later in the year.","Natural Resources Canada updates the tables weekly. The data is a Government of Canada publication: check its reuse terms and credit Natural Resources Canada before commercial use.","At most 5000 records per run."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"location","label":"Location","description":"City or Canada.","group":"Location","shown":true,"written":false},{"name":"product","label":"Product","description":"Fuel, such as Regular Gasoline or Diesel.","group":"Basics","shown":true,"written":false},{"name":"period_ending","label":"Period ending","description":"Last day of the week, month or the day itself.","group":"Dates","shown":true,"written":false},{"name":"price_cents_l","label":"Price cents l","description":"Average retail price in cents per litre, taxes included.","group":"Pay","shown":true,"written":false},{"name":"taxes_cents_l","label":"Taxes cents l","description":"Taxes in cents per litre.","group":"Basics","shown":true,"written":false},{"name":"marketing_margin_cents_l","label":"Marketing margin cents l","description":"Marketing margin in cents per litre.","group":"Basics","shown":true,"written":false},{"name":"refining_margin_cents_l","label":"Refining margin cents l","description":"Refining margin in cents per litre.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"locations","label":"Locations","help":"Cities or Canada, as named on the Natural Resources Canada page.","example":"Canada, Toronto","written":false},{"name":"product","label":"Product","help":"Fuel: regular_gasoline, mid_grade, premium, diesel, furnace_oil or auto_propane.","example":"regular_gasoline","written":false},{"name":"frequency","label":"Frequency","help":"daily (last 60 days), weekly or monthly.","example":"weekly","written":false},{"name":"year","label":"Year","help":"Price year; empty means the current year.","example":"2026","written":false}]}},"incidents":[]}