Skip to main content
Trade API (64)

How do I get an access token?

Send your key ID and secret to the token endpoint (POST /api/v1/apikeys/token). You'll get back an access token along with its expiry time. You can also ask for fewer scopes than the key has, which is safer for code that only reads data.

Send the token with every request in the header Authorization: Bearer <token>. WebSocket connections use the same header.

The base URLs and full request format are in the API documentation.