v1
latestOpenAPI 3.0.3Proprietary2026-07-136748169.6 KBSpecific Site
Energy cost data for a specific site
Retrieves energy cost data for a specific site
get/v1/sites/{siteId}/cost
Path parameters
siteIdstring required
Site identifier
Query parameters
lookbackstring
Example:1y
Time period to look back (e.g. 1d, 1w, 1m, 1y for day, week, month, year)
granularity'hour' | 'day' | 'month' | 'year'
Data aggregation granularity
fromstring date-time
Example:2024-01-01T00:00:00.000Z
Start date and time (ISO 8601)
tostring date-time
Example:2024-12-31T23:59:59.999Z
End date and time (ISO 8601)
Response
Cost data retrieved successfully