US Energy Data API
Pricing
from $0.68 / 1,000 records
US Energy Data API
Fetches energy statistics from the US Energy Information Administration (EIA) Open Data API. Returns electricity sales, generation, and pricing data by state and sector. Zero competition on Apify Store.
Pricing
from $0.68 / 1,000 records
Rating
0.0
(0)
Developer
HE Work
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
✅ Checked daily. An automated test runs this Actor on the Apify cloud every day and checks that it still returns real data, so if the website changes and something breaks, it's caught the same day and fixed.
Fetches energy statistics from the US Energy Information Administration (EIA) Open Data API. Returns electricity sales and generation data by state and sector.
Features
- Electricity sales — Monthly retail sales data by state
- Electricity generation — Monthly generation data
- State/sector filters — Filter by state and sector
- Free API key — Get your key at eia.gov/opendata (DEMO_KEY works for limited use)
Input
| Field | Type | Description | Default |
|---|---|---|---|
apiKey | string (secret, stored encrypted) | Your EIA API key; empty = EIA's public DEMO_KEY | – |
categories | string | Comma-separated: electricity_sales, electricity_gen | electricity_sales |
state | string | Two-letter state code (empty = all) | `` |
maxRecords | integer | Max records per category | 100 |
Example input
{"maxRecords": 10,"categories": "electricity_sales","state": ""}
Example output
One item from a real run (long texts shortened):
{"period": "2026-08","category": "electricity_sales","source": "us-eia","scrapedAt": "2026-11-05T07:36:43.056485+00:00","state": "AK","stateName": "Alaska","sector": "OTH","sectorName": "other","value": "0","unit": "million kilowatt hours"}
How it compares
| This Actor | Typical alternative | |
|---|---|---|
| Fields per result | 10 (see Example output) | Varies by actor |
| Freshness | Read live from the source when the run starts | Varies |
| Reliability | Tested daily by an automated run on the Apify cloud (see the top of this page) | — |
| Price | $0.80 per 1,000 records | No comparable Actor on the Apify Store (6 Nov 2026); the alternative is the source's own API or export, or collecting it by hand |
Pricing
Pay per result, no monthly fee:
- $0.80 per 1,000 records: One record delivered to your dataset.
- $0.0005 per run (start).
Bronze plans pay 5% less, Silver 10% less, Gold and above 15% less.
Examples: 1,000 records = $0.80; 10,000 = $8.00.
FAQ
How do I run it on a schedule? Create a task with your input and add a schedule in Apify Console (e.g. daily at 6 am). Each run writes a fresh dataset.
How do I get the data? Download the dataset as JSON, CSV, Excel, XML or HTML from the run page, or read it with the Apify API / Python and JavaScript clients. Integrations (Google Sheets, Make, Zapier, n8n, webhooks) work out of the box.
Do I need an account or API key? Some data sources need a free API key, entered in the input; everything else (proxies, retries) is handled inside the Actor.
What if a run returns fewer results than expected? Check the run's key-value store OUTPUT record (when present) for a per-request report, then open an issue on the Issues tab with the run link and we'll look into it.
Is it legal? The Actor only collects publicly available data. You are responsible for using it in line with the website's terms, copyright and data-protection rules (GDPR, CCPA) — don't collect personal data you have no legal basis for.