Live data · AAA

US Gas Prices by State

Load AAA's current average prices for regular, mid-grade, premium and diesel in all 50 states and DC.

  • Free daily quota
  • Live data
  • No AAA account
  • Raw JSON included

Live data · AAA

A table you can filter and export

The rows the API returns, flattened to columns, with a filter. Every run also returns the raw API response and a JSON export.

How it works

  1. 01

    Enter a page, place or date

    A URL to scrape, a city, an airport, or nothing at all for national data.

  2. 02

    One live API call

    SandBase calls the SandBase API on your account; scraping APIs render the page first.

  3. 03

    Read or copy the data

    Markdown, a table or a record, plus the raw response.

Who uses it

  • DriversPlan fuel stops on a road trip.
  • JournalistsCite today's averages.
  • Fleet managersBudget fuel by state.

AAA data with an API

This tool calls one SandBase API. Call the same API from your code or Agent with your SandBase key, billed per call ($0.01 list price).

curl -X POST https://api.sandbase.ai/v1/api/aaa/state-gas-prices \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Frequently asked questions

How often does AAA update prices?
Daily, from credit card transactions at stations across the country.
Are these station prices?
No. They are state averages; individual stations vary.
Is US Gas Prices by State free?
It needs a SandBase account. This API is in the SandBase daily free quota (100 calls per organization per day, shared, reset at 00:00 UTC); after that each run costs about $0.01 on your SandBase account.
Can I call this API directly?
Yes. This page calls aaa/state-gas-prices on SandBase. Call POST /v1/api/aaa/state-gas-prices with your SandBase API key; the request example is above.

More Search & web data tools