UnifyAPI
← Back to catalog

eia.electricity_retail

mock data$0.002 / call

US 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

Science & Researchprovider: Eia#eia#science

Input schema

end

Latest period in same format as `start`.

string
start

Earliest period (e.g. "2020-01" monthly, "2020" annual).

string
state

Optional 2-letter US state code (e.g. "CA", "TX", "NY"). If omitted, returns national + all states.

string
length

Number of recent observations to return (default 24, max 500).

integer
frequency

Time frequency (default "monthly").

string

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>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.