Python
import requests url = "https://api.rebase.energy/platform/v2/sites/{site_id}/forecast/updates" headers = {"Authorization": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
[ "2023-11-07T05:31:56Z" ]
Returns the timestamps of the forecast updates 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