Eia Energy Scraper
Pricing
from $3.50 / 1,000 results
Go to Apify Store

Eia Energy Scraper
Extract energy data from the EIA API v2. Petroleum prices, electricity sales, natural gas prices, and total energy statistics with date filtering and pagination.
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer
Fortuitous Pirate
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
16 days ago
Last modified
Categories
Share
EIA Energy Data Scraper
Overview
Extract energy data from the U. S. Energy Information Administration (EIA) API v2.
Features
- Filter results by category or type
- Captures pricing information
- Control output volume with configurable result limits
- Built-in proxy support for reliable data collection
Use Cases
- Track - Track federal government data releases and updates
- Build - Build datasets for policy research and analysis
- Monitor - Monitor regulatory changes and compliance requirements
- Aggregate - Aggregate public government data for transparency projects
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
apiKey | string (required) | Your EIA API key (free registration at https://www.eia.gov/opendata/register.... | |
route | string | EIA API route path (e.g., petroleum/pri/gnd, electricity/retail-sales, natura... | petroleum/pri/gnd |
frequency | string | Data frequency | |
startDate | string | Start date (format depends on frequency: YYYY for annual, YYYY-MM for monthly... | |
endDate | string | End date (same format as start date) | |
facets | string | Facet filters as key=value pairs, comma-separated (e.g., "duoarea=NUS,product... | |
dataColumns | string | Comma-separated data columns to return (e.g., value, price, quantity) | value |
sortColumn | string | Column to sort results by | period |
sortDirection | string | Sort direction | desc |
maxItems | integer | Maximum number of records to return | 500 |
proxyConfiguration | object | Proxy settings for requests |
Output Example
Each result contains structured data like this:
{"period": "Sample period","duoarea": "Sample duoarea","areaName": "EIA Energy Data Sample Item","product": "Sample product","productName": "EIA Energy Data Sample Item","value": 50000,"units": "Sample units","scrapedAt": "2025-01-15"}
Pricing
This actor uses pay-per-result pricing:
- $0.001 per result
- $1.00 per 1,000 results
No monthly fees. You only pay for what you scrape. Apify Free plan includes $5/month in platform credits.
How to Run
Apify Console
- Go to the EIA Energy Data Scraper actor page
- Configure your input parameters
- Click Start and wait for the results
- Download data in JSON, CSV, or Excel format
API
curl -X POST "https://api.apify.com/v2/acts/fortuitous_pirate~eia-energy-scraper/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"maxItems": 10}'
Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("fortuitous_pirate/eia-energy-scraper").call(run_input={"maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Integration
Connect EIA Energy Data Scraper with your existing tools and workflows:
- API access - Programmatic access via Apify API
- Webhooks - Get notified when scraping completes
- Scheduling - Set up recurring runs on any schedule
- Zapier / Make - Connect with 5,000+ apps via Apify integrations
- Python / Node.js SDKs - Native client libraries for easy integration