Canada Vehicle Fuel Consumption Ratings API
Official Natural Resources Canada fuel and energy ratings for new light vehicles: petrol, diesel, hybrid, battery-electric and plug-in hybrid models with L/100 km, kWh/100 km, CO2, smog rating and range, searchable by year, make and class.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from open.canada.ca/data/api/action/package_show?id=98f1a129-f628-4ce4-b24d-6f16bf24dd64
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/canada-fuel-consumption-ratings/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"model_years":[2026]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
20 fields: 19 here, 1 technical one under Technical details.
Basics
- Make
Example Toyota
- Model and trim
Example 4Runner 4WD (Part-Time 4WD)
- Government vehicle class
Example Sport utility vehicle: Standard
- Powertrain
fuel, bev or phev.
Example fuel
- Engine size l
Engine size in litres.
Example 2.4
- Cylinders
Number of cylinders.
Example 4
- Transmission
Transmission code, such as AS8 or M6.
Example AS8
- Fuel type
Fuel code: X regular, Z premium, D diesel, E ethanol, B electricity; plug-in hybrids show both, such as B+Z.
Example X
- Highway l 100km
Highway consumption in litres per 100 km.
Example 9.6
- Combined l 100km
Combined consumption in litres per 100 km.
Example 11.2
- Combined MPG
Combined consumption in miles per imperial gallon.
Example 25
- Co 2 g (km)
CO2 emissions in grams per km.
Example 262
- Co 2 rating
CO2 rating from 1 (worst) to 10 (best).
Example 4
- Smog rating
Smog rating from 1 (worst) to 10 (best).
Example 6
- Range (km)
Electric range in km.
Example 380
- kWh 100km
Combined electricity use in kWh per 100 km.
Example 16.1
Location
- City l 100km
City consumption in litres per 100 km.
Example 12.4
Dates
- Model year
Example 2026
- Recharge time h
Hours to fully recharge.
Example 6
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idKey made from year, make, model and variant.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
model_year | number | Model year | 3 of 3 |
make | text | Make | 3 of 3 |
model | text | Model and trim | 3 of 3 |
vehicle_class | text | Government vehicle class | 3 of 3 |
powertrain | text | Powertrain | 3 of 3 |
engine_size_l | number | Engine size l | 2 of 3 |
cylinders | number | Cylinders | 2 of 3 |
transmission | text | Transmission | 3 of 3 |
fuel_type | text | Fuel type | 3 of 3 |
city_l_100km | number | City l 100km | 2 of 3 |
highway_l_100km | number | Highway l 100km | 2 of 3 |
combined_l_100km | number | Combined l 100km | 2 of 3 |
combined_mpg | number | Combined MPG | 1 of 3 |
co2_g_km | number | Co 2 g (km) | 3 of 3 |
co2_rating | number | Co 2 rating | 3 of 3 |
smog_rating | number | Smog rating | 3 of 3 |
range_km | number | Range (km) | 2 of 3 |
kwh_100km | number | kWh 100km | 1 of 3 |
recharge_time_h | number | Recharge time h | 2 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Make | Model and trim | Government vehicle class | Powertrain | Engine size l | Cylinders | Transmission | Fuel type | Highway l 100km | Combined l 100km | Combined MPG | Co 2 g (km) | Co 2 rating | Smog rating | Range (km) | kWh 100km | City l 100km | Model year | Recharge time h |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Toyota | 4Runner 4WD (Part-Time 4WD) | Sport utility vehicle: Standard | fuel | 2.4 | 4 | AS8 | X | 9.6 | 11.2 | 25 | 262 | 4 | 6 | — | — | 12.4 | 2026 | — |
| 2 | Toyota | bZ | Sport utility vehicle: Small | bev | — | — | A1 | B | — | — | — | 0 | 10 | 10 | 380 | 16.1 | — | 2026 | 6 |
| 3 | Toyota | Prius Plug-in Hybrid SE | Mid-size | phev | 2 | 4 | AV | B/X*+X | 4.6 | 4.5 | — | 31 | 10 | 6 | 72 | — | 4.4 | 2026 | 4 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Ratings are Natural Resources Canada's published test values, not real-world consumption; the official guide warns that actual fuel use varies with driving.
- Updated by the government as each model year is released and revised (the current model year is incomplete until the year's final update); data is read fresh on every run.
- Pick a powertrain or leave it on all: fuel (petrol, diesel and hybrid cars, 1995 to now), bev (battery-electric, 2012 to now) or phev (plug-in hybrids, 2012 to now). With all, the three kinds are mixed in turn, newest model year first within each kind.
- Fields that do not apply are null: battery-electric models have no L/100 km, engine or cylinders; petrol models have no kWh/100 km, range or recharge time. For plug-in hybrids range_km is the electric range and combined_l_100km is the petrol-only figure.
- CO2 and smog ratings only exist for newer model years and are null (n/a at the source) for older ones.
- Reading a whole year range downloads one large file per run (up to about 1 MB), so a run takes a few seconds; the first records returned are the newest model years.
- Source: Natural Resources Canada, published under the Open Government Licence - Canada; credit it when you republish.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.