2-14 Days Ahead Half Hourly Forecast
This is our 2-14 days ahead national demand forecast, updated twice daily. National Demand is the Great Britain generation requirement and is the sum of metered generation based on the operational generation metering from the Transmission Network Operators, but excludes generation required to meet station load, pump storage pumping and interconnector exports.
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=7c0411cd-2714-4bb5-a408-adb065edf34d&limit=5
|
Query example (via SQL statement) |
https://api.neso.energy/api/3/action/datastore_search_sql?sql=SELECT * from "7c0411cd-2714-4bb5-a408-adb065edf34d" LIMIT 5
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: '7c0411cd-2714-4bb5-a408-adb065edf34d', // 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=7c0411cd-2714-4bb5-a408-adb065edf34d&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()
Data Explorer
Data Explorer
Table Information
DATE
Title | Date |
---|---|
Type | date |
Description | Date on which the forecast demand is occurring. This date is aligned with the GB timezone (BST/GMT). |
Comment | |
Example | 2021-11-16 |
Unit |
CTIME
Title | Clock Time |
---|---|
Type | integer |
Description | Time at which the forecast demand is occurring. This time uses the GB timezone (BST/GMT). |
Comment | |
Example | 130 |
Unit |
GDATETIME
Title | Datetime |
---|---|
Type | datetime |
Description | Datetime at which the demand is occurring. This is in GMT/UTC regardless of forecast date's GB timezone. |
Comment | |
Example | 2021-11-16T13:30:00 |
Unit |
NATIONALDEMAND
Title | National Demand Forecast |
---|---|
Type | integer |
Description | The demand forecast for the specified datetime. |
Comment | |
Example | 42000 |
Unit | MW |