← Back to catalog
eia.electricity_retail
mock data$0.002 / callUS Retail Electricity (EIA)
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
end
stringLatest period in same format as `start`.
start
stringEarliest period (e.g. "2020-01" monthly, "2020" annual).
state
stringOptional 2-letter US state code (e.g. "CA", "TX", "NY"). If omitted, returns national + all states.
length
integerNumber of recent observations to return (default 24, max 500).
frequency
stringTime frequency (default "monthly").
Call via REST
curl -X POST https://unifyapi.pro/api/call/eia.electricity_retail \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"end":"<end>","start":"<start>","state":"<state>","length":0,"frequency":"<frequency>"}'