GridPrice API

Free JSON API for live and historical US electricity prices — the same data the GridPrice app and this site run on, normalized into one format across ComEd, Ameren Illinois, ERCOT, NYISO, and SPP. No key required.

Format

Every price point is {"ms": 1784834400000, "price": 5.9}ms is the UTC epoch milliseconds of the start of the interval, price is US cents per kWh. Arrays are sorted oldest-first. All endpoints are CORS-open.

Endpoints

EndpointReturns
GET /v1/providerslist of provider ids
GET /v1/current?provider=comedthe latest single reading
GET /v1/feed?provider=comedroughly the last 24 hours
GET /v1/history?provider=comed&start=20260701&end=20260723stored history between two dates (YYYYMMDD, utility-local days)

Try it

curl "https://api.gridprice.app/v1/current?provider=comed"
# → {"ms":1784834400000,"price":5.9}

curl "https://api.gridprice.app/v1/feed?provider=ercot-lz_houston"
# → [{"ms":…,"price":4.2},…]

Providers

idSourceGranularity
comedComEd Hourly Pricing (IL)5-minute, live
ameren-ilAmeren IL Power Smart Pricinghourly, day-ahead
ercot-lz_houston · lz_north · lz_south · lz_west · lz_aen · lz_cpsERCOT load zones (TX)15-minute, live
nyiso-nyc · longil · hudvl · capitl · centrl · westNYISO zones (NY)5-minute, live
spp-ok · ks · ne · sd · ndSPP hubs (plains)5-minute, live

History depth

Our server samples every source every 5 minutes and stores what it sees, so history accumulates from July 2026 onward — including sources whose own archives expire (NYISO keeps only ~2 weeks; we keep everything from our start date).

Fair use

Free for personal and non-commercial projects at reasonable request rates (responses are cached ~2 minutes — polling faster gains nothing). Data originates from public utility and grid-operator feeds and is informational only, not billing-quality; see our Terms of Use. Building something on this? Say hello — and consider buying me a coffee.