Initial Setup


The Python Onboard API client is available to install through pip:

>>> pip install onboard.client

or by cloning our Github repo:

git clone

Please note, the client requires Python >= 3.7.

Setting up API access

You’ll need an active API Key with the appropriate scopes in order to use this python client.

If you are an existing Onboard user you can head over to your account’s api keys page and generate a new key and grant scopes for “general” and “buildings:read”.

If you would like to get access to Onboard and start prototyping against an example building please request access here.

You can test if your API key is working with the following code:

>>> from onboard.client import OnboardClient
>>> client = OnboardClient(api_key='your-api-key-here')
>>> # Verify access & connectivity
>>> client.whoami()
{'result': 'ok', 'apiKeyInHeader': True, ... 'authLevel': 4}

You can also retrieve a list of your currently authorized scopes with client.whoami()['apiKeyScopes'].

Note about data structure

By default, calls to the API (such as client.get_equipment_types()) return JSON objects. In this documentation, we will be converting these objects to pandas dataframes by wrapping our API calls in pd.DataFrame().