Getting Started

Getting Started with the Moxion Power Developer API

About the Developer API

The Moxion Developer API uses the REST methodology to share resources and data about your organization's Mobile Power Units. The Developer API allows you to fetch up to date information including devices' metadata, location, and telemetry based metrics.

Authentication

Authentication with the developer API is done through Bearer Tokens. To get a token from Moxion Power, please reach out to your account manager or email [email protected] to get started.

Bearer Token

The API key should be included as the Authorization header with a bearer prefix.

curl 'http://api.moxionpower.com/api/v1/organizations' \
  -H 'Authorization: bearer <YOUR TOKEN HERE>'

Rate Limits and Quotas

The Moxion Developer API has two main request limits: Rate Limit and Quota. Rate Limit governs how many requests can be made within a relatively short amount of time (bursts) whereas Quota limits how many rows of data can be returned over a given timespan.

Each Device's subscription includes a base quota for your account. The base quota is designed to allow you to track and save all data about your devices, while maintaining a reasonable request rate.

If your account exceeds the allowed limits, an HTTP 429 will be returned. In this event, please slow your request rate or contact your account manager about expanding your Quota.


What’s Next

Find your organization's ID