Get energy statistics
Returns monthly energy aggregates and lifetime totals for all chargers on your account.
AuthorizationBearer <token>
API token from the Joulo dashboard, or an OAuth2 access token.
In: header
Response Body
curl -X GET "https://api.joulo.nl/functions/v1/api/energy"{
"total_kwh": 2847.52,
"total_ere_credits": 427.13,
"total_sessions": 186,
"total_kwh_all": 3102.18,
"total_sessions_all": 203,
"months": [
{
"month": "2026-04",
"kwh": 124.3,
"ere_credits": 18.65,
"sessions": 8,
"kwh_all": 139.12,
"sessions_all": 9
},
{
"month": "2026-03",
"kwh": 387.45,
"ere_credits": 58.12,
"sessions": 22,
"kwh_all": 402.83,
"sessions_all": 24
}
]
}{
"error": "Missing or invalid API token"
}{
"error": "Insufficient scope",
"required_scope": "chargers:read"
}