# Ontario weekly retail fuel prices

## Key facts

- **License:** Custom: Open Government Licence – Ontario, version 1.0 per the licence page; a named licence with no SPDX id, so Custom. The licence page says "The Information Provider grants you a worldwide, royalty-free, perpetual, non-exclusive licence to use the Information, including for commercial purposes, subject to the terms below.". Signal Lab links only. (https://www.ontario.ca/page/open-government-licence-ontario)
- **Source / publisher:** data.ontario.ca (https://data.ontario.ca/dataset/fuels-price-survey-information) · Credit: Required under OGL-Ontario 1.0: acknowledge the source and include the licence attribution statement.
- **Last updated:** Verified by Signal Lab Nov 20, 2026 · checked Dec 4, 2026 · data last changed Dec 1, 2026
- **Measured score:** 91/100 from 13 daily checks (https://signal-lab.qdt.ai/methodology#measured-score)

Weekly retail prices of three grades of gasoline, diesel, auto propane and compressed natural gas in 10 Ontario markets, in cents per litre, as a CSV from the Government of Ontario. Listed on Ontario Data Catalogue (record id c6ec6da3-2a8c-4b67-b59e-1d567efdaeac); keyless XLSX endpoint on ontario.ca confirmed live on 2026-11-20; update frequency on record: weekly.

## Facts

- **Type:** Dataset
- **Domain:** Transport & Shipping
- **Category:** Transport & Shipping
- **Badge:** Free
- **Access:** none
- **Free tier:** Free keyless access to the provider's published file or service.
- **Rate limits:** Not stated.
- **License:** Custom
- **License URL:** https://www.ontario.ca/page/open-government-licence-ontario
- **License note:** Open Government Licence – Ontario, version 1.0 per the licence page; a named licence with no SPDX id, so Custom. The licence page says "The Information Provider grants you a worldwide, royalty-free, perpetual, non-exclusive licence to use the Information, including for commercial purposes, subject to the terms below.". Signal Lab links only.
- **Attribution:** Required under OGL-Ontario 1.0: acknowledge the source and include the licence attribution statement.
- **Provider:** https://data.ontario.ca/dataset/fuels-price-survey-information
- **Docs:** https://data.ontario.ca/dataset/fuels-price-survey-information
- **Good for:** transport-shipping, canada, ontario, fuel-prices, weekly
- **Last verified:** 2026-11-20


## Working endpoint

Signal Lab probed this no-key endpoint live. The data comes from the provider; Signal Lab does not host it.

- **Endpoint:** https://ontario.ca/v1/files/fuel-prices/fueltypesall.csv
- **Response type:** csv
- **Last checked:** 2026-11-26T04:51:37Z (HTTP 200, ok)
- **Auth:** none (none)
- **Rate limit:** Not stated.
- **Commercial use:** unknown: Licence recorded as "Custom"; commercial use is not stated as a plain fact. Read licenseNote.


### curl

```bash
curl -sSL -A 'your-app/1.0 (you@example.com)' 'https://ontario.ca/v1/files/fuel-prices/fueltypesall.csv'
```

### Python

```python
import io
import requests
import pandas as pd

URL = "https://ontario.ca/v1/files/fuel-prices/fueltypesall.csv"
HEADERS = {"User-Agent": "your-app/1.0 (you@example.com)"}  # name your app; some providers require a User-Agent

resp = requests.get(URL, headers=HEADERS, timeout=30)
resp.raise_for_status()
df = pd.read_csv(io.StringIO(resp.text))
print(df.head())
```

### Fields

- `(no header row recognised; columns numbered)`
- `column 1: string`
- `column 2: string`
- `column 3: string`
- `column 4: string`
- `column 5: string`
- `column 6: string`
- `column 7: string`
- `column 8: string`
- `column 9: string`
- `column 10: string`
- `column 11: string`
- `column 12: string`
- `column 13: string`
- `column 14: string`
- `column 15: string`
- `column 16: string`
- `column 17: string`
- `column 18: string`
- `column 19: string`
- `column 20: string`
- `column 21: empty`
- `column 22: empty`
- `column 23: empty`
- `column 24: empty`
- `column 25: empty`
- `column 26: empty`


No sample stored: licence unknown: schema only.


## Evidence

- https://data.ontario.ca/dataset/fuels-price-survey-information
- https://ontario.ca/v1/files/fuel-prices/fueltypesall.csv
- https://www.ontario.ca/page/open-government-licence-ontario


---
Source page: https://signal-lab.qdt.ai/datasets/ontario-weekly-fuel-prices. Machine-readable: https://signal-lab.qdt.ai/catalog.json (slug `ontario-weekly-fuel-prices`). Information presented for educational purposes only. Free tiers, limits, and licenses belong to the providers and may change. Users must verify and follow each provider's terms.
