Vehicles

EPA Fuel Economy Guide data — MPG/MPGe by trim, make/model lookups, and cross-dataset efficiency rankings.

Trim-level fuel economy

GET /v1/vehicles/trim — every model-year trim matching a make + model.

curl "https://api.cornerdatastore.com/v1/vehicles/trim?make=Toyota&model=Camry" \
  -H "X-Api-Key: YOUR_API_KEY"
Response
{
  "make": "Toyota",
  "model": "Camry",
  "count": 2,
  "trims": [
    {
      "year": 2024,
      "comb08": 26,
      "city08": 22,
      "hwy08": 33,
      "fuelType1": "Regular Gasoline",
      "combE": null,
      "cityE": null,
      "highwayE": null
    }
  ]
}

Confirmed exact shape from source. make/model are required (case-insensitive partial match). comb08/city08/hwy08 are EPA MPG (or MPGe); combE/cityE/highwayE are kWh/100mi, populated only when fuelType1 === "Electricity". 404 if no trims match.

All vehicle endpoints

MethodEndpointDescription
GET/v1/vehicles/makesList vehicle makes (?current_only)
GET/v1/vehicles/modelsList models for a make (?make)
GET/v1/vehicles/models/groupedModels grouped by make
GET/v1/vehicles/trimTrim-level fuel economy by make + model
GET/v1/vehicles/rankingsRank vehicles by combined MPG/MPGe (?fuel_type&model_year&order&limit)