Legacy v1

Vehicle Efficiency

Last updated:

API reference for official vehicle fuel economy and efficiency ratings: EPA, Transport Canada, UK VCA, and EU EEA.

Docs for the previous API generation. v1 endpoints keep working, but new work should target v2. See v2 documentation.

The efficiency API returns official fuel economy and efficiency ratings, each under the rating program that issued it: EPA (US), Transport Canada, UK VCA, and EU EEA. All data is normalized to metric units.

Rating programs

ProgramRegionCoverageTest Cycle
EPAUnited States1984-2026EPA 5-cycle
Transport CanadaCanada1995-20275-cycle
UK VCAUnited KingdomCurrentWLTP
EU EEAEuropean Union2010-presentWLTP

Note: EPA test cycle results typically differ from WLTP by 10-20% for ICE vehicles. BEV efficiency is more comparable across regions.

Search efficiency records

GET /v1/efficiency/search

Search and filter efficiency records. Returns paginated results with all available efficiency metrics.

Optional parameters

ParameterTypeDescription
makesstringComma-separated list of vehicle makes (e.g., "Toyota,Honda"). Case-insensitive.
modelsstringComma-separated list of models (e.g., "Camry,Accord"). Case-insensitive.
yearMinnumberMinimum model year (e.g., 2020).
yearMaxnumberMaximum model year (e.g., 2024).
powertrainTypesstringComma-separated powertrain types. See powertrain types.
fuelTypesstringComma-separated fuel types (e.g., "Gasoline,Diesel,Electricity").
sourcesstringComma-separated rating programs: epa, tc, uk-vca, eu-eea.
testCyclesstringComma-separated test cycles: epa, wltp, mixed.
sortstringSort field: make, model, year, combined_l_per_100km, combined_kwh_per_100km, co2_grams_per_km, electric_range_km.
orderstringSort order: asc or desc. Default: asc.
limitnumberResults per page (1-250). Default: 50.
offsetnumberNumber of results to skip for pagination.
curl "https://api.cardog.app/v1/efficiency/search" \
  -H "x-api-key: your-api-key" \
  -G \
  -d "makes=Tesla" \
  -d "powertrainTypes=bev" \
  -d "yearMin=2022" \
  -d "sort=electric_range_km" \
  -d "order=desc" \
  -d "limit=10"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Search EPA fuel economy ratings
const results = await client.efficiency.search({
  make: "Toyota",
  model: "Prius",
  year: 2023,
});

for (const record of results.data) {
  console.log(`${record.variant}: ${record.combinedLPer100km} L/100km`);
  console.log(`CO2: ${record.co2GramsPerKm} g/km`);
}
import requests
response = requests.get('https://api.cardog.app/v1/efficiency/search', params={
  'makes': 'Tesla',
  'powertrainTypes': 'bev',
  'yearMin': 2022,
  'sort': 'electric_range_km',
  'order': 'desc',
  'limit': 10
}, headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

3 keys
"response": {
"success": true,
"data": [
0: {26 items}
],
"meta": {
"filter": {3 items},
"count": 10
}
}

Get efficiency by vehicle

GET /v1/efficiency/:make/:model/:year

Retrieve all efficiency records for a specific make, model, and year. Returns all available trims and variants.

Path parameters

ParameterTypeDescription
makestring (required)Vehicle make (e.g., "Toyota"). Case-insensitive.
modelstring (required)Vehicle model (e.g., "Camry"). Case-insensitive.
yearnumber (required)Model year (e.g., 2024).
curl "https://api.cardog.app/v1/efficiency/toyota/camry/2024" \
  -H "x-api-key: your-api-key"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get all trims for a specific vehicle
const efficiency = await client.efficiency.byVehicle("Toyota", "Camry", 2024);

for (const record of efficiency.data) {
  console.log(`${record.variant}: ${record.combinedLPer100km} L/100km`);
}
import requests
response = requests.get('https://api.cardog.app/v1/efficiency/toyota/camry/2024',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

3 keys
"response": {
"success": true,
"data": [
0: {26 items},
1: {26 items}
],
"meta": {
"make": "TOYOTA",
"model": "CAMRY",
"year": 2024,
"count": 2
}
}

Get efficiency by vehicle with trim

GET /v1/efficiency/:make/:model/:year/:trim

Retrieve efficiency records for a specific make, model, year, and trim. Uses fuzzy matching on trim names. If no exact match is found, falls back to returning all trims for that vehicle.

Path parameters

ParameterTypeDescription
makestring (required)Vehicle make (e.g., "Ford"). Case-insensitive.
modelstring (required)Vehicle model (e.g., "Mustang"). Case-insensitive.
yearnumber (required)Model year (e.g., 2024).
trimstring (required)Trim level or variant (e.g., "GT"). Fuzzy matched.

Response metadata

FieldTypeDescription
fallbackbooleantrue if no trim match was found and all trims were returned instead.
curl "https://api.cardog.app/v1/efficiency/ford/mustang/2024/GT" \
  -H "x-api-key: your-api-key"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get efficiency for a specific trim (fuzzy matched)
const efficiency = await client.efficiency.byVehicle(
  "Ford",
  "Mustang",
  2024,
  "GT"
);

for (const record of efficiency.data) {
  console.log(`${record.variant}: ${record.combinedLPer100km} L/100km`);
  console.log(`CO2: ${record.co2GramsPerKm} g/km`);
}
import requests
response = requests.get('https://api.cardog.app/v1/efficiency/ford/mustang/2024/GT',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

3 keys
"response": {
"success": true,
"data": [
0: {26 items}
],
"meta": {
"make": "FORD",
"model": "MUSTANG",
"year": 2024,
"trim": "GT",
"count": 1,
"fallback": false
}
}

Get efficiency statistics

GET /v1/efficiency/stats/overview

Retrieve aggregated statistics about the efficiency database, including record counts by source, powertrain type, test cycle, year range, and top makes.

curl "https://api.cardog.app/v1/efficiency/stats/overview" \
  -H "x-api-key: your-api-key"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get database statistics
const stats = await client.efficiency.stats();

console.log(`Total records: ${stats.data.totalRecords}`);
console.log(`Year range: ${stats.data.yearRange.min}-${stats.data.yearRange.max}`);

for (const source of stats.data.bySource) {
  console.log(`${source.source}: ${source.count} records`);
}
import requests
response = requests.get('https://api.cardog.app/v1/efficiency/stats/overview',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

2 keys
"response": {
"success": true,
"data": {
"totalRecords": 156234,
"bySource": [4 items],
"byPowertrain": [6 items],
"byTestCycle": [2 items],
"yearRange": {2 items},
"topMakes": [10 items]
}
}

Powertrain Types

TypeDescription
iceInternal Combustion Engine. Gasoline or diesel vehicles.
bevBattery Electric Vehicle. Fully electric, no combustion engine.
phevPlug-in Hybrid Electric Vehicle. Electric motor with combustion engine backup; can be charged externally.
hevHybrid Electric Vehicle. Electric motor assists the combustion engine; cannot be charged externally.
mhevMild Hybrid Electric Vehicle. Small electric motor provides limited assist to the combustion engine.
fcevFuel Cell Electric Vehicle. Powered by hydrogen fuel cells.

The efficiency record model

An efficiency record contains vehicle efficiency data normalized to metric units.

Identification

FieldTypeDescription
idnumberUnique record identifier.
sourcestringRating program: epa, tc, uk-vca, or eu-eea.
sourceIdstringThe rating program's own identifier for the record.
yearnumberModel year.
makestringVehicle manufacturer (uppercase).
modelstringVehicle model name (uppercase).
variantstring | nullTrim level or variant name.

Powertrain

FieldTypeDescription
powertrainTypestringPowertrain type. See powertrain types.
fuelTypestringFuel type (e.g., "Gasoline", "Diesel", "Electricity").
transmissionstring | nullTransmission type (e.g., "A8", "M6", "AV-S6").
driveTypestring | nullDrive configuration (e.g., "FWD", "RWD", "AWD", "4WD").

Engine specifications

FieldTypeDescription
engineDisplacementCcnumber | nullEngine displacement in cubic centimeters (cc). Null for BEVs.
enginePowerKwnumber | nullEngine/motor power in kilowatts (kW).
cylindersnumber | nullNumber of cylinders. Null for BEVs.

Fuel consumption

FieldTypeDescription
combinedLPer100kmnumber | nullCombined fuel consumption in liters per 100 kilometers (L/100km).
cityLPer100kmnumber | nullCity fuel consumption in L/100km.
highwayLPer100kmnumber | nullHighway fuel consumption in L/100km.

Electric consumption

FieldTypeDescription
combinedKwhPer100kmnumber | nullCombined electric consumption in kilowatt-hours per 100 kilometers (kWh/100km).
cityKwhPer100kmnumber | nullCity electric consumption in kWh/100km.
highwayKwhPer100kmnumber | nullHighway electric consumption in kWh/100km.

Emissions and range

FieldTypeDescription
co2GramsPerKmnumber | nullCO2 emissions in grams per kilometer (g/km). Zero for BEVs.
electricRangeKmnumber | nullElectric-only range in kilometers (km). Applicable to BEVs and PHEVs.
totalRangeKmnumber | nullTotal range in kilometers (km).

Vehicle specifications

FieldTypeDescription
massKgnumber | nullVehicle mass in kilograms (kg).
wheelbaseMmnumber | nullWheelbase in millimeters (mm).
testCyclestringTest cycle used for measurements: epa, wltp, or mixed.

Was this helpful?