Calypso uses API keys to allow access to the API. You can contact Technical Support to generate a new pair of API keys for you (public and secret keys).

All requests must contain the following headers:

Header nameDescription
KeyThe api key as a string.
SignThe HEX-encoded signature (see Signing a Request).
Content-TypeAll request bodies should have content type application/json and be valid JSON.

Every request must be signed and the sign must be provided to the request header.

Sign — POST data (in the same format in which you want to send) encrypted with method HMAC-SHA512 using secret key and the result object is converted to a HEX string.

The body is the request body string (in all cases this is JSON stringified request params object).

All the requests should also include the obligatory POST parameter timestamp with current unix UTC timestamp in milliseconds. The value must not be less than 3 minutes in the past and not greater than 3 minutes in the future.

Related Article: Get started with API