EIA Energy Data Scraper
Pricing
from $6.00 / 1,000 results
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
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 days ago
Last modified
Categories
Share

โก 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 Audience | Logistics companies, investment firms, gas station operators, manufacturers, policy analysts |
| Primary Use Cases | Fuel 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:
| Field | Type | Description |
|---|---|---|
| Dataset | Select | Choose: Gas Prices by State, Diesel Prices by Region, or Crude Oil Weekly Prices. |
| Max Items | Integer | Free 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
| Field | Type | Description |
|---|---|---|
| location | String | State or region name |
| currentPrice | String | Current price per gallon |
| priceNumeric | Number | Price as a number for calculations |
| previousWeekPrice | Number | Price from the previous week |
| twoWeeksAgoPrice | Number | Price from two weeks ago |
| changeFromYearAgo | Number | Price change compared to one year ago |
| changeFromTwoYearsAgo | Number | Price change compared to two years ago |
| changeFromLastWeek | Number | Week-over-week price change |
| date | String | Date of the price data |
| fuelType | String | Type of fuel (Regular Gasoline or Diesel) |
| scrapedAt | String | Timestamp 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?
| Benefit | Description |
|---|---|
| โก Batch collection | Get all state or regional prices in one run |
| ๐ Three datasets | Gas, diesel, and crude oil in a single tool |
| ๐ Price change tracking | Week, year, and 2-year comparisons included |
| ๐ Structured output | Export to JSON, CSV, or Excel |
| ๐ Automated scheduling | Set up weekly monitoring |
| ๐ข๏ธ Historical crude data | Full weekly history available |
| ๐ฏ No coding required | Point-and-click interface |
๐ How Does It Compare?
| Feature | Our Tool | Manual 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
- Sign Up - Create a free account w/ $5 credit (takes 2 minutes)
- Find the Scraper - Search for "EIA Energy Data Scraper" in the Apify Store
- Set Input - Select the energy dataset you want to collect
- Run It - Click "Start" and let it collect your data
- 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.
๐ค Ask an AI assistant about this scraper
Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:
- ๐ฌ ChatGPT
- ๐ง Claude
- ๐ Perplexity
- ๐ Copilot
โ 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.
๐ Recommended Actors
Looking for more data collection tools? Check out these related actors:
| Actor | Description | Link |
|---|---|---|
| GSA eLibrary Scraper | Collect government contract data from GSA | https://apify.com/parseforge/gsa-elibrary-scraper |
| FINRA BrokerCheck Scraper | Look up broker and advisor registration data | https://apify.com/parseforge/finra-brokercheck-scraper |
| Machinery Trader Scraper | Collect heavy equipment listings and pricing | https://apify.com/parseforge/machinerytrader-scraper |
| Iron Planet Scraper | Extract equipment auction data | https://apify.com/parseforge/iron-planet-scraper |
| Copart Public Search Scraper | Collect vehicle auction listings | https://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?
- Check the FAQ section above for common questions
- Visit the Apify documentation for platform guides
- Contact us at Tally contact form
โ ๏ธ 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.