Skip to content

Energy per period (read)​

GET
/api/v1/energy

Gives the energy of series and site quantities. For the level day, the maximum range is 3660 days. For the level bucket, the maximum is 10000 buckets.

Authorizations​

or
session
Type
API Key (cookie: pvmon_session)
or
token

API token pvm_<id>_<secret>.

Type
HTTP (bearer)

Parameters​

Query Parameters

series*

1 to 64 series names, separated by commas. GET /api/v1/site lists them.

Type
string
Required
Example"site/pv,site/consumption"
level*
Type
string
Required
Valid values
"bucket""day""month""year""total"
from

First day. You can omit it only for the level total.

Type
string
Example"2026-11-01"
to

Last day. You can omit it only for the level total.

Type
string
Example"2026-11-18"

Responses​

One list of periods for each series.

application/json
JSON
{
  
"series": [
  
  
{
  
  
  
"name": "string",
  
  
  
"unit": "Wh",
  
  
  
"values": [
  
  
  
  
{
  
  
  
  
  
"period": "string",
  
  
  
  
  
"wh": 0,
  
  
  
  
  
"pct": 0,
  
  
  
  
  
"complete": true,
  
  
  
  
  
"estimated": true,
  
  
  
  
  
"missing_days": 0,
  
  
  
  
  
"missing": [
  
  
  
  
  
  
"string"
  
  
  
  
  
]
  
  
  
  
}
  
  
  
]
  
  
}
  
]
}

Samples​

Version 0.4.0-66c93c2. MIT license.