Contract Volume 2021-06-20 v2
Index-Linked Contract Volume update 2021.06.21, SPLN-1
CKAN Data API
Access resource data via a web API with powerful query support.
Further information in the main CKAN Data API and DataStore documentation.
The Data API can be accessed via the following actions of the CKAN action API.
Query example (first 5 results) |
---|
https://api.neso.energy/api/3/action/datastore_search?resource_id=f9a2d4fa-7a8e-476c-b780-9a9fe6cc371b&limit=5
|
Query example (via SQL statement) |
https://api.neso.energy/api/3/action/datastore_search_sql?sql=SELECT * from "f9a2d4fa-7a8e-476c-b780-9a9fe6cc371b" LIMIT 5
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: 'f9a2d4fa-7a8e-476c-b780-9a9fe6cc371b', // the resource id limit: 5 // get 5 results }; $.ajax({ url: 'https://api.neso.energy/api/3/action/datastore_search', data: data, dataType: 'jsonp', success: function(data) { alert('Total results found: ' + data.result.total) } });
A simple ajax (JSONP) request to the data API using jQuery.
import urllib2 url = 'https://api.neso.energy/api/3/action/datastore_search?resource_id=f9a2d4fa-7a8e-476c-b780-9a9fe6cc371b&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()
Data Explorer
Data Explorer
Table Information
Date
Title | Contract date and time (UTC) |
---|---|
Type | datetime |
Description | Contract date and time, UTC format |
Comment | N/A |
Example | 2021-07-15T00:00:00 |
Unit | UTC ISO 8601 |
SP
Title | Settlement Period |
---|---|
Type | integer |
Description | Half hour settlement period |
Comment | Half hour settlement period from 1 - 48 |
Example | 1 |
Unit | N/A |
Unit ID
Title | Unit ID |
---|---|
Type | string |
Description | ID of the BMU |
Comment | ID of Balancing Mechanism Unit |
Example | SPLN-1 for Spalding |
Unit | N/A |
Strike Price (£/MWh)
Title | Strike price |
---|---|
Type | integer |
Description | Strike price of contract |
Comment | N/A |
Example | 51.8 |
Unit | £/MWh |
Volume Indexed (MW)
Title | Volume Indexed |
---|---|
Type | integer |
Description | Contract volume |
Comment | N/A |
Example | 110 |
Unit | MW |