Python
import requests url = "https://api.rebase.energy/platform/v2/sites/{site_id}/actual/types" headers = {"Authorization": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
[ { "type": "<string>", "min": "2023-11-07T05:31:56Z", "max": "2023-11-07T05:31:56Z" } ]
Get the types of actuals available for a site
Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
Successful Response