Skip to content

GasBuddy API: Get average gas prices

Gets GasBuddy's latest reported average regular gas price, its changes and the diesel benchmark for a US state or a listed metro area. Midgrade, premium and area low/high prices are not published with these averages; updates may lag the current day.

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

Unofficial. Not affiliated with or endorsed by GasBuddy.

Inputs

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

Location, requiredlocation

US state name or two-letter code, or city and state, for example "Chicago, IL".

Chicago, IL

Output

From a run on Oct 31, 2026.
{  "place": "Chicago, IL",  "currency": "USD",  "gasbuddy_link": "https://fuelinsights.gasbuddy.com/#Home/US/Illinois/Chicago",  "last_updated_date": "2026-09-28",  "diesel_price_per_gallon": 6.816,  "premium_price_per_gallon": null,  "regular_price_per_gallon": 4.866,  "midgrade_price_per_gallon": null,  "regular_change_from_week_ago": -0.177,  "regular_change_from_year_ago": 1.281,  "regular_change_from_month_ago": 0.436,  "regular_change_from_yesterday": 0.009,  "lowest_regular_price_per_gallon": null,  "highest_regular_price_per_gallon": null}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
gasbuddy.com/get_average_gas_prices
Returns
place, regular price, regular price changes (day, week, month, year), diesel price, last updated date, GasBuddy link

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 gasbuddy.com/get_average_gas_prices with the inputs above.

Ask your agent

  • What's the average price of regular gas in Ohio right now, and how much has it changed since last week?
  • Check gasbuddy.com for the current average regular and diesel prices in Phoenix, AZ.
  • How does today's average regular unleaded price in Colorado compare to a year ago?
  • Pull the GasBuddy average gas price for Atlanta, GA, including the monthly change and the diesel average.
  • I'm driving through TX tomorrow. What's the statewide average for regular fuel and diesel, and when was it last updated?
  • Finds nearby GasBuddy stations for a US or Canadian city, address or postal code and lists their reported prices for a fuel grade, lowest listed price first.

    gasbuddy.com/list_cheapest_gas_stations
  • Gets AAA average gasoline and diesel prices for the US, a state, or a metro area listed on its state page, with yesterday, week, month and year-ago comparisons and record highs, as of the date AAA shows.

    gasprices.aaa.com/get_gas_prices
  • 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 a state's latest monthly electricity price for a customer type from EIA. It also returns the year-over-year change, the year-to-date average and the matching US average.

    eia.gov/get_electricity_prices
  • Finds the US Costco warehouses nearest a city, address or ZIP code, with today's and weekly hours, gas station hours, services and posted gas prices.

    costco.com/search_warehouses
  • Gets a city's current Numbeo cost of living indices, monthly estimates without rent, and typical prices. Add a country or state to tell apart cities with the same name.

    numbeo.com/get_cost_of_living
  • 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 Zumper's current median monthly rents for studio through three-bedroom homes in a city, with monthly and yearly percentage changes. National rank is included only when the same-month U.S. national report ranks the city.

    zumper.com/get_average_rents