You can use the API to programmatically create sites in the Rebase Platform. Depending on the site you create, the needed meta-data will be different.

To create a solar power site, use the following python code:

import requests

url = 'https://api.rebase.energy/platform/v2/sites'

site = {
  'type': 'solar',
  'name': 'My solar site',
  'latitude': 53.41,
  'longitude': 5.94,
  'azimuth': 171.3, # 0 = North, 90 = East, 180 = South, 270 = West
  'tilt': 10.3,
  'capacity': [
    {'value': 750.5, 'validFrom': '2019-10-10T00:00:00Z'}, # capacity of site changed to 750.5 kW at this date
    {'value': 500.3, 'validFrom': '2019-04-03T00:00:00Z'}, # site with capacity 500.3 kW was installed at this date
  ],
}

response = requests.post(url, headers=headers, data=json.dumps(site))
response.raise_for_status()
response = response.json()

Response example

{
    "site_id": "a923653c-26f1-1b29-955d-ffde5d182276"
}