Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

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.

  • $0.01 por ejecución
  • Datos en tiempo real
  • Sin cuenta de AAA
  • JSON sin procesar incluido

Live data · AAA

Una tabla que puede filtrar y exportar

Las filas que devuelve la API, aplanadas en columnas, con un filtro. Cada ejecución también devuelve la respuesta sin procesar de la API y una exportación JSON.

Cómo funciona

  1. 01

    Load US Gas Prices by State

    US Gas Prices by State has no fields to fill in. Press the button to load AAA's current state averages. There is no state picker or date choice, so every run returns the national set of rows at that moment, for all 50 states and the District of Columbia together.

  2. 02

    Fetch aaa/state-gas-prices

    SandBase calls aaa/state-gas-prices with an empty request. The endpoint returns current averages for regular, mid-grade, premium and diesel in all 50 states plus DC, listed alphabetically by state name. Once the organization's daily free quota is gone, each load is billed to your SandBase account.

  3. 03

    Compare fuel grades by state

    The page shows a table with one row per state and columns for regular, mid-grade, premium and diesel, plus row and column counts. The unmodified aaa/state-gas-prices JSON is under Raw API response.

Quién lo usa

  • Drivers

    Plan fuel stops on a road trip.

  • Journalists

    Cite today's averages.

  • Fleet managers

    Budget fuel by state.

AAA con una API

Esta herramienta llama a una API de SandBase. Llama a la misma API desde tu código o Agent con tu clave de SandBase, con cobro por llamada ($0.01 precio de lista).

cURL

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 '{}'

Preguntas frecuentes

How often does AAA update US Gas Prices by State?

Daily. AAA updates the averages from credit card transactions at stations across the country.

Are US Gas Prices by State station prices?

No. US Gas Prices by State shows state averages; individual stations vary.

Which fuel grades does US Gas Prices by State cover?

Regular, mid-grade, premium and diesel. US Gas Prices by State shows all four for each state.

Does US Gas Prices by State include DC?

Yes. US Gas Prices by State lists all 50 states plus the District of Columbia, in alphabetical order.

Is US Gas Prices by State free on aaa/state-gas-prices?

Partly. US Gas Prices by State spends the daily free quota first: 100 calls per organization per day, shared, reset at 00:00 UTC. Then aaa/state-gas-prices runs are billed to your SandBase account, priced on the page and in sandbase inspect. Pricing: https://www.sandbase.ai/pricing

Can I get AAA state gas averages from the aaa/state-gas-prices API?

Yes. Send POST /v1/api/aaa/state-gas-prices with a SandBase API key and an empty body. US Gas Prices by State shows the request example.