An API pair is required to send any authenticated request to the EXMO’s server. The API pair consists of a key and a secret key.
$key = “”; //TODO replace with your API key from profile page
$secret = “”; //TODO replace with your API secret from profile page
The API pair must be implemented in your code, in order to submit a request to the EXMO’s server. Both a key and a secret key are used to generate an encrypted sign with the method HMAC-SHA512.
$sign = hash_hmac(‘sha512’, $post_data, $secret);
Your sign and key must be used in headers to send a request to the server.
// generate the extra headers
$headers = array(
‘Sign: ‘ . $sign,
‘Key: ‘ . $key,
The above-examples of code are in PHP. If you need to see examples in other languages, please check on EXMO’s Github. You can also check EXMO’s documentation to see more examples of requests you can send to the EXMO’s server.
1. Hover over your account in the upper right corner of your user interface. In the drop-down menu, click on the “Settings” section.
It’s an optional step and you can skip it, but, for security reasons, EXMO recommends API Access only from trusted IP addresses.
4. To generate your API key pair, click the “Generate API key” button.
The Secret Key is displayed only once.
7. To activate your API key pair, follow the link that was sent to your email address. If you have followed all the steps, your API key will be activated and be ready to use in your code. For your convenience, all your API keys are stored in the API Keys list.
Still having problems with an API key? Create a ticket to EXMO Support.