AAA State Price Details

https://api.sandbase.ai/v1/api/aaa/state-price-details

Returns detailed gas price data for a specific state including current prices for all fuel grades, historical averages (yesterday, week ago, month ago, year ago), and all-time highest recorded prices with their dates.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
Async JSON
Parameters
1 required · 0 optional

Try the model

Playground

Open playground
Input
Two-letter US state code (e.g. TX, CA, NY, FL). All 50 states and DC are supported.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
async

Parameters

state_code
string · required

Access

Provider
AAA
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/aaa/state-price-details
Authentication
Bearer API key

API README

AAA State Price Details

Returns detailed gas price data for a specific state including current prices for all fuel grades, historical averages (yesterday, week ago, month ago, year ago), and all-time highest recorded prices with their dates.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/aaa/state-price-details
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/aaa/state-price-details" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
AAA$0.01 per callAsync JSONOct 30, 2026

Questions

FAQ

How do I use the AAA State Price Details API?

Send a POST request to https://api.sandbase.ai/v1/api/aaa/state-price-details with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the AAA State Price Details API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the AAA State Price Details API accept?

Required: state_code (string). The Parameters table and the Playground on this page list every field.

What does the AAA State Price Details API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

Do I need a AAA developer account or API key?

No. AAA State Price Details runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for AAA API access separately.