EPA fuel economy, EV range and annual fuel cost for any make, model and year.
Vehicle Fuel Economy returns the EPA ratings of every car and light truck sold in the US since 1984, electric vehicles included. Search by make, model, year and fuel type to get city, highway and combined MPG (or MPGe), electric range, engine, drive and transmission. Paid plans add kWh per 100 miles, charge time at 240V, annual fuel cost, five-year savings, CO2 per mile and the EPA fuel economy, greenhouse gas and smog scores.
Try it — live request, no key required
No key required to try it. Get a key to use it in your app.
{
"status": "ok",
"error": null,
"data": {
"count": 5,
"page": 1,
"pages": 3,
"returned": 2,
"vehicles": [
{
"epaId": 47908,
"year": 2024,
"make": "Tesla",
"model": "Model 3 Long Range AWD",
"baseModel": "Model 3",
"vehicleClass": "Midsize Cars",
"powertrain": "electric",
"fuelType": "Electricity",
"drive": "All-Wheel Drive",
"transmission": "Automatic (A1)",
"engine": {
"cylinders": null,
"displacementL": null,
"turbocharged": false,
"supercharged": false,
"description": null,
"electricMotor": "84 and 191 kW ACPM 3-Phase"
},
"startStop": false,
"mpg": {
"unit": "MPGe",
"city": 137,
"highway": 124,
"combined": 130
},
"mpgAlternateFuel": null,
"electric": {
"rangeMiles": 342,
"rangeCityMiles": 357,
"rangeHighwayMiles": 323,
"rangeKm": 550,
"kwhPer100Miles": {
"city": 24.7,
"highway": 27.2,
"combined": 25.8
},
"chargeTime240vHours": 9.4,
"chargeTime120vHours": null,
"onboardCharger": null
},
"annualFuelCostUsd": 600,
"fiveYearSavingsUsd": 8000,
"co2GramsPerMile": 0,
"scores": {
"fuelEconomy": 10,
"greenhouseGas": 10,
"smog": 10
},
"gasGuzzler": false
},
{
"epaId": 48473,
"year": 2024,
"make": "Tesla",
"model": "Model 3 Long Range AWD-E",
"baseModel": "Model 3",
"vehicleClass": "Midsize Cars",
"powertrain": "electric",
"fuelType": "Electricity",
"drive": "All-Wheel Drive",
"transmission": "Automatic (A1)",
"engine": {
"cylinders": null,
"displacementL": null,
"turbocharged": false,
"supercharged": false,
"description": null,
"electricMotor": "191 kW ACPM 3-Phase"
},
"startStop": false,
"mpg": {
"unit": "MPGe",
"city": 133,
"highway": 122,
"combined": 128
},
"mpgAlternateFuel": null,
"electric": {
"rangeMiles": 341,
"rangeCityMiles": 355,
"rangeHighwayMiles": 324,
"rangeKm": 549,
"kwhPer100Miles": {
"city": 25.3,
"highway": 27.7,
"combined": 26.4
},
"chargeTime240vHours": 10,
"chargeTime120vHours": null,
"onboardCharger": null
},
"annualFuelCostUsd": 600,
"fiveYearSavingsUsd": 8000,
"co2GramsPerMile": 0,
"scores": {
"fuelEconomy": 10,
"greenhouseGas": 10,
"smog": 10
},
"gasGuzzler": false
}
]
}
}
About the Vehicle Fuel Economy API
A fuel economy API built on the US EPA and Department of Energy fueleconomy.gov data, the figures on every new car's window sticker. It covers about 50,000 vehicle configurations from 1984 to the coming model year: gasoline, diesel, hybrid, plug-in hybrid, battery electric, flex-fuel, natural gas and hydrogen fuel cell vehicles.
Search by make, model or both, narrow by model year and fuel type, and page through the results. Each vehicle returns its model year, make, model and base model, EPA vehicle class, powertrain, fuel, drive, transmission and engine (cylinders, displacement, turbo or supercharger, electric motor), with city, highway and combined MPG, or MPGe for electric vehicles. Electric vehicles and plug-in hybrids add their EPA electric range in miles and kilometres, and plug-in hybrids their MPGe on electricity.
Paid plans add the running-cost and environmental figures: energy use in kWh per 100 miles, charge time on a 240V and 120V circuit and the onboard charger, the EPA's annual fuel cost estimate, the five-year saving or extra cost against the average new vehicle, tailpipe CO2 in grams per mile, and the EPA fuel economy, greenhouse gas and smog scores on a 1-10 scale. The data is refreshed weekly from fueleconomy.gov.
How it works
Either make or model is required. make is matched after dropping punctuation and case, with Chevy, VW and Mercedes accepted; model matches the start or any part of the EPA's full model name or base model, so model=Camry returns Camry, Camry Hybrid LE and Camry AWD LE/SE. A model without a make searches every make that builds it. year and fuelType narrow the result, and results are ordered newest model year first, then by model name; limit (default 20, at most 50) and page walk through them.
The data is fueleconomy.gov's vehicles file, rebuilt weekly, joined to its emissions file for the smog rating (the federal rating where a vehicle has both a federal and a California one). Each row is one EPA test configuration: a model year, engine, transmission and drive. mpg is the EPA's adjusted label value on the primary fuel, in MPGe for electric vehicles; plug-in hybrids show gasoline MPG in mpg and MPGe on electricity in mpgAlternateFuel, with their charge-depleting electric range in electric.rangeMiles.
powertrain is derived from the EPA's alternative fuel type and fuel: electric, plugin_hybrid, hybrid, hydrogen, flex_fuel, cng, diesel or gasoline. Values the EPA leaves blank or zero are null. No match returns 404. On the Free plan kWh per 100 miles, charge times, the onboard charger, annual fuel cost, five-year savings, CO2 and scores are null.
What people use it for
- Car Shopping Sites
- Show EPA MPG, EV range and running costs beside each listing and let buyers compare trims.
- Fleet Electrification
- Compare the annual fuel cost and CO2 of current vehicles against electric replacements.
- Insurance and Finance
- Add powertrain, fuel type and efficiency to vehicle records for pricing and green-loan eligibility.
- Sustainability Reporting
- Estimate tailpipe CO2 per mile for company cars and mileage claims.
Ways to call it
One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.
- JSON
- Default REST response
- XML
- Markup format
- YAML
- Human-readable
- CSV
- Tabular export
- GraphQL
- Query language
- MCP
- For AI agents
Other ways to use Vehicle Fuel Economy
Same data, same APIVerve account, same credit balance — one key works on all of them.
Which vehicles are covered?
What does the Free plan return?
Does it include battery capacity or DC fast charging speed?
Why does one model return several vehicles?
How many credits does a search use?
Request parameters — GET /v1/vehiclefueleconomy
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them. Anything not listed here is dropped rather than passed through.
Optional
| Parameter | Type | Example | Description |
|---|---|---|---|
makeOptional | string | Tesla | Vehicle make, for example Toyota, Ford or Tesla. Either make or model is required length 0-40 |
modelOptional | string | Model 3 | Model name or the start of it, for example Camry or Model 3. Either make or model is required length 0-60 |
yearOptional | integer | 2024 | Model year, 1984 or later range 1984-2030 |
fuelTypeOptional | string | electric | Only vehicles with this powertraingasolinedieselhybridplugin_hybridelectricflex_fuelcnghydrogen |
limitOptional | integer | 20 | Vehicles per page, 1-50 default 20 · range 1-50 |
pageOptional | integer | 1 | Page of results to return, starting at 1 default 1 · range 1-inf |
curl "https://api.apiverve.com/v1/vehiclefueleconomy?make=Tesla&model=Model%203&year=2024&fuelType=electric&limit=20&page=1" \
-H "x-api-key: YOUR_API_KEY"Authentication
Send your key in the x-api-key header. That is the only auth step — no token exchange, and no per-endpoint scope to configure.
| Header | When | Value |
|---|---|---|
x-api-keyRequired | Every request | Your API key. Header names are case-insensitive, so X-API-Key is the same header. |
AuthorizationAlternate | Instead of the above | Bearer <key> — for clients that only expose bearer auth. Resolves to the same account and the same billing. |
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Response — GET /v1/vehiclefueleconomy
Every APIVerve endpoint returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape.
{
"status": "ok",
"error": null,
"data": {
"count": 5,
"page": 1,
"pages": 3,
"returned": 2,
"vehicles": [
{
"epaId": 47908,
"year": 2024,
"make": "Tesla",
"model": "Model 3 Long Range AWD",
"baseModel": "Model 3",
"vehicleClass": "Midsize Cars",
"powertrain": "electric",
"fuelType": "Electricity",
"drive": "All-Wheel Drive",
"transmission": "Automatic (A1)",
"engine": {
"cylinders": null,
"displacementL": null,
"turbocharged": false,
"supercharged": false,
"description": null,
"electricMotor": "84 and 191 kW ACPM 3-Phase"
},
"startStop": false,
"mpg": {
"unit": "MPGe",
"city": 137,
"highway": 124,
"combined": 130
},
"mpgAlternateFuel": null,
"electric": {
"rangeMiles": 342,
"rangeCityMiles": 357,
"rangeHighwayMiles": 323,
"rangeKm": 550,
"kwhPer100Miles": {
"city": 24.7,
"highway": 27.2,
"combined": 25.8
},
"chargeTime240vHours": 9.4,
"chargeTime120vHours": null,
"onboardCharger": null
},
"annualFuelCostUsd": 600,
"fiveYearSavingsUsd": 8000,
"co2GramsPerMile": 0,
"scores": {
"fuelEconomy": 10,
"greenhouseGas": 10,
"smog": 10
},
"gasGuzzler": false
},
{
"epaId": 48473,
"year": 2024,
"make": "Tesla",
"model": "Model 3 Long Range AWD-E",
"baseModel": "Model 3",
"vehicleClass": "Midsize Cars",
"powertrain": "electric",
"fuelType": "Electricity",
"drive": "All-Wheel Drive",
"transmission": "Automatic (A1)",
"engine": {
"cylinders": null,
"displacementL": null,
"turbocharged": false,
"supercharged": false,
"description": null,
"electricMotor": "191 kW ACPM 3-Phase"
},
"startStop": false,
"mpg": {
"unit": "MPGe",
"city": 133,
"highway": 122,
"combined": 128
},
"mpgAlternateFuel": null,
"electric": {
"rangeMiles": 341,
"rangeCityMiles": 355,
"rangeHighwayMiles": 324,
"rangeKm": 549,
"kwhPer100Miles": {
"city": 25.3,
"highway": 27.7,
"combined": 26.4
},
"chargeTime240vHours": 10,
"chargeTime120vHours": null,
"onboardCharger": null
},
"annualFuelCostUsd": 600,
"fiveYearSavingsUsd": 8000,
"co2GramsPerMile": 0,
"scores": {
"fuelEconomy": 10,
"greenhouseGas": 10,
"smog": 10
},
"gasGuzzler": false
}
]
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
count | number | 5 | Number of vehicles that match |
page | number | 1 | Page returned |
pages | number | 3 | Number of pages at this limit |
returned | number | 2 | Number of vehicles in this response |
vehicles | array[2] | Matching vehicles, newest model year first | |
epaId | number | 47908 | The vehicle's fueleconomy.gov id |
year | number | 2024 | Model year |
make | string | "Tesla" | Make |
model | string | "Model 3 Long Range AWD" | Full model name as the EPA rates it |
baseModel | string | "Model 3" | Base model name |
vehicleClass | string | "Midsize Cars" | EPA size class, for example Midsize Cars or Small Pickup Trucks 2WD |
powertrain | string | "electric" | gasoline, diesel, hybrid, plugin_hybrid, electric, flex_fuel, cng, hydrogen or other |
fuelType | string | "Electricity" | Fuel as the EPA lists it, for example Regular, Premium or Electricity |
drive | string | "All-Wheel Drive" | Drive type, for example Front-Wheel Drive or All-Wheel Drive |
transmission | string | "Automatic (A1)" | Transmission, for example Automatic (S8) |
engine | object | {...} | Engine and motor |
cylinders | object | null | Number of cylinders |
displacementL | object | null | Engine displacement in litres |
turbocharged | boolean | false | Whether the engine is turbocharged |
supercharged | boolean | false | Whether the engine is supercharged |
description | object | null | The EPA's engine description code, when given |
electricMotor | string | "84 and 191 kW ACPM 3-Phase" | Electric motor rating, for hybrids and electric vehicles |
startStop | boolean | false | Whether the engine has start-stop |
mpg | object | {...} | EPA fuel economy on the primary fuel |
unit | string | "MPGe" | MPG, or MPGe for electric vehicles |
city | number | 137 | City fuel economy |
highway | number | 124 | Highway fuel economy |
combined | number | 130 | Combined fuel economy |
mpgAlternateFuel | object | null | Fuel economy on the second fuel: electricity for plug-in hybrids, E85 or natural gas for dual-fuel vehicles |
electric | object | {...} | Electric range and charging, for electric vehicles and plug-in hybrids |
rangeMiles | number | 342 | EPA electric range in miles |
rangeCityMiles | number | 357 | EPA city electric range in miles |
rangeHighwayMiles | number | 323 | EPA highway electric range in miles |
rangeKm | number | 550 | EPA electric range in kilometres |
kwhPer100Miles | object | {...} | Electricity used per 100 miles |
cityPremium | number | 24.7 | City kWh per 100 miles |
highwayPremium | number | 27.2 | Highway kWh per 100 miles |
combinedPremium | number | 25.8 | Combined kWh per 100 miles |
chargeTime240vHoursPremium | number | 9.4 | Hours to charge on a 240V circuit |
chargeTime120vHoursPremium | object | null | Hours to charge on a 120V circuit |
onboardChargerPremium | object | null | Onboard charger description, when given |
annualFuelCostUsdPremium | number | 600 | EPA's annual fuel cost estimate in US dollars (15,000 miles, 55% city) |
fiveYearSavingsUsdPremium | number | 8000 | Fuel cost saved over five years against the average new vehicle; negative means it costs more |
co2GramsPerMilePremium | number | 0 | Tailpipe CO2 in grams per mile |
scores | object | {...} | EPA 1-10 scores, 10 best |
fuelEconomyPremium | number | 10 | EPA fuel economy score, 2013 models on |
greenhouseGasPremium | number | 10 | EPA greenhouse gas score, 2013 models on |
smogPremium | number | 10 | EPA smog rating, 2000 models on |
gasGuzzler | boolean | false | Whether the vehicle carries the federal gas guzzler tax |
Response headers
Every response carries your balance, so your own code always knows where it stands without polling anything. All four are exposed to browsers through CORS.
| Header | What it carries |
|---|---|
x-api-remaining-credits | Credits left in the current cycle |
x-api-credits-used | Credits spent in the current cycle |
x-api-max-credits | The allowance for the cycle |
x-api-version | Version of the endpoint that answered |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter that has to change. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted here | A key restriction or an IP allow-list — never a bad key. |
429 | Rate limited, or out of credits | Read error to tell them apart, then back off or top up. |
What a call costs — 1 credits per call
Credits are shared across every APIVerve API — one balance, one key, one bill. Failed requests never count against it, so a rejected input costs nothing.
| Plan | Per month | Credits | Vehicle Fuel Economy calls | Per 1,000 calls |
|---|---|---|---|---|
| Free | Free | 200 | 200 | Free |
| Starter | $29.99 | 200,000 | 200,000 | $0.15 |
| Pro | $99.99 | 1,000,000 | 1,000,000 | $0.10 |
| Mega | $299.99 | 4,000,000 | 4,000,000 | $0.07 |
Calls are what the credits buy at this API's rate — spend them here, on any of the other APIs, or across both. Nothing is reserved per endpoint.
Call it from cURL — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
curl "https://api.apiverve.com/v1/vehiclefueleconomy" \
-H "x-api-key: YOUR_API_KEY"Resources
Call it from Node.js — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
const res = await fetch("https://api.apiverve.com/v1/vehiclefueleconomy", {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);Resources
Call it from Python — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
import requests
res = requests.get(
"https://api.apiverve.com/v1/vehiclefueleconomy",
headers={"x-api-key": "YOUR_API_KEY"},
)
print(res.json()["data"])Resources
Call it from C# / .NET — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var json = await client.GetStringAsync("https://api.apiverve.com/v1/vehiclefueleconomy");
Console.WriteLine(json);Resources
Call it from Go — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/vehiclefueleconomy", nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))Resources
Call it from PHP — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
$ch = curl_init("https://api.apiverve.com/v1/vehiclefueleconomy");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-api-key: YOUR_API_KEY"]);
$response = curl_exec($ch);
echo $response;Resources
Call it from Ruby — GET /v1/vehiclefueleconomy
No SDK to install — this is a plain HTTPS call to /v1/vehiclefueleconomy with your key in the x-api-key header. Swap in a real key and it runs as-is.
require "net/http"
uri = URI("https://api.apiverve.com/v1/vehiclefueleconomy")
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = "YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.bodyResources
Zero-code embed — one snippet, no backend
Drop an interactive Vehicle Fuel Economy form onto any page. The widget calls the API for you, so no key ever appears in your markup and there is nothing to deploy.
Changelog — Vehicle Fuel Economy API
Every change to this endpoint, newest first. Breaking changes ship as a new version and the previous one keeps serving — response fields are added, never removed or retyped in place, so an integration written against v1 keeps working.
Entries are picked up from dated catalog snapshots, so the first one appears after the next snapshot that moves something. A period where nothing changed produces no entry — silence is a valid changelog for the Vehicle Fuel Economy API.
Transportation
- Aircraft Types
- Airline Lookup
- Airport Code Converter
- Airport Distance
- Airports Lookup
- DTC Lookup
- EV Charging Stations
- Motor Carrier Lookup
- Travel Entry Requirements
- US Car Models
- Vehicle Fuel Economy
- VIN Decoder
- Visa Requirements