FuelEconomy.gov API
FuelEconomy.gov (fueleconomy.gov) has 2 public methods: get fuel economy and compare cars. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.
Unofficial. Not affiliated with or endorsed by FuelEconomy.gov.
Methods
2Returns 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.
Returns MPG/MPGe, range, annual fuel cost, fuel prices, five-year savings, CO2, greenhouse gas score
Readfueleconomy.gov/get_fuel_economyCompares 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.
Returns per car: matched version, MPG or MPGe, annual fuel cost, CO2, GHG score, range, link; plus cheapest-to-run summary
Readfueleconomy.gov/compare_cars