# GasBuddy API

> 2 public methods for GasBuddy (gasbuddy.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by GasBuddy.

- Page: https://fous.com/methods/gasbuddy.com

## Methods

### [Get average gas prices](https://fous.com/methods/gasbuddy.com/get-average-gas-prices.md)

`gasbuddy.com/get_average_gas_prices`, read. 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.

Returns: place, regular price, regular price changes (day, week, month, year), diesel price, last updated date, GasBuddy link

### [List cheapest gas stations](https://fous.com/methods/gasbuddy.com/list-cheapest-gas-stations.md)

`gasbuddy.com/list_cheapest_gas_stations`, read. 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.

Returns: station name, brand, address, price, cash and credit prices, price age, rating, link, coordinates
