Send asset snapshots
curl --request POST \
--url https://api.nomos.energy/asset-snapshots \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"snapshots": [
{
"asset": "ha_b7q2m1k8v4n0x3c9l5p2r7td",
"timestamp": "2026-10-06T10:14:50.000Z",
"is_online": true,
"power_kw": 2,
"soc": 0.694,
"is_car_connected": null,
"controlled_by": "schedule",
"curtailment": null,
"max_out_kw": null
}
]
}
'import requests
url = "https://api.nomos.energy/asset-snapshots"
payload = { "snapshots": [
{
"asset": "ha_b7q2m1k8v4n0x3c9l5p2r7td",
"timestamp": "2026-10-06T10:14:50.000Z",
"is_online": True,
"power_kw": 2,
"soc": 0.694,
"is_car_connected": None,
"controlled_by": "schedule",
"curtailment": None,
"max_out_kw": None
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
snapshots: [
{
asset: 'ha_b7q2m1k8v4n0x3c9l5p2r7td',
timestamp: '2026-10-06T10:14:50.000Z',
is_online: true,
power_kw: 2,
soc: 0.694,
is_car_connected: null,
controlled_by: 'schedule',
curtailment: null,
max_out_kw: null
}
]
})
};
fetch('https://api.nomos.energy/asset-snapshots', 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.nomos.energy/asset-snapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'snapshots' => [
[
'asset' => 'ha_b7q2m1k8v4n0x3c9l5p2r7td',
'timestamp' => '2026-10-06T10:14:50.000Z',
'is_online' => true,
'power_kw' => 2,
'soc' => 0.694,
'is_car_connected' => null,
'controlled_by' => 'schedule',
'curtailment' => null,
'max_out_kw' => null
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nomos.energy/asset-snapshots"
payload := strings.NewReader("{\n \"snapshots\": [\n {\n \"asset\": \"ha_b7q2m1k8v4n0x3c9l5p2r7td\",\n \"timestamp\": \"2026-10-06T10:14:50.000Z\",\n \"is_online\": true,\n \"power_kw\": 2,\n \"soc\": 0.694,\n \"is_car_connected\": null,\n \"controlled_by\": \"schedule\",\n \"curtailment\": null,\n \"max_out_kw\": null\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nomos.energy/asset-snapshots")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"snapshots\": [\n {\n \"asset\": \"ha_b7q2m1k8v4n0x3c9l5p2r7td\",\n \"timestamp\": \"2026-10-06T10:14:50.000Z\",\n \"is_online\": true,\n \"power_kw\": 2,\n \"soc\": 0.694,\n \"is_car_connected\": null,\n \"controlled_by\": \"schedule\",\n \"curtailment\": null,\n \"max_out_kw\": null\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomos.energy/asset-snapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"snapshots\": [\n {\n \"asset\": \"ha_b7q2m1k8v4n0x3c9l5p2r7td\",\n \"timestamp\": \"2026-10-06T10:14:50.000Z\",\n \"is_online\": true,\n \"power_kw\": 2,\n \"soc\": 0.694,\n \"is_car_connected\": null,\n \"controlled_by\": \"schedule\",\n \"curtailment\": null,\n \"max_out_kw\": null\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "asset_snapshot_batch",
"accepted": 5
}Assets
Send asset snapshots
Send the live power and state of one household’s assets, up to 10,000 snapshots per request. The request is stored as a whole or not at all: any invalid snapshot rejects it, with every problem listed in errors by its path.
POST
/
asset-snapshots
Send asset snapshots
curl --request POST \
--url https://api.nomos.energy/asset-snapshots \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"snapshots": [
{
"asset": "ha_b7q2m1k8v4n0x3c9l5p2r7td",
"timestamp": "2026-10-06T10:14:50.000Z",
"is_online": true,
"power_kw": 2,
"soc": 0.694,
"is_car_connected": null,
"controlled_by": "schedule",
"curtailment": null,
"max_out_kw": null
}
]
}
'import requests
url = "https://api.nomos.energy/asset-snapshots"
payload = { "snapshots": [
{
"asset": "ha_b7q2m1k8v4n0x3c9l5p2r7td",
"timestamp": "2026-10-06T10:14:50.000Z",
"is_online": True,
"power_kw": 2,
"soc": 0.694,
"is_car_connected": None,
"controlled_by": "schedule",
"curtailment": None,
"max_out_kw": None
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
snapshots: [
{
asset: 'ha_b7q2m1k8v4n0x3c9l5p2r7td',
timestamp: '2026-10-06T10:14:50.000Z',
is_online: true,
power_kw: 2,
soc: 0.694,
is_car_connected: null,
controlled_by: 'schedule',
curtailment: null,
max_out_kw: null
}
]
})
};
fetch('https://api.nomos.energy/asset-snapshots', 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.nomos.energy/asset-snapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'snapshots' => [
[
'asset' => 'ha_b7q2m1k8v4n0x3c9l5p2r7td',
'timestamp' => '2026-10-06T10:14:50.000Z',
'is_online' => true,
'power_kw' => 2,
'soc' => 0.694,
'is_car_connected' => null,
'controlled_by' => 'schedule',
'curtailment' => null,
'max_out_kw' => null
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nomos.energy/asset-snapshots"
payload := strings.NewReader("{\n \"snapshots\": [\n {\n \"asset\": \"ha_b7q2m1k8v4n0x3c9l5p2r7td\",\n \"timestamp\": \"2026-10-06T10:14:50.000Z\",\n \"is_online\": true,\n \"power_kw\": 2,\n \"soc\": 0.694,\n \"is_car_connected\": null,\n \"controlled_by\": \"schedule\",\n \"curtailment\": null,\n \"max_out_kw\": null\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nomos.energy/asset-snapshots")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"snapshots\": [\n {\n \"asset\": \"ha_b7q2m1k8v4n0x3c9l5p2r7td\",\n \"timestamp\": \"2026-10-06T10:14:50.000Z\",\n \"is_online\": true,\n \"power_kw\": 2,\n \"soc\": 0.694,\n \"is_car_connected\": null,\n \"controlled_by\": \"schedule\",\n \"curtailment\": null,\n \"max_out_kw\": null\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomos.energy/asset-snapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"snapshots\": [\n {\n \"asset\": \"ha_b7q2m1k8v4n0x3c9l5p2r7td\",\n \"timestamp\": \"2026-10-06T10:14:50.000Z\",\n \"is_online\": true,\n \"power_kw\": 2,\n \"soc\": 0.694,\n \"is_car_connected\": null,\n \"controlled_by\": \"schedule\",\n \"curtailment\": null,\n \"max_out_kw\": null\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "asset_snapshot_batch",
"accepted": 5
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
1 to 10,000 snapshots of one household's assets.
Required array length:
1 - 10000 elementsShow child attributes
Show child attributes
Was this page helpful?