API Overview
Get your API keys
All API requests must be authenticated using API keys. Any request without a valid API key will be rejected.
To obtain your merchant API keys:
Sign up at app.thedex.cloud.
After logging in, navigate to the "Merchants" section.
Click the "Add" button and complete the form.
Upon submission, you will receive an API key and a secret key.
These keys are required for all authenticated API requests.
Required API Headers
Each authenticated request must include the following headers:
X-EX-APIKEY
: Your API keyX-EX-PAYLOAD
: Base64-encoded JSON request bodyX-EX-SIGNATURE
: HMAC SHA-512 signature generated using your secret key
How to Generate the Signature
Construct your JSON request body with the required parameters for the endpoint you’re calling.
Encode the JSON body to a Base64 string — this becomes your
X-EX-PAYLOAD
.Generate an HMAC SHA-512 signature of the Base64-encoded body using your secret key — this becomes your
X-EX-SIGNATURE
.
For implementation examples and detailed technical guides on sending API requests, creating signatures, and using our project in different programming languages, please refer to the link below. API Examples Repository on Bitbucket:
Last updated