Get Devices Pv Production Forecast Realtime
curl --request GET \
--url https://api.nox.energy/v1/devices/pv/production/forecast/realtime \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nox.energy/v1/devices/pv/production/forecast/realtime"
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://api.nox.energy/v1/devices/pv/production/forecast/realtime', 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://api.nox.energy/v1/devices/pv/production/forecast/realtime",
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://api.nox.energy/v1/devices/pv/production/forecast/realtime"
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://api.nox.energy/v1/devices/pv/production/forecast/realtime")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nox.energy/v1/devices/pv/production/forecast/realtime")
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{
"data": [
{
"forecast_time": "2025-05-01T07:45:00.000Z",
"production": 12.5
},
{
"forecast_time": "2025-05-01T08:00:00.000Z",
"production": 14.75
}
],
"meta": {
"energy_supplier": "Energy Supplier A",
"production_unit": "kWh",
"granularity": "15min",
"output_timezone": "UTC"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Device Production
Get Devices Pv Production Forecast Realtime
Get the aggregated realtime PV production forecast for all devices associated with your energy supplier account in kWh with 15min granularity.
The forecast window is computed server-side and covers the past 15 minutes up to 24 hours ahead from the moment of the request.
The timestamp refers to the data that will happen in the next 15 minutes after the timestamp.
All timestamps are in UTC.
GET
/
v1
/
devices
/
pv
/
production
/
forecast
/
realtime
Get Devices Pv Production Forecast Realtime
curl --request GET \
--url https://api.nox.energy/v1/devices/pv/production/forecast/realtime \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nox.energy/v1/devices/pv/production/forecast/realtime"
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://api.nox.energy/v1/devices/pv/production/forecast/realtime', 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://api.nox.energy/v1/devices/pv/production/forecast/realtime",
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://api.nox.energy/v1/devices/pv/production/forecast/realtime"
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://api.nox.energy/v1/devices/pv/production/forecast/realtime")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nox.energy/v1/devices/pv/production/forecast/realtime")
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{
"data": [
{
"forecast_time": "2025-05-01T07:45:00.000Z",
"production": 12.5
},
{
"forecast_time": "2025-05-01T08:00:00.000Z",
"production": 14.75
}
],
"meta": {
"energy_supplier": "Energy Supplier A",
"production_unit": "kWh",
"granularity": "15min",
"output_timezone": "UTC"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API Key authentication. Enter your API key in the format: YOUR_API_KEY
⌘I