{"inputSchema":{"type":"object","properties":{"state":{"type":"string","maxLength":8,"minLength":1},"year":{"type":"integer","minimum":2010,"maximum":2024}},"required":["state","year"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"reported_total_mwh":{"type":"number"},"component_sum_mwh":{"type":"number"},"residual_mwh":{"type":"number"}},"required":["reported_total_mwh","component_sum_mwh","residual_mwh"]},"limitations":{"type":"string"}}},"requestExample":{"state":"TX","year":2024},"usageGuide":["US EIA net generation, total electric power industry, 50 states and DC, 2010-2024. MWh. Annual source rows may be negative. Missing fuel rows are not reported zeroes."],"outputExample":{"measured_at":"2026-11-25T03:14:23.048Z","source":{"reference":"https://www.eia.gov/electricity/data/state/annual_generation_state.xlsx","retrieved_at":"2026-11-24T22:56:43.409239+00:00"},"data":{"reported_total_mwh":566502688,"component_sum_mwh":566502687,"residual_mwh":1},"limitations":"US EIA net generation, total electric power industry, 50 states and DC, 2010-2024. MWh. Annual source rows may be negative. Missing fuel rows are not reported zeroes."},"tags":["electricity","energy mix","state generation","eia"],"price_usdc":"0.005"}