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 retired its legacy API (APIv1) on March 13th, 2023. Excel add-in v1 sheets will continue to function as they are. Please refer to our documentation for the APIv2 interaction methods.

Sample Petroleum Dashboard

This page was created using only embedded visualizations. No database or programming was required. To learn how to add interactive visualizations of EIA data to your website, visit the embedding mail page.

The US has led the world in production growth over the last decade, as evidence in the growth map below (from EIA's Internation Energy Statics):

<iframe id="eia_widget" style="width: 50%; height: 300px" src="//www.eia.gov/opendata/embed/iframe.php?api_key=YOUR_KEY_HERE&geoset_id=INTL.53-1-TBPD.Q&map=world&relation_mode=line&regions=USA;SAU&start=2005Q1&end=2015Q1&analysis=indexval"></iframe>


Ending stocks (excluding SPR) of crude oil on a PADD basis, last 10 years (from http://www.eia.gov/dnav/pet/pet_sum_sndw_a_EPC0_SAX_mbbl_w.htm) show growing stocks due, in large part, to recent growth in US production:

<iframe id="eia_widget" style="width: 50%; height :300px;" src="//www.eia.gov/opendata/embed/iframe.php?api_key=YOUR_KEY_HERE&series_id=PET.WCESTP11.W;PET.WCESTP21.W;PET.WCESTP41.W;PET.WCESTP31.W;PET.WCESTP51.W&periods=10A"></iframe>


While global supply and demand drives prices, regional spot prices (West Texas Intermediate vs. North Sea Brent Crude) can highlight localized market constraints (from http://www.eia.gov/dnav/pet/pet_pri_spt_s1_d.htm):

<iframe id="eia_widget" style="width: 50%; height: 300px;" src="//www.eia.gov/opendata/embed/iframe.php?api_key=YOUR_KEY_HERE&series_id=PET.RWTC.D;PET.RBRTE.D&periods=24M"></iframe>


U.S. retail gasoline and diesel prices (from http://www.eia.gov/dnav/pet/pet_pri_gnd_dcus_nus_w.htm) strongly correlate with global petroleum prices, which have fallen in recent years due to a growing world production:

<iframe id="eia_widget" style="width: 50%; height: 300px;" src="//www.eia.gov/opendata/embed/iframe.php?api_key=YOUR_KEY_HERE&series_id=PET.EMM_EPMRR_PTE_NUS_DPG.W;PET.EMM_EPMRU_PTE_NUS_DPG.W;PET.EMD_EPD2DXL0_PTE_NUS_DPG.W&periods=5A"></iframe>


EIA offers its widgets to the public free of charge under the BSD2 open source license. The library is offered as-is, without support or warranty. User are free to fork it on Github and modifiy the library to suit their needs. The widget uses third-party libraries which may require a license. License details are found on all embed preview and instructions page.