Authentication
All private endpoints require a valid access token.
Generate an API Key and Private Key
Create an account on the Power Trade's web application.
In the account profile menu in the top right and choose
API Keys
The resulting API Key
api_key
and Private keyprivate_key
can be used to generate a JWT.
Generate an access token - JWT
Use the ES256
algorithm and add {client: "api"}
to the payload when generating the token jwt_token
.
Example in python
Using PyJWT
Example in Node.js
Using jsrsasign
Web Based JWT builder
If you want a quick way to verify that your API Key is working, you can also use our web based jwt builder:
https://app.power.trade/jwt-builder
Still have questions?
Email Support: support@power.trade
Telegram: https://t.me/power_trade
Last updated