# Ontario gasoline pump price breakdown, monthly from 1987: crude cost, taxes and margins in Toronto and Thunder Bay (Ontario Data Catalogue)

## 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/gasoline-report-pump-price-revenue-shares) · Credit: Required under OGL-Ontario 1.0: acknowledge the source and include the licence attribution statement.
- **Last updated:** Verified by Signal Lab Dec 2, 2026 · checked Dec 4, 2026 · data last changed Nov 4, 2026
- **Measured score:** Not scored yet (1 of 3 checks) (https://signal-lab.qdt.ai/methodology#measured-score)

Monthly breakdown of the regular unleaded gasoline pump price into crude oil cost, federal excise tax, federal carbon tax, Ontario tax, GST/HST, wholesale margin and retail margin, for Toronto from January 1987 and Thunder Bay from January 2018, as a CSV with a data dictionary. Listed on Ontario Data Catalogue (record id 4f6122d7-d3e5-41e2-8cfa-ba02ead9329e); keyless CSV endpoint on ontario.ca confirmed live on 2026-12-02; update frequency on record: monthly.

## Facts

- **Type:** Dataset
- **Domain:** Energy
- **Category:** Energy
- **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/gasoline-report-pump-price-revenue-shares
- **Docs:** https://data.ontario.ca/dataset/gasoline-report-pump-price-revenue-shares
- **Good for:** energy, gasoline, pump-prices, fuel-tax, ontario, retail-margin
- **Last verified:** 2026-12-02


## 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/pumppricesall.csv
- **Response type:** csv
- **Last checked:** 2026-12-03T04:36:59Z (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/pumppricesall.csv'
```

### Python

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

URL = "https://ontario.ca/v1/files/fuel-prices/pumppricesall.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: empty`
- `column 12: empty`
- `column 13: empty`
- `column 14: empty`
- `column 15: empty`
- `column 16: empty`
- `column 17: empty`
- `column 18: empty`
- `column 19: empty`
- `column 20: empty`
- `column 21: empty`
- `column 22: empty`
- `column 23: empty`
- `column 24: empty`
- `column 25: empty`


No sample stored: licence unknown: schema only.


## Evidence

- https://data.ontario.ca/dataset/gasoline-report-pump-price-revenue-shares
- https://ontario.ca/v1/files/fuel-prices/pumppricesall.csv
- https://www.ontario.ca/page/open-government-licence-ontario


---
Source page: https://signal-lab.qdt.ai/datasets/ontario-gasoline-pump-price-breakdown-toronto-thunder-bay. Machine-readable: https://signal-lab.qdt.ai/catalog.json (slug `ontario-gasoline-pump-price-breakdown-toronto-thunder-bay`). 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.
