Skip to content

FuelEconomy.gov API: Get fuel economy

Returns official MPG or MPGe, range, annual fuel cost, five-year savings and emissions for every matching version of a vehicle. Costs use current fuel prices and 15,000 miles per year; plug-in hybrid costs include gasoline and electricity.

fueleconomy.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by FuelEconomy.gov.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Make, requiredmake

Vehicle make, for example Toyota.

Toyota

Year, requiredyear

Model year, for example 2022.

2022

Whole number.

Model, requiredmodel

Model name, for example RAV4 or Model 3.

RAV4

Version optionalversion

Optional words identifying trim, engine, transmission or drive, for example Hybrid AWD.

2.5 L AWD

Default .

Output

From a run on Oct 23, 2026, shortened for this page.
{  "versions": [    {      "make": "Toyota",      "year": 2022,      "drive": "All-Wheel Drive",      "model": "RAV4 AWD",      "engine": "2.5 L, 4 cylinders, SIDI & PFI",      "city_mpg": 25,      "page_url": "https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=45005",      "city_mpge": null,      "fuel_type": "Regular",      "vehicle_id": "45005",      "highway_mpg": 33,      "range_miles": null,      "combined_mpg": 28,      "highway_mpge": null,      "transmission": "Automatic (S8)",      "combined_mpge": null,      "fuel_price_unit": "gallon",      "co2_grams_per_mile": 319,      "vehicle_description": "2022 Toyota RAV4 AWD, 2.5 L, 4 cylinders, SIDI & PFI, Automatic (S8), All-Wheel Drive",      "annual_fuel_cost_usd": 2300,      "annual_miles_assumed": 15000,      "electric_range_miles": null,      "greenhouse_gas_score": 6,      "five_year_savings_usd": 0,      "fuel_price_usd_per_unit": 4.28,      "secondary_fuel_price_unit": null,      "secondary_fuel_price_usd_per_unit": null    },    {      "make": "Toyota",      "year": 2022,      "drive": "All-Wheel Drive",      "model": "RAV4 AWD",      "engine": "2.5 L, 4 cylinders, SIDI & PFI; Stop-Start",      "city_mpg": 27,      "page_url": "https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=45006",      "city_mpge": null,      "fuel_type": "Regular",      "vehicle_id": "45006",      "highway_mpg": 33,      "range_miles": null,      "combined_mpg": 29,      "highway_mpge": null,      "transmission": "Automatic (S8)",      "combined_mpge": null,      "fuel_price_unit": "gallon",      "co2_grams_per_mile": 301,      "vehicle_description": "2022 Toyota RAV4 AWD, 2.5 L, 4 cylinders, SIDI & PFI; Stop-Start, Automatic (S8), All-Wheel Drive",      "annual_fuel_cost_usd": 2200,      "annual_miles_assumed": 15000,      "electric_range_miles": null,      "greenhouse_gas_score": 6,      "five_year_savings_usd": 500,      "fuel_price_usd_per_unit": 4.28,      "secondary_fuel_price_unit": null,      "secondary_fuel_price_usd_per_unit": null    },    {      "make": "Toyota",      "year": 2022,      "drive": "All-Wheel Drive",      "model": "RAV4 AWD LE",      "engine": "2.5 L, 4 cylinders, SIDI & PFI",      "city_mpg": 27,      "page_url": "https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=45008",      "city_mpge": null,      "fuel_type": "Regular",      "vehicle_id": "45008",      "highway_mpg": 34,      "range_miles": null,      "combined_mpg": 30,      "highway_mpge": null,      "transmission": "Automatic (S8)",      "combined_mpge": null,      "fuel_price_unit": "gallon",      "co2_grams_per_mile": 296,      "vehicle_description": "2022 Toyota RAV4 AWD LE, 2.5 L, 4 cylinders, SIDI & PFI, Automatic (S8), All-Wheel Drive",      "annual_fuel_cost_usd": 2150,      "annual_miles_assumed": 15000,      "electric_range_miles": null,      "greenhouse_gas_score": 6,      "five_year_savings_usd": 750,      "fuel_price_usd_per_unit": 4.28,      "secondary_fuel_price_unit": null,      "secondary_fuel_price_usd_per_unit": null    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
fueleconomy.gov/get_fuel_economy
Returns
MPG/MPGe, range, annual fuel cost, fuel prices, five-year savings, CO2, greenhouse gas score

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method fueleconomy.gov/get_fuel_economy with the inputs above.

Ask your agent

  • What is the MPG and annual fuel cost for a 2022 Toyota RAV4 Hybrid AWD?
  • Show me the fuel economy, range, and five-year savings for the 2023 Tesla Model 3.
  • How many miles per gallon does a 2021 Honda Civic get, and what would it cost to fuel per year?
  • Compare the MPGe and CO2 emissions for a 2024 Ford Mustang Mach-E on fueleconomy.gov.
  • Find the estimated range and greenhouse gas score for a 2020 Chevrolet Bolt EV.
  • Compares the official fuel economy and estimated annual fuel cost of two to four cars by year, make and model, using FuelEconomy.gov. Selects a base version when no trim is given.

    fueleconomy.gov/compare_cars
  • Gets NHTSA 5-Star Safety Ratings for a car by make, model and model year. Returns each matching version; unrated versions have no stars.

    nhtsa.gov/get_safety_ratings
  • Gets the current average used asking price, the CarGurus price range and the 12-month price history for a model year (all trims), from CarGurus price trends.

    cargurus.com/get_market_value
  • Gets the latest weekly EIA retail gasoline and on-highway diesel prices for a U.S. area, with changes from the prior week and from 52 weeks earlier.

    eia.gov/get_fuel_prices
  • Gets Kelley Blue Book's expert and consumer ratings, trim prices with the KBB Fair Purchase Price, fuel economy, pros, cons and the expert review's opening verdict for a car model by year, make and model. Some details are unavailable for certain model years.

    kbb.com/get_car_review
  • Lists the passenger car, SUV/minivan and truck models NHTSA has for a make and model year, alphabetically.

    nhtsa.gov/list_vehicle_models
  • Lists NHTSA safety recalls for a vehicle model, given a model year, make and model or a 17-character VIN. Results cover the model, not whether a specific car has been repaired.

    nhtsa.gov/check_recalls
  • Identifies a vehicle from its 17-character VIN using NHTSA vehicle data. Missing details are returned as null; decoding errors and warnings are included.

    nhtsa.gov/decode_vin