Contracts
Get energy prices from a contract
Gets the contract energy prices for specific dates. It allows to filter by start and end date, with a maximum of a year between them. Dates are in UTC.
get/users/{userId}/electricity-contracts/{contractId}/energy-prices
Request
- Base URLhttps://connect.clever.gy
- AuthAPI key in header clevergy-api-key
Path parameters
userIdstring required
Id of the user
contractIdstring required
Id of the contract
Query parameters
startDatestring date-time required
Start date to filter by
endDatestring date-time required
End date to filter by
Response
Contract prices added successfully
Example response
{
"prices": [
{
"date": "2022-12-31T23:00:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.