# FuelEconomy.gov API

> 2 public methods for FuelEconomy.gov (fueleconomy.gov), each 1 credit per completed run.

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

- Page: https://fous.com/methods/fueleconomy.gov

## Methods

### [Get fuel economy](https://fous.com/methods/fueleconomy.gov/get-fuel-economy.md)

`fueleconomy.gov/get_fuel_economy`, read. 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.

Returns: MPG/MPGe, range, annual fuel cost, fuel prices, five-year savings, CO2, greenhouse gas score

### [Compare cars](https://fous.com/methods/fueleconomy.gov/compare-cars.md)

`fueleconomy.gov/compare_cars`, read. 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.

Returns: per car: matched version, MPG or MPGe, annual fuel cost, CO2, GHG score, range, link; plus cheapest-to-run summary
