Brent and WTI Spot Prices

core

Files Size Format Created Updated License Source
9 2MB csv zip 1 week ago ODC-PDDL-1.0 Daily Europe Brent Spot Price Weekly Europe Brent Spot Price Monthly Europe Brent Spot Price Annual Europe Brent Spot Price Daily Cushing, OK WTI Spot Price Weekly Cushing, OK WTI Spot Price Monthly Cushing, OK WTI Spot Price Annual Cushing, OK WTI Spot Price
Europe Brent and WTI (Western Texas Intermediate) Spot Prices (Annual/ Monthly/ Weekly/ Daily) from EIA U.S. (Energy Information Administration). Data Sources * Name: Daily Europe Brent Spot Price Web: https://www.eia.gov/dnav/pet/hist_xls/RBRTEd.xls * Name: Weekly Europe Brent Spot Price read more
Download

Data Files

brent-day  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY-MM-DD
Brent Spot Price 2 number Europe Brent Spot Price FOB (Dollars per Barrel)

brent-week  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY-MM-DD
Brent Spot Price 2 number Europe Brent Spot Price FOB (Dollars per Barrel)

brent-month  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY-MM
Brent Spot Price 2 number Europe Brent Spot Price FOB (Dollars per Barrel)

brent-year  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY
Brent Spot Price 2 number Europe Brent Spot Price FOB (Dollars per Barrel)

wti-day  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY-MM-DD
WTI Spot Price 2 number Cushing, OK WTI Spot Price FOB (Dollars per Barrel)

wti-week  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY-MM-DD
WTI Spot Price 2 number Cushing, OK WTI Spot Price FOB (Dollars per Barrel)

wti-month  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY-MM
WTI Spot Price 2 number Cushing, OK WTI Spot Price FOB (Dollars per Barrel)

wti-year  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Date 1 date (%Y-%m-%d) YYYY
WTI Spot Price 2 number Cushing, OK WTI Spot Price FOB (Dollars per Barrel)

datapackage_zip  

This is a preview version. There might be more data in the original version.

Read me

Europe Brent and WTI (Western Texas Intermediate) Spot Prices (Annual/ Monthly/ Weekly/ Daily) from EIA U.S. (Energy Information Administration).

Data

Sources

Data Series History

Europe Brent

20 May 1987 - Today

Cushing, OK WTI

01 February 1986 - Today

Definitions

Brent

A blended crude stream produced in the North Sea region which serves as a reference or “marker” for pricing a number of other crude streams. source

West Texas Intermediate (WTI - Cushing)

A crude stream produced in Texas and southern Oklahoma which serves as a reference or “marker” for pricing a number of other crude streams and which is traded in the domestic spot market at Cushing, Oklahoma. source

License

Data

U.S. government publications are in the public domain and are not subject to copyright protection. You may use and/or distribute any of our data, files, databases, reports, graphs, charts, and other information products that are on our website or that you receive through our email distribution service. However, if you use or reproduce any of our information products, you should use an acknowledgment, which includes the publication date, such as: “Source: U.S. Energy Information Administration (Oct 2008).”

You may find further information here

Additional work

All the additional work made to build this Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/

Import into your tool

If you are using R here's how to get the data you want quickly loaded:

install.packages("jsonlite")
library("jsonlite")

json_file <- "http://datahub.io/core/oil-prices/datapackage.json"
json_data <- fromJSON(paste(readLines(json_file), collapse=""))

# access csv file by the index starting from 1
path_to_file = json_data$resources[[1]]$path
data <- read.csv(url(path_to_file))
print(data)

In order to work with Data Packages in Pandas you need to install the Frictionless Data data package library and the pandas extension:

pip install datapackage
pip install jsontableschema-pandas

To get the data run following code:

import datapackage

data_url = "http://datahub.io/core/oil-prices/datapackage.json"

# to load Data Package into storage
storage = datapackage.push_datapackage(data_url, 'pandas')

# data frames available (corresponding to data files in original dataset)
storage.buckets

# you can access datasets inside storage, e.g. the first one:
storage[storage.buckets[0]]

For Python, first install the `datapackage` library (all the datasets on DataHub are Data Packages):

pip install datapackage

To get Data Package into your Python environment, run following code:

from datapackage import Package

package = Package('http://datahub.io/core/oil-prices/datapackage.json')

# get list of resources:
resources = package.descriptor['resources']
resourceList = [resources[x]['name'] for x in range(0, len(resources))]
print(resourceList)

data = package.resources[0].read()
print(data)

If you are using JavaScript, please, follow instructions below:

Install data.js module using npm:

  $ npm install data.js

Once the package is installed, use the following code snippet:

const {Dataset} = require('data.js')

const path = 'http://datahub.io/core/oil-prices/datapackage.json'

// We're using self-invoking function here as we want to use async-await syntax:
(async () => {
  const dataset = await Dataset.load(path)

  // Get the first data file in this dataset
  const file = dataset.resources[0]
  // Get a raw stream
  const stream = await file.stream()
  // entire file as a buffer (be careful with large files!)
  const buffer = await file.buffer
})()

Install the datapackage library created specially for Ruby language using gem:

gem install datapackage

Now get the dataset and read the data:

require 'datapackage'

path = 'http://datahub.io/core/oil-prices/datapackage.json'

package = DataPackage::Package.new(path)
# So package variable contains metadata. You can see it:
puts package

# Read data itself:
resource = package.resources[0]
data = resource.read
puts data
Datapackage.json