Check AAA's national average gas prices for regular, mid-grade, premium and diesel, break them down by state and metro area with price changes and record highs, plus EV charging costs per state and AAA gas price news.
No website sign-in or persona needed. Free to install. Try any function below with your own values, no account: 10 free credits a day per device. Cloud calls after that use your own credits. Pricing →
The name gasprices.aaa.com belongs to its owner. This API is not affiliated with, endorsed by or sponsored by gasprices.aaa.com. You are responsible for how you use it.
Choose a function, fill in its inputs, and run it: the answer comes back from the live site, with your values. Without an account you get 10 free credits a day per device for this; install the listing in Writ to keep calling it.
AI assistants and tools that can only open a URL can call it with no key: one URL per function, its inputs in the query string. Each call spends the free keyless allowance, 10 credits a day per IP address.
Every function was called on the live site before this API was published, and keeps being measured. The numbers are the listing’s own.
1.29 stypical callmedian of 6 functions’ medians
41measured runsacross 13 functions
5/5daily checks passedlast Dec 4 · pass
—buyer runs succeeded1 counted run so far; a rate shows from 20
functionmedian · 95th percentilemedianruns
get_national_average1.29 s13
get_state_gas_prices0.36 s22
get_state_price_details4.89 s3
get_metro_prices_by_state4.42 s1
get_lowest_state_pricesNot measured—
get_lowest_metro_prices0.41 s1
get_price_change_by_stateNot measured—
get_price_change_by_metroNot measured—
get_ev_charging_pricesNot measured—
get_news_articles24.95 s1
get_news_article_detailNot measured—
get_highest_recorded_pricesNot measured—
search_news_articlesNot measured—
Checked daily5 of 5 passed · last Dec 4
Repaired when it breaksA function that fails its check is re-tested and rebuilt. Installed copies receive the update; you redeploy nothing.
Buyer runs counted1 counted buyer run so far; a success rate is published from 20. Uptime counts real buyers’ runs only. Writ service status →Failed runs by cause: 1 unknown.
Historical measurements from the public listing, refreshed Dec 4, 2026. Timing samples are not an uptime claim or a guarantee for your next call.
03 · Your copyyour account
Install your copy. Call it your way.
5 credits
Priced per cloud call.
The listing’s base price is 5 credits per call. Longer runs, residential traffic and CAPTCHA solving can add usage. A site or Writ failure is free; your own input or login failures can be billable. Full usage rates →
cloud
No computer to keep running.
Marketplace copies execute in Writ Cloud, in your own account. Requirements and prices are checked before you use the listing.
REST · MCP
Every way to call it, at once.
Use your API key, connect an assistant, set a schedule with email or webhook delivery, or export answers as a dataset.
read-only
It only reads.
The published functions read data from the source website. No website sign-in or persona is needed for this listing.
private copy
Your account, your usage.
Your installed copy belongs to your account. Its underlying recipe stays sealed with its creator; no creator credentials are included.
04 · Or build your ownwebsite → API
Missing a function? Describe it.
Give Writ a website and say what you want. It builds and tests the API for your task.
On your computeryour machine
Build it in Writ Desktop and run it from your own IP. Execution on your machine costs 0 credits.
Search AutoScout24 car listings across European markets by make, model, price, year and mileage, then open any listing by its link or ID for its full details, price and seller. Run it on a schedule to catch new cars and price drops.
Search Clutch vehicle listings with filters for make, model, year, price, mileage, body and fuel type, then get vehicle details and photos, browse makes and models, estimate a car loan, and see recent offers.
Browse the AllCarIndex directory of car brands by region and starting letter, open a brand page with its history and details, search by keyword, and see brand and model counts for a country.
tested at publishno sign-in
30 cr / call·5 functionsView API →
06 · Questions
Does AAA Gas Prices have an API?
This page is an independent API and MCP server for gasprices.aaa.com: Writ built it on the site’s public pages and tests it, and it has 13 functions you can call today. It is not an official AAA Gas Prices product. For an official API, check AAA Gas Prices’s own developer pages.
How do I use the AAA Gas Prices API from Claude, ChatGPT or Cursor?
Install it in Writ, then add Writ’s MCP server (https://api.usewrit.app/mcp) to Claude, ChatGPT, Cursor or any MCP client: your assistant can run this API’s functions and read the results. From your own code, call the same functions over REST with a Writ API key.
How much does a call to the AAA Gas Prices API cost?
5 credits per call, charged only when the call succeeds. New accounts start with 1,000 free credits, then 500 a month on the Free plan, no card.
Strictly necessary
Required for the site to function (e.g. remembering this choice). Always on.
Always on
Analytics
Privacy-friendly, EU-hosted usage and performance measurement. Helps us see what is useful and keep the site fast. No advertising or cross-site tracking.
Your browser sends a “do not track” signal, so this starts off. You can still turn it on.
Privacy-friendly analytics keep the site fast. No ads, no cross-site tracking. Cookie Policy.