API v3/v4

Updated by Travis Bates

v4 of the ZENTRA Cloud API is now available for production. METER recommends new clients start with v4. Existing clients can switch to using v4 if they encounter issues with pagination in v3. Both v3 and v4 support queries for ATMOS 41W, ZL6, EM60G and EM50G devices. The documentation for v3 and v4 is the same, users can simply change the version number in the endpoint url from "v3" to "v4".

API Docs

Navigate to https://zentracloud.com/api/v3/documentation/


CALL LIMIT

Users are limited to a total of 60 calls per minute(60sec), and each device is limited to 1 call per minute(60sec). One user can make 60 calls to 60 different devices in a 60 second period.


TOKEN
  • Select API.
  • Click Copy token.


AUTHORIZE
  • Select Authorize.
  • Paste token ID.
  • Click Authorize.


GET

To view examples press the GET readings button.


PARAMETERS

Experiment with different start_date, end_date, or start_mrid and end_mrid query parameters. Only start_date and end_date or start_mrid and end_mrid parameters need to be defined in the request, not both. MRID stands for "Measurement Record ID" and increases as the number of records on the device increases.


FORMAT

Select the output_format. Options include json, pandas dataframe or csv.


EXAMPLES

View examples in json, csv or pandas Dataframe.


UNITS

To set the units, login to your account at zentracloud.com and click the wrench icon from the main menu and select Measurement Units. Edit your preferred units and click Accept. See Setting your preferred measurement units article here.


How did we do?


Powered by HelpDocs (opens in a new tab)