U.S. Energy Information Administration logo
Skip to sub-navigation

OPEN DATA

Committed to making energy data more accessible, understandable,
relevant, and responsive to your needs.

Notice: EIA will discontinue support for its legacy API (APIv1) in November, 2022. Excel add-in v1 sheets will continue to function as they are. Please refer to our documentation for the APIv2 interaction methods and our APIv2 query browser to view the data.

The Google Sheets Add-on feature is currently down for maintenance. Thank you for your patience.

The U.S. Energy Information Administration is committed to enhancing the value of its free and open data by making it available through an Application Programming Interface (API) and open data tools to better serve our customers. The data in the API is also available in bulk file, in Excel via the add-in, in Google Sheets via an add-on, and via widgets that embed interactive data vizualizations of EIA data on any website. By making EIA data available in machine-readable formats, the creativity in the private, the non-profit, and the public sectors can be harnessed to find new ways to innovate and create value-added services powered by public data.

Currently, EIA's API contains the following main data sets:

  • Hourly electricity operating data, including actual and forecast demand, net generation, and the power flowing between electric systems
  • 408,000 electricity series organized into 29,000 categories
  • 30,000 State Energy Data System series organized into 600 categories
  • 115,052 petroleum series and associated categories
  • 34,790 U.S. crude imports series and associated categories
  • 11,989 natural gas series and associated categories
  • 132,331 coal series and associated categories
  • 3,872 Short-Term Energy Outlook series and associated categories
  • 368,466 Annual Energy Outlook series and associated categories
  • 92,836 International energy series

The EIA API is offered as a free public service, although registration is required. Your registration and compliance with the API Terms of Service Agreement will help EIA monitor usage and ensure service availability. EIA data is provided free of charge and should be used in compliance with our Copyrights and Reuse page.

Got feedback?  If you have recommendations regarding how we are implementing our API or are developing an app or mash-up using our data, we want to hear from you.  Use this feedback form to share your comments and activities.

Application Programming Interface (API)

Direct access to EIA time series data for electricity, petroleum, and natural gas.
Register Now »
Forgot Your API key?
API Documentation?
Bulk Data Files »
API Query Browse »

Spreadsheet Add-Ons

Download EIA energy data and economic data for the St. Louis Federal Reserve (FRED) directly to your spreadsheet.

* Note to Excel 2010 users. We are currently having issues accessing FRED data in your spreadsheet.

Embed Graphs & Maps

Embed EIA charts and maps on your website that automatically update.
 Explore » 
Statistics
Analysis
Tools
Education
News

Petroleum & Other Liquids

Crude oil, gasoline, heating oil, diesel, propane, and other liquids including biofuels and natural gas liquids.

Natural Gas

Exploration and reserves, storage, imports and exports, production, prices, sales.

Electricity

Sales, revenue and prices, power plants, fuel use, stocks, generation, trade, demand & emissions.

Coal

Reserves, production, prices, employment and productivity, distribution, stocks, imports and exports.

Nuclear & Uranium

Uranium fuel, nuclear reactors, generation, spent fuel.

Renewable & Alternative Fuels

Includes hydropower, solar, wind, geothermal, biomass and ethanol.

EIA Survey Forms

Forms EIA uses to collect energy data including descriptions, links to survey instructions, and additional information.

Total Energy

Comprehensive data summaries, comparisons, analysis, and projections integrated across all energy sources.

U.S. States

State energy information, including overviews, rankings, data, and analyses.

International

International energy information, including overviews, rankings, data, and analyses.

Environment

Greenhouse gas data, voluntary reporting, electric power plant emissions.

Data Tools, Apps, & Maps

Tools to customize searches, view specific data sets, study detailed documentation, and access time-series data.

Open Data

EIA's free and open data available as API, Excel add-in, bulk files, and widgets

EIA Beta

Come test out some of the products still in development and let us know what you think!

Open Source Code

EIA's open source code, available on GitHub.

RSS Feeds

Subscribe to feeds for updates on EIA products including Today in Energy and What's New.