EIA net electricity generation by state and fuel (gas, coal, nuclear, wind, utility-scale solar, hydro, renewables), monthly since 2001, GWh. Solar is utility-scale only. Every row carries its unit, date and original source_url; incomplete days are flagged (complete=false), never filled. Response has `attribution` (TexasHomeBills™ + link) and `sources` (original publishers with URLs and terms).
get/market/generation
Request
- Base URL: https://texashomebills.com/api/v1
- URL: https://texashomebills.com/api/v1/market/generation
- Auth: one of:
- none
- API key in header X-API-Key
- HTTP bearer
Query parameters
statestring
two-letter code(s), US, or all (default TX,US)
fuelstring
ALL, NG, COW, NUC, WND, SUN, HYC, REN (comma list)
startstring
YYYY-MM-DD. Default: 30 days ending at the series' latest date. Without a Pro key, start must be within the most recent 30 days (else 403 pro_required).
endstring
YYYY-MM-DD (default: latest date)
limitinteger
rows per response (default 1000; max 5,000 free, 20,000 Pro)
offsetinteger
rows to skip; responses give total, next_offset and next
Response
JSON with an attribution block; every item has url and a ready cite line to show users
Changes
No recorded changes to this operation across all 1 revision of this API.