{"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},"version":"1.0","contract_hash":"4b74cf0fa254e0d6a37722347780758cc9b649de0083af92781b78e8a35a4b41","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.617Z","activated_at":"2026-12-06T03:57:27.617Z","active":true,"contract_hash":"4b74cf0fa254e0d6a37722347780758cc9b649de0083af92781b78e8a35a4b41","fields_count":7}]}