Skip to main content
Authentication to the API is performed via the Authorization header with an API key. Each request requires an API key to authenticate the user and a signature to verify the request’s integrity, ensuring safe and authorized access to our API. To provide access to the API, all requests must contain the following headers: Generated API keys have no expiration date. However, they will be disabled if they are not used during a 6-month period. Users manage the full lifecycle of their API keys, including creation and revocation, through the platform. For information on creating an API key, see Create an API key.

Generating a signature

1

Concatenate the following strings:

  • Value of the X-Timestamp header
  • HTTP request method uppercase
  • Path of the requested endpoint including the platform prefix and all additional parameters (e.g., /platform/orders?limit=1000)
  • All fields of the request body (use an empty string if the request does not include a body)
"$timestamp${req.method.value.toUpperCase}${req.uri}${body.data.utf8}"For example: 1730482675607POST/platform/orders{"orderType":"withdraw","amount":"1.0"}
2

Sign the concatenated string with your API Secret using the HMAC SHA256 method.

3

Encode the generated signature in hexadecimal format.