Gasprices Aaa API
gasprices.aaa.com
AAA gas and diesel price averages - national, state, county, and historical trends.
- Actions
- 3
- Category
- Automotive
- Login
- Not required
- Output
- JSON
Call the Gasprices Aaa API
Submit a task, then poll the job until it settles. This example runs act_gasprices_aaa_national_fuel_prices_page.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_gasprices_aaa_national_fuel_prices_page",
"params": {}
}'3 actions on gasprices.aaa.com
Read
National Fuel Prices
act_gasprices_aaa_national_fuel_prices_pageread1 credit / callReturns national fuel averages with trends plus per-state regular prices.
State Fuel Prices
act_gasprices_aaa_state_fuel_prices_pageread1 credit / callReturns a state's current fuel averages with county-level price breakdowns.
- state_code
- string · required
Write
Write actions change state on gasprices.aaa.com and run as the account you connect.
State Fuel Price History
act_gasprices_aaa_state_fuel_price_historywrite2 credits / callReturns historical fuel prices for a state compared to a baseline region.
- state_code
- string · required
- comparison_region
- string
Gasprices Aaa API questions
- Is there an API for Gasprices Aaa?
- Gasprices Aaa does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for gasprices.aaa.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Gasprices Aaa data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when gasprices.aaa.com changes its markup, Anakin updates the action.
- Do I need a Gasprices Aaa account?
- No. Every Gasprices Aaa action listed here runs anonymously — no account and no credentials required.
- What does the Gasprices Aaa API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Automotive APIs
1A Auto
Auto parts by vehicle - part details, fitment, install videos, and reviews.
Autoblog
Automotive editorial - news, car reviews, buyer guides, and research content.
AutoList
Aggregated car listings - make/model filters, price history, and comparisons.
AutoNation
Vehicle marketplace - new and used inventory, make/model/price filters, and detail pages.
AutoTempest
Vehicle search aggregator - listings, curated pages, and dealer vehicle details.
Autotrader
Search and browse new and used car listings with filters, vehicle detail pages, payment estimates, consumer reviews, and dealer information.