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.

  • 1 実行あたり $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.

AAA のデータを API で

このツールは SandBase API を 1 つ呼び出します。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 '{}'

FAQ

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.