US Retail Electricity
finance.eia.electricityRetrieve US retail electricity sales, price, and revenue by state and sector with monthly, quarterly, or annual frequency. Get current and historical data from EIA public dataset.
Instructions
Retail electricity sales/price/revenue by US state and sector (residential, commercial, industrial). Frequency monthly/quarterly/annual. EIA public domain, 5K req/hr
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional 2-letter US state code (e.g. "CA", "TX", "NY"). If omitted, returns national + all states. | |
| frequency | No | Time frequency (default "monthly"). | |
| length | No | Number of recent observations to return (default 24, max 500). | |
| start | No | Earliest period (e.g. "2020-01" monthly, "2020" annual). | |
| end | No | Latest period in same format as `start`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |