Metry provides an API for application developers to interact with the Metry platform programmatically. It makes it possible to fetch utility metering points, consumption data, interacting with tree structures and more.
Common use cases are the following:
- Importing consumption and cost data to Building and Energy Management Systems
- Visualising consumption and cost data in dashboards
- Uploading readings from metering systems to Metry for centralised storage and quality assurance
- Automating tasks performed in Metry such as managing meters, tree structures and collection.
Getting access to the API
To start using the API, requests need to be authenticated for a Metry user.
If you are creating an application that potentially more than one customer would use, then you can register as a Metry developer partner and set up an application. Metry uses OAuth 2.0 for simple authentication for third parties. Read more about creating a third party integration
If the application is only meant to access a single Metry account, then it is easiest to use your private access token which can be found when signed in to Metry. Go to Settings--> Access token to view your token. If you don't have a token, click the Create access token link to generate one. Please note that you need to have Administrator access privileges in Metry Portal to be able to view and generate the token. Read more about it here
Where to get help
If you have any questions or would like more guidance for how to integrate with Metry in the best way possible, we are happy to help. Just write to support@metry.io.
Alternative to the API
Instead of developing an integration that uses the API to retrieve consumption data, Metry can push files with data that your system can process. Read more about exports here.