EIA Open Data API V2
The U.S. Energy Information Administration (EIA) Open Data API v2 is a fully RESTful implementation of EIA's public energy statistics. Routes are arranged in a logical hierarchy across petroleum, natural gas, coal, electricity, nuclear, renewables, total energy, international, and consumption series. Requests require a free api_key obtained from the EIA Open Data portal and return up to 5,000 rows per request as JSON or XML.
Documentation
Specifications
Other Resources
Developer
https://www.eia.gov/developer/
API Browser
https://www.eia.gov/opendata/browser/
Signup
https://www.eia.gov/opendata/register.php
Reference PDF
https://www.eia.gov/opendata/documentation/APIv2.1.0.pdf
APIsJSON
https://raw.githubusercontent.com/api-evangelist/department-of-energy/refs/heads/main/apis.yml