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.

Try it
Ready-made, maintained by usProducts, 20 fieldsv1.0

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

Model yearsoptional
Only these model years, such as 2026. One per line, or separated by commas.
Example: 2026
Makesoptional
Only these makes, such as Toyota (not case sensitive). One per line, or separated by commas.
Example: Toyota
Vehicle classoptional
Vehicle class as listed by the government, or part of it, such as SUV: Small or Pickup.
Example: SUV
Powertrainoptional
all (default), fuel (petrol, diesel, hybrid), bev (battery-electric) or phev (plug-in hybrid).

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
Endpoint
POSThttps://pullrow.dev/v1/apis/canada-fuel-consumption-ratings/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

model_yearslist
Only these model years, such as 2026.
example: 2026
makeslist
Only these makes, such as Toyota (not case sensitive).
example: Toyota
vehicle_classtext
Vehicle class as listed by the government, or part of it, such as SUV: Small or Pickup.
example: SUV
powertraintext
all (default), fuel (petrol, diesel, hybrid), bev (battery-electric) or phev (plug-in hybrid).
example: allone of: all, fuel, bev, phev

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
model_yearnumberModel year3 of 3
maketextMake3 of 3
modeltextModel and trim3 of 3
vehicle_classtextGovernment vehicle class3 of 3
powertraintextPowertrain3 of 3
engine_size_lnumberEngine size l2 of 3
cylindersnumberCylinders2 of 3
transmissiontextTransmission3 of 3
fuel_typetextFuel type3 of 3
city_l_100kmnumberCity l 100km2 of 3
highway_l_100kmnumberHighway l 100km2 of 3
combined_l_100kmnumberCombined l 100km2 of 3
combined_mpgnumberCombined MPG1 of 3
co2_g_kmnumberCo 2 g (km)3 of 3
co2_ratingnumberCo 2 rating3 of 3
smog_ratingnumberSmog rating3 of 3
range_kmnumberRange (km)2 of 3
kwh_100kmnumberkWh 100km1 of 3
recharge_time_hnumberRecharge time h2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordMakeModel and trimGovernment vehicle classPowertrainEngine size lCylindersTransmissionFuel typeHighway l 100kmCombined l 100kmCombined MPGCo 2 g (km)Co 2 ratingSmog ratingRange (km)kWh 100kmCity l 100kmModel yearRecharge time h
1Toyota4Runner 4WD (Part-Time 4WD)Sport utility vehicle: Standardfuel2.44AS8X9.611.22526246——12.42026—
2ToyotabZSport utility vehicle: Smallbev——A1B———0101038016.1—20266
3ToyotaPrius Plug-in Hybrid SEMid-sizephev24AVB/X*+X4.64.5—3110672—4.420264

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.
Known limits
  • 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.