Data analytics API
REST API - Access to the underlying data from Data Analytics or the widgets via API
Last updated
REST API - Access to the underlying data from Data Analytics or the widgets via API
Last updated
For each widget in Data Analytics, the underlying data can be queried via a provided REST API. Integration into third-party applications is quick and easy.
As soon as you configure a widget, you will find the API Call item in the side menu. This option is available for every widget.
Execute the call accordingly and test it directly in the dialog box, including the response format, by clicking _Try it out!
The dialog box that appears contains detailed information about what the API call looks like for this widget's data. Copy the code provided and use it as required.
This access token is temporary. For permanent integration in third-party applications, you need a permanent token. Please contact our Support.
We strictly adhere to the OAuth flow documented by Microsoft. There are several Client Libraries that you can use.
Below you can see a widget in Data Analytics that is used for bicycle counting. The corresponding widget type (Traffic Counting) has been selected, the data is aggregated per tag, broken down by object class and direction and filtered by bicycles.
API request
The API call shows the corresponding GET request for this data as shown below:
API-Response:
The REST API is based on _Cube.js_. You can find more information and details about this and how it works in general in this external documentation.