Authentication 🔐

Authenticate your API calls by including your secret key in the X-Api-Key header of every request you make. You can get your API keys from the dashboard.

We provide both public and secret keys. Public keys are meant to be used on your frontend when integrating using Thepeer Inline (chain.js) and in our Mobile SDKs only. The secret should be used to make API calls on your backend.

HeaderValue
X-Api-Key{{YOUR_SECRET_KEY}}
Acceptapplication/json

API requests made without authentication will fail with the status code 401: Unauthorized. All API requests must be made over HTTPS.


💡

Do not commit your secret keys to git, or use them in client-side code.