Fuel, electricity, and natural gas API

The API provides data on retail fuel prices in 115 countries, electricity prices in 135 countries and natural gas prices in 26 countries. The fuel price data are collected on a weekly basis and the electricity and natural gas data are collected quarterly. Our data collection process is described in a sources and methods document.

API access to our data via XML

After registering, select countries to obtain an XML link. The link can be placed in your system to download our data to your machine. The API gives access to:
    Fuel prices:
    - gasoline and diesel prices in 115 countries
    - LPG prices in 43 countries
    - kerosene prices in 45 countries
    - heating oil prices in 42 countries
    - ethanol and methane in 10 countries
    - gasoline prices in over 250 cities globally
    - gasoline prices across regions/states in Australia, Brazil, Canada, Russia, and the U.S.
    - crude oil prices: Brent, WTI, OPEC basket
    - world average gasoline and diesel prices using countries petroleum consumption as weights
    Electricity prices:
    - households: seven data points calculated at the average annual household consumption of electricity and at 25%, 50%, 75%, 150%, 200% and 300% of the average consumption level in 135 countries
    - businesses: four data points at 30,000 kWh, 150,000 kWh, 1,000,000 kWh, and 7,500,000 kWh annual consumption in 135 countries
    Natural gas prices:
    - households: three data points per country at 5,500 kWh, 30,000 kWh, and 100,000 kWh annual natural gas consumption in 26 countries
    - businesses: four data points at 100,000 kWh, 1,000,000 kWh, 10,000,000 kWh, and 100,000,000 kWh annual natural gas consumption in 26 countries
    Exchange rates:
    - USD and Euro exchange rates for all countries included in the API
Subscription cost

One can subscribe to only one or two of the API components - fuels, electricity, and natural gas prices - or to all of them. The annual cost is 450 USD for the fuel price API access, 450 USD per year for the electricity price API access, and 175 USD per year for the natural gas API access. These prices include all data updates for the next one year.

Free trial

You can register for a two-week free trial (click the "Registration" button) to determine if the data feed would be useful to you. The free trial gives you access to the latest fuel prices and to electricity and natural gas prices from two quarters ago.

Historical data, fewer countries, discounts

Please contact us for a quote if you need API access to historical data or fewer countries. Also, please contact us for an academic discount.






Log in
  • Username:

  • Password:
  •  
Registration
Forgot password?
This site uses cookies.
Learn more here


OK