Use the fueleconomy.gov Web Services API to populate a year, make, and model vehicle picker and retrieve official EPA fuel economy ratings for the selected vehicle

domain: fueleconomy.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call the vehicle menu endpoints in sequence, retrieving available years, then makes for a selected year, then models for a selected make and year, to drive a cascading vehicle picker
  2. Call the options menu endpoint when a single make and model maps to multiple trims or configurations, so the user can select the exact vehicle variant
  3. Retrieve the full vehicle record for the selected option ID to get combined, city, and highway MPG figures
  4. Parse the response in the XML format the service returns by default, or convert it as needed for your application
  5. Cache menu and vehicle record responses locally where appropriate, since the underlying EPA dataset only updates with new model years rather than continuously

Known gotchas

Related routes

Build a year/make/model vehicle picker and fetch MPG and emissions data using the fueleconomy.gov Web Services menu API.
fueleconomy.gov · 5 steps · unrated
Fetch fuel economy (MPG) data from the EPA fueleconomy.gov API
fueleconomy.gov · 5 steps · unrated
Retrieve vehicle fuel economy and environmental data from the EPA FuelEconomy.gov API to enrich vehicle listings
fueleconomy.gov · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans