EIA Energy Data Scraper avatar

EIA Energy Data Scraper

Pricing

from $6.00 / 1,000 results

Go to Apify Store
EIA Energy Data Scraper

EIA Energy Data Scraper

Scrape US energy prices from the Energy Information Administration. Get weekly crude oil spot prices, gasoline prices by state, and diesel prices by region. Includes current, historical, and year-over-year price comparisons.

Pricing

from $6.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Share

ParseForge Banner

โšก EIA Energy Data Scraper

๐Ÿš€ Scrape US energy prices from the Energy Information Administration. Get weekly crude oil spot prices, gasoline prices by state, and diesel prices by region. Includes current, historical, and year-over-year price comparisons.

๐Ÿ•’ Last updated: 2026-04-23

Whether you're tracking fuel costs for a logistics fleet, monitoring crude oil trends for investment decisions, or analyzing regional energy prices for market research, this tool makes it easy to collect structured energy data from the U.S. Energy Information Administration.

The EIA Energy Data Scraper collects gas prices by state, diesel prices by region, and weekly crude oil prices. Get current prices, historical trends, and week-over-week changes in structured format ready for analysis.

Target AudienceLogistics companies, investment firms, gas station operators, manufacturers, policy analysts
Primary Use CasesFuel price monitoring, commodity tracking, cost forecasting, market analysis

๐Ÿ“‹ What Does It Do

This tool collects energy price data from the EIA, supporting three datasets. It delivers:

  • โ›ฝ Gas prices by state - current regular gasoline prices for every U.S. state with weekly price comparisons
  • ๐Ÿš› Diesel prices by region - diesel fuel prices across U.S. regions with historical price changes
  • ๐Ÿ›ข๏ธ Crude oil weekly prices - WTI crude oil spot prices with full weekly historical data
  • ๐Ÿ“ˆ Price change tracking - changes from last week, one year ago, and two years ago
  • ๐Ÿ“Š All regions covered - data spans all U.S. states, PADD regions, and national averages

๐ŸŽฌ How to Use the EIA Energy Data Scraper - Full Demo

๐Ÿšง Demo video coming soon


โš™๏ธ Input

To start collecting energy price data, simply fill in the input form:

FieldTypeDescription
DatasetSelectChoose: Gas Prices by State, Diesel Prices by Region, or Crude Oil Weekly Prices.
Max ItemsIntegerFree users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000.

Example 1: Get gas prices by state

{
"dataset": "gas-prices-by-state",
"maxItems": 50
}

Example 2: Get crude oil weekly prices

{
"dataset": "crude-oil-weekly",
"maxItems": 200
}

โš ๏ธ Free users are limited to 10 items per run. Sign up for a paid plan to collect up to 1,000,000 items.


๐Ÿ“Š Output

After the Actor finishes its run, you'll get a dataset with the output. You can download results as Excel, HTML, XML, JSON, or CSV.

๐Ÿงพ Output Schema

FieldTypeDescription
locationStringState or region name
currentPriceStringCurrent price per gallon
priceNumericNumberPrice as a number for calculations
previousWeekPriceNumberPrice from the previous week
twoWeeksAgoPriceNumberPrice from two weeks ago
changeFromYearAgoNumberPrice change compared to one year ago
changeFromTwoYearsAgoNumberPrice change compared to two years ago
changeFromLastWeekNumberWeek-over-week price change
dateStringDate of the price data
fuelTypeStringType of fuel (Regular Gasoline or Diesel)
scrapedAtStringTimestamp of data collection

๐Ÿ“ฆ Sample Output

Sample 1 (Gas Price):

{
"location": "California",
"currentPrice": "4.589",
"priceNumeric": 4.589,
"previousWeekPrice": 4.601,
"twoWeeksAgoPrice": 4.618,
"changeFromTwoYearsAgo": -0.339,
"changeFromYearAgo": -0.291,
"changeFromLastWeek": -0.012,
"date": "04/07/2026",
"fuelType": "Regular Gasoline",
"scrapedAt": "2026-04-09T12:00:00.000Z"
}

Sample 2 (Diesel Price):

{
"location": "East Coast (PADD 1)",
"currentPrice": "3.812",
"priceNumeric": 3.812,
"previousWeekPrice": 3.825,
"changeFromYearAgo": -0.198,
"changeFromLastWeek": -0.013,
"date": "04/07/2026",
"fuelType": "Diesel",
"scrapedAt": "2026-04-09T12:00:00.000Z"
}

Sample 3 (Crude Oil):

{
"date": "2026-04-04",
"price": 67.45,
"commodity": "WTI Crude Oil",
"unit": "$/barrel",
"scrapedAt": "2026-04-09T12:00:00.000Z"
}

โœจ Why Choose the EIA Energy Data Scraper?

BenefitDescription
โšก Batch collectionGet all state or regional prices in one run
๐Ÿ“Š Three datasetsGas, diesel, and crude oil in a single tool
๐Ÿ“ˆ Price change trackingWeek, year, and 2-year comparisons included
๐Ÿ“ Structured outputExport to JSON, CSV, or Excel
๐Ÿ”„ Automated schedulingSet up weekly monitoring
๐Ÿ›ข๏ธ Historical crude dataFull weekly history available
๐ŸŽฏ No coding requiredPoint-and-click interface

๐Ÿ“ˆ How Does It Compare?

FeatureOur ToolManual EIA Website
Batch collectionโœ… Up to 1M recordsโŒ View one table at a time
Multiple datasetsโœ… Gas, diesel, crude oilโŒ Navigate each separately
Price change trackingโœ… Week, year, 2-year changesโš ๏ธ Calculate manually
Structured outputโœ… JSON, CSV, ExcelโŒ HTML tables only
Automated schedulingโœ… Weekly monitoringโŒ Manual visits

๐Ÿš€ How to Use

  1. Sign Up - Create a free account w/ $5 credit (takes 2 minutes)
  2. Find the Scraper - Search for "EIA Energy Data Scraper" in the Apify Store
  3. Set Input - Select the energy dataset you want to collect
  4. Run It - Click "Start" and let it collect your data
  5. Download Data - Get your results in the "Dataset" tab as CSV, Excel, or JSON

Total Time: Results in seconds No Technical Skills Required: Everything is point-and-click


๐Ÿ’ผ Business Use Cases

Logistics and Manufacturing:

  • Monitor fuel prices across states to optimize routing and forecast transportation costs
  • Forecast energy input costs by tracking diesel and crude oil price movements
  • Compare pricing against state and regional averages

Investment and Policy:

  • Track crude oil price trends for commodity trading and energy sector analysis
  • Analyze regional fuel price disparities and seasonal pricing patterns
  • Study energy price trends for economic impact assessments


๐ŸŒŸ Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

๐ŸŽ“ Research and academia

  • Empirical datasets for papers, thesis work, and coursework
  • Longitudinal studies tracking changes across snapshots
  • Reproducible research with cited, versioned data pulls
  • Classroom exercises on data analysis and ethical scraping

๐ŸŽจ Personal and creative

  • Side projects, portfolio demos, and indie app launches
  • Data visualizations, dashboards, and infographics
  • Content research for bloggers, YouTubers, and podcasters
  • Hobbyist collections and personal trackers

๐Ÿค Non-profit and civic

  • Transparency reporting and accountability projects
  • Advocacy campaigns backed by public-interest data
  • Community-run databases for local issues
  • Investigative journalism on public records

๐Ÿงช Experimentation

  • Prototype AI and machine-learning pipelines with real data
  • Validate product-market hypotheses before engineering spend
  • Train small domain-specific models on niche corpora
  • Test dashboard concepts with live input

๐Ÿค– Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

โ“ Frequently Asked Questions


๐Ÿ”Œ Automating Your Workflows

For advanced users who want to automate this process, you can control the scraper programmatically with the Apify API.

  • Node.js: Install the apify-client NPM package
  • Python: Use the apify-client PyPI package
  • See the Apify API reference for full details

๐Ÿ”Œ Integrate EIA Energy Data Scraper with any app

Last but not least, EIA Energy Data Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform.

These include:

  • Make - Automate energy price monitoring workflows
  • Zapier - Get alerts when fuel prices change significantly
  • Slack - Get notified in your team channel
  • Airbyte - Build data pipelines
  • GitHub - Version control integration
  • Google Drive - Export energy data to spreadsheets

Alternatively, you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever EIA Energy Data Scraper successfully finishes a run.


Looking for more data collection tools? Check out these related actors:

ActorDescriptionLink
GSA eLibrary ScraperCollect government contract data from GSAhttps://apify.com/parseforge/gsa-elibrary-scraper
FINRA BrokerCheck ScraperLook up broker and advisor registration datahttps://apify.com/parseforge/finra-brokercheck-scraper
Machinery Trader ScraperCollect heavy equipment listings and pricinghttps://apify.com/parseforge/machinerytrader-scraper
Iron Planet ScraperExtract equipment auction datahttps://apify.com/parseforge/iron-planet-scraper
Copart Public Search ScraperCollect vehicle auction listingshttps://apify.com/parseforge/copart-public-search-scraper

Pro Tip: ๐Ÿ’ก Browse our complete collection of data collection actors to find the perfect tool for your business needs.


๐Ÿ†˜ Need Help?


โš ๏ธ Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the U.S. Energy Information Administration (EIA), the U.S. Department of Energy, or any government agency. All trademarks mentioned are the property of their respective owners.