cURL
curl --request GET \ --url https://api.rebase.energy/platform/v2/sites/{site_id} \ --header 'Authorization: <api-key>'
{ "id": "48302759-0371-4d54-9ba1-506708b576fe", "site_id": "48302759-0371-4d54-9ba1-506708b576fe", "name": "My site", "latitude": 52.5, "longitude": 13.4, "capacity_kw_array": [ {} ], "creation_timestamp_utc": "2023-11-07T05:31:56Z", "settings": { "model_resolution": "1h", "additional_points": [], "trainLongTermModels": true, "trainNearTermModels": true, "usePhysicalModels": true, "weather_models": [], "create_params": {} }, "type": "solar", "assets": [ { "azimuth": 180, "tilt": 30, "capacity": 1000, "install_date": "2020-01-01" } ] }
Get a site by its id
Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
Successful Response
The response is of type object.
object