{"api":{"id":"api_27bccf7bd5e01bad333115c3","slug":"ontario-fuel-prices","name":"Ontario Fuel Prices by City API","description":"Weekly Ontario pump prices since 1990 as tidy rows: date, city or provincial average, fuel type and price in cents per litre, for gasoline grades, diesel, propane and natural gas.","kind":"ready_made","visibility":"public","domain":"ontario.ca","source_url":"https://ontario.ca/v1/files/fuel-prices/fueltypesall.csv","category":"automotive","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":5,"created_at":"2026-12-06T03:57:27.693Z","updated_at":"2026-12-06T03:57:27.693Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Week, city and fuel joined together.","required":true,"coverage":1,"example":"2026-11-30|Ottawa|Diesel"},{"name":"date","type":"date","description":"The week the price was recorded.","required":false,"coverage":1,"example":"2026-11-30"},{"name":"city","type":"string","description":"Ontario city, or an average such as Ontario Average.","required":false,"coverage":1,"example":"Ottawa"},{"name":"fuel_type","type":"string","description":"Fuel, such as Diesel or Regular Unleaded Gasoline.","required":false,"coverage":1,"example":"Diesel"},{"name":"price_cents_l","type":"number","description":"Pump price in cents per litre.","required":false,"coverage":1,"example":217.6}],"inputs":[{"name":"cities","type":"array","description":"Only these cities or averages, such as Ottawa, Toronto West, Windsor, Ontario Average. Leave empty for all.","example":["Ottawa","Toronto West"]},{"name":"fuel_types","type":"array","description":"Only these fuels: Regular Unleaded Gasoline, Mid-Grade Gasoline, Premium Gasoline, Diesel, Auto Propane, Compressed Natural Gas. Leave empty for all.","example":["Diesel"]},{"name":"start_date","type":"string","description":"First week to include, as YYYY-MM-DD.","example":"2026-01-01"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"city":{"description":"Ontario city, or an average such as Ontario Average.","type":"string"},"date":{"description":"The week the price was recorded.","format":"date","type":"string"},"fuel_type":{"description":"Fuel, such as Diesel or Regular Unleaded Gasoline.","type":"string"},"id":{"description":"Week, city and fuel joined together.","type":"string"},"price_cents_l":{"description":"Pump price in cents per litre.","type":"number"}},"required":["id"],"title":"Ontario Fuel Prices by City API","type":"object"},"samples":[{"id":"2026-11-30|Ottawa|Diesel","date":"2026-11-30","city":"Ottawa","fuel_type":"Diesel","price_cents_l":217.6},{"id":"2026-11-23|Ottawa|Diesel","date":"2026-11-23","city":"Ottawa","fuel_type":"Diesel","price_cents_l":226.2},{"id":"2026-11-16|Ottawa|Diesel","date":"2026-11-16","city":"Ottawa","fuel_type":"Diesel","price_cents_l":242}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"city":1,"date":1,"fuel_type":1,"id":1,"price_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_27bccf7bd5e01bad333115c3/run","openapi":"https://pullrow.dev/v1/apis/api_27bccf7bd5e01bad333115c3/openapi.json","contract":"https://pullrow.dev/v1/apis/api_27bccf7bd5e01bad333115c3/contract.json","page":"https://pullrow.dev/catalog/ontario-fuel-prices"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"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":["Data is the Ontario government's weekly series, one value per city per week, updated about once a week; it is not a live pump price.","Prices are in cents per litre as published, taxes included; compressed natural gas may be per litre equivalent.","Some cities have no data in early years (the source writes 0); those weeks are left out.","Rows come newest first. The whole file is read on every run, so small requests are as slow as large ones (a few seconds). At most 20,000 rows per run.","Open Government Licence - Ontario: commercial reuse allowed with credit to the Government of Ontario."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Week, city and fuel joined together.","group":"Technical","shown":false,"written":false},{"name":"date","label":"Date","description":"The week the price was recorded.","group":"Dates","shown":true,"written":false},{"name":"city","label":"City","description":"Ontario city, or an average such as Ontario Average.","group":"Location","shown":true,"written":false},{"name":"fuel_type","label":"Fuel type","description":"Fuel, such as Diesel or Regular Unleaded Gasoline.","group":"Basics","shown":true,"written":false},{"name":"price_cents_l","label":"Price cents l","description":"Pump price in cents per litre.","group":"Pay","shown":true,"written":false}],"inputs":[{"name":"cities","label":"Cities","help":"Only these cities or averages, such as Ottawa, Toronto West, Windsor, Ontario Average. Leave empty for all.","example":"Ottawa, Toronto West","written":false},{"name":"fuel_types","label":"Fuel types","help":"Only these fuels: Regular Unleaded Gasoline, Mid-Grade Gasoline, Premium Gasoline, Diesel, Auto Propane, Compressed Natural Gas. Leave empty for all.","example":"Diesel","written":false},{"name":"start_date","label":"Start date","help":"First week to include, as YYYY-MM-DD.","example":"2026-01-01","written":false}]}},"incidents":[]}