DWA Open Data · data APIs on Apify
DATA · Leads & companies

Gas Prices API: US Fuel Prices by State & City (EIA)

US retail gasoline and diesel prices by state, city and region from the public EIA weekly survey, with week and year changes and price history. No key, no login.

Who it is for

Sales, growth and RevOps teams building prospect lists, and agencies feeding a CRM with fresh, structured company data.

Pricing

EventPricePer 1,000
Price rowCharged once per fuel price row delivered to the dataset.$0.00094$0.94
Actor StartCharged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event).$0.00005-

Prices are read live from the Apify listing at build time. Apify platform usage is included in event prices.

Sample output

areaareaTypeareaCodeproductproductName
U.S.nationalnusregularRegular gasoline
U.S.nationalnusdieselOn-highway diesel, all types
East Coast (PADD 1)regionr10regularRegular gasoline
East Coast (PADD 1)regionr10dieselOn-highway diesel, all types
New England (PADD 1A)regionr1xregularRegular gasoline

First rows of a real run, selected columns. Emails, phone numbers and personal names are masked. Full output has more fields.

Input

  • products · Fuel products: Which fuels to return. Prices are US dollars per gallon, retail, including taxes.
  • areas · Areas: Optional area names to keep, for example Texas, Chicago, California, West Coast, U.S. Partial names match. Leave empty for all 30 EIA areas.
  • areaTypes · Area types: Which kinds of areas to include. EIA publishes the nation, five PADD regions with sub-regions, nine states and ten cities.
  • weeks · Weeks of history: How many weekly prices to return per area and fuel, newest first. 1 returns only the latest week; 52 returns a year.
  • maxItems · Max rows: Stop after this many rows. You pay only for rows delivered. Hard cap 20,000.

Use it from an AI agent (MCP)

Add this server URL to Claude, Cursor, VS Code or any MCP client. Authenticate with your Apify account.

https://mcp.apify.com/?tools=transparent_meteorite/gas-prices

FAQ

How do I run Gas Prices API: US Fuel Prices by State & City (EIA)?

Open it on Apify, fill in the input form, and press Start. You can also call it from the Apify API, a schedule, or an AI agent via MCP. Results land in a dataset you can download as JSON, CSV or Excel.

How is it billed?

Pay-per-event on Apify: you are charged only for the events listed in the price table above, plus nothing else from this listing. There is no subscription.

Where does the data come from?

Only publicly available sources. The Actor does not log in to any account or bypass access controls.

Can I use it from an AI assistant?

Yes. Add the MCP URL shown above to any MCP-capable client (Claude, Cursor, VS Code and others) and the Actor becomes a callable tool.