Skip to main content
GET
Time series data for a specific site

Authorizations

x-api-key
string
header
required

VoltView API key. Acts as its owner, limited to the key's scopes and sites. Each endpoint lists the scope it needs.

Path Parameters

siteId
string
required

Site identifier

Query Parameters

granularity
enum<string>

Data aggregation granularity

Available options:
hour,
day,
month,
year
from
string<date-time>

Start date and time (ISO 8601)

Example:

"2024-01-01T00:00:00.000Z"

to
string<date-time>

End date and time (ISO 8601)

Example:

"2024-12-31T23:59:59.999Z"

unit
enum<string>

Unit of measurement

Available options:
kWh,
kW

Response

Time series data retrieved successfully

siteId
string

Site identifier

granularity
string

Data granularity

data
object[]