Fuel, electricity, and natural gas price 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

The annual cost is 450 USD for the fuel price API, 450 USD per year for the electricity price API, and 175 USD per year for the natural gas API access. The prices include all data updates for the next one year. A subscription can include one (e.g. only fuel prices) or more of these data types. Please contact us for a quote if you need API access to historical data or fewer countries.

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.

Log in
  • Username:

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