Skip to content

Gas prices, diesel prices and gas price history

AAA daily gas price averages for the United States, states and metro areas.

Get gas prices

Get gas prices

Get AAA average gasoline and diesel prices for the US, a state, or a metro area, including five comparison periods and record highs. Prices use the date shown by AAA, which may differ from today; metro areas are those listed on their state page.

Your information

US, a state name or two-letter code, or a metro name followed by its state, for example Houston, TX.

1 credit per run

Example results

Date
2026-09-28
Place
United States
Currency
USD
Current
Diesel
6.4531
Premium
5.3625
Regular
4.4768
Mid Grade
4.9689
Week Ago
Diesel
6.5107
Premium
5.3545
Regular
4.4786
Mid Grade
4.9599
Year Ago
Diesel
3.6856
Premium
3.9805
Regular
3.1329
Mid Grade
3.6216
Month Ago
Diesel
5.6105
Premium
4.984
Regular
4.0898
Mid Grade
4.6021
Yesterday
Diesel
6.4709
Premium
5.3777
Regular
4.4798
Mid Grade
4.9891
Record High Diesel
Date
2026-09-22
Price
6.5276
Record High Regular
Date
2022-06-14
Price
5.0165
Example data · Run in Studio for fresh results.

Choose an action

About AAA

AAA, also called Triple-A, returns average gasoline and diesel prices for the US, a state, or a metro area using a location name or code.

Get gas prices includes current prices, five comparison periods, and record-high diesel prices when shown; results use AAA’s displayed price date.

Built by Fous from gasprices.aaa.com and checked automatically; it last passed a check on Sep 29, 2026. Fous is not affiliated with AAA.

Actions

Get gas prices

1 credit per run

Get AAA average gasoline and diesel prices for the US, a state, or a metro area, including five comparison periods and record highs. Prices use the date shown by AAA, which may differ from today; metro areas are those listed on their state page.

What you provide

FieldTypeRequiredDescription
LocationlocationTextOptionalUS, a state name or two-letter code, or a metro name followed by its state, for example Houston, TX.Example: US

What you get

FieldTypeDescription
DatedateDateAAA price date (YYYY-MM-DD).Example: 2026-09-28
LinklinkTextAAA price page for this location.Example: https://gasprices.aaa.com/
PlaceplaceTextThe national, state, or metro location.Example: United States
CurrentcurrentDetailsCurrent average prices per gallon in USD.
Dieselcurrent.dieselNumberDiesel price per gallon in USD.Example: 6.4531
Premiumcurrent.premiumNumberPremium price per gallon in USD.Example: 5.3625
Regularcurrent.regularNumberRegular price per gallon in USD.Example: 4.4768
Mid Gradecurrent.mid_gradeNumberMid-grade price per gallon in USD.Example: 4.9689
CurrencycurrencyTextCurrency of all prices, USD.Example: USD
Week Agoweek_agoDetailsOne week ago average prices per gallon in USD.
Dieselweek_ago.dieselNumberDiesel price per gallon in USD.Example: 6.5107
Premiumweek_ago.premiumNumberPremium price per gallon in USD.Example: 5.3545
Regularweek_ago.regularNumberRegular price per gallon in USD.Example: 4.4786
Mid Gradeweek_ago.mid_gradeNumberMid-grade price per gallon in USD.Example: 4.9599
Year Agoyear_agoDetailsOne year ago average prices per gallon in USD.
Dieselyear_ago.dieselNumberDiesel price per gallon in USD.Example: 3.6856
Premiumyear_ago.premiumNumberPremium price per gallon in USD.Example: 3.9805
Regularyear_ago.regularNumberRegular price per gallon in USD.Example: 3.1329
Mid Gradeyear_ago.mid_gradeNumberMid-grade price per gallon in USD.Example: 3.6216
Month Agomonth_agoDetailsOne month ago average prices per gallon in USD.
Dieselmonth_ago.dieselNumberDiesel price per gallon in USD.Example: 5.6105
Premiummonth_ago.premiumNumberPremium price per gallon in USD.Example: 4.984
Regularmonth_ago.regularNumberRegular price per gallon in USD.Example: 4.0898
Mid Grademonth_ago.mid_gradeNumberMid-grade price per gallon in USD.Example: 4.6021
YesterdayyesterdayDetailsYesterday average prices per gallon in USD.
Dieselyesterday.dieselNumberDiesel price per gallon in USD.Example: 6.4709
Premiumyesterday.premiumNumberPremium price per gallon in USD.Example: 5.3777
Regularyesterday.regularNumberRegular price per gallon in USD.Example: 4.4798
Mid Gradeyesterday.mid_gradeNumberMid-grade price per gallon in USD.Example: 4.9891
Record High Dieselrecord_high_dieselDetailsHighest recorded average price per gallon in USD and the date it occurred, if AAA shows it.
Daterecord_high_diesel.dateDateDate the record was reached (YYYY-MM-DD).Example: 2026-09-22
Pricerecord_high_diesel.priceNumberRecord-high average price per gallon in USD.Example: 6.5276
Record High Regularrecord_high_regularDetailsHighest recorded average price per gallon in USD and the date it occurred, if AAA shows it.
Daterecord_high_regular.dateDateDate the record was reached (YYYY-MM-DD).Example: 2022-06-14
Pricerecord_high_regular.priceNumberRecord-high average price per gallon in USD.Example: 5.0165

Example result

For Location: US

JSON
{
  "date": "2026-09-28",
  "link": "https://gasprices.aaa.com/",
  "place": "United States",
  "current": {
    "diesel": 6.4531,
    "premium": 5.3625,
    "regular": 4.4768,
    "mid_grade": 4.9689
  },
  "currency": "USD",
  "week_ago": {
    "diesel": 6.5107,
    "premium": 5.3545,
    "regular": 4.4786,
    "mid_grade": 4.9599
  },
  "year_ago": {
    "diesel": 3.6856,
    "premium": 3.9805,
    "regular": 3.1329,
    "mid_grade": 3.6216
  },
  "month_ago": {
    "diesel": 5.6105,
    "premium": 4.984,
    "regular": 4.0898,
    "mid_grade": 4.6021
  },
  "yesterday": {
    "diesel": 6.4709,
    "premium": 5.3777,
    "regular": 4.4798,
    "mid_grade": 4.9891
  },
  "record_high_diesel": {
    "date": "2026-09-22",
    "price": 6.5276
  },
  "record_high_regular": {
    "date": "2022-06-14",
    "price": 5.0165
  }
}

For developers

Run this workflow from your own code. In Studio, turn on Developer mode and create an API key.

cURL
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@aaa",
  "visibility": "public",
  "operation": "get_gas_prices",
  "version": 1,
  "input": {
    "location": "US"
  },
  "response": {
    "format": "json"
  }
}'

What you can do with it

  • Compare gasoline prices across states and metro areas
  • Track diesel prices against earlier periods
  • Review regular, mid-grade, and premium prices
  • Check a location’s record-high diesel price

Questions

Is Fous affiliated with AAA?

No. Fous is not affiliated with AAA. This workflow reads the public gasprices.aaa.com website and returns its data.

How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

Do I need a AAA account?

No. You only need a Fous account.

How current is the data?

Fous gets the data from gasprices.aaa.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

What are gas prices in a state or metro area?

Get gas prices returns average gasoline and diesel prices for the US, a state, or a metro area. Provide a location name or state code.

How do current prices compare with earlier periods?

Get gas prices includes prices for yesterday, one week ago, one month ago, and one year ago, alongside current prices.

What is the record-high diesel price?

Get gas prices returns the highest recorded average diesel price and its date, if AAA shows it.

All Energy workflowsBrowse all workflows