Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

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
  • 实时数据
  • 无需 AAA 账号
  • 包含原始 JSON

Live data · AAA

可筛选和导出的表格

API 返回的行已扁平化为列,并支持筛选。 每次运行都会返回原始 API 响应和 JSON 导出。

工作原理

  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.

适用人群

  • Drivers

    Plan fuel stops on a road trip.

  • Journalists

    Cite today's averages.

  • Fleet managers

    Budget fuel by state.

通过 API 获取 AAA 数据

此工具调用一个 SandBase API。您可以用 SandBase 密钥在代码或 Agent 中调用同一个 API,按次计费($0.01 列表价)。

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

常见问题

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.