cURL
curl "$NLEAD_BASE_URL/v1/forecasts/2026-09-02" --header "X-API-Key: $NLEAD_API_KEY"import requests
url = "https://{host}/v1/forecasts/{delivery_day}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{host}/v1/forecasts/{delivery_day}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/forecasts/{delivery_day}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/forecasts/{delivery_day}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/v1/forecasts/{delivery_day}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/forecasts/{delivery_day}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"delivery_day": "2023-12-25",
"unit": "MW",
"interval_count": 123,
"series": [
{
"kind": "production",
"values": [
123
],
"control_area": "50Hertz",
"malo": "<string>"
}
],
"total_production_mwh": 123,
"total_consumption_mwh": 123,
"input_hash": "<string>",
"source": "<string>",
"processed": true,
"malo_mapping": {}
}API Reference
Read back the stored forecast for one delivery day
Returns exactly the series the last accepted submission carried -
what a re-POST would replace - plus the derived totals, the
input_hash from the acknowledgment, and the processing state.
validate_only calls store nothing, so they never appear here.
GET
/
v1
/
forecasts
/
{delivery_day}
cURL
curl "$NLEAD_BASE_URL/v1/forecasts/2026-09-02" --header "X-API-Key: $NLEAD_API_KEY"import requests
url = "https://{host}/v1/forecasts/{delivery_day}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{host}/v1/forecasts/{delivery_day}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/forecasts/{delivery_day}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/forecasts/{delivery_day}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/v1/forecasts/{delivery_day}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/forecasts/{delivery_day}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"delivery_day": "2023-12-25",
"unit": "MW",
"interval_count": 123,
"series": [
{
"kind": "production",
"values": [
123
],
"control_area": "50Hertz",
"malo": "<string>"
}
],
"total_production_mwh": 123,
"total_consumption_mwh": 123,
"input_hash": "<string>",
"source": "<string>",
"processed": true,
"malo_mapping": {}
}Authorizations
APIKeyHeaderHTTPBearer
Path Parameters
Response
Successful Response
Read-back of one stored delivery day: exactly the series the last accepted submission carried, plus the derived totals and processing state. What you GET is what a re-POST would replace.
Available options:
MW, MWH Quarter-hours the delivery day has (96 / 92 / 100)
Show child attributes
Show child attributes