An API pair is required to send any authenticated request to the EXMO.com server. The API pair consists of a key and a secret key.
API settings
$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.com 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,
);
Note:
The above-examples of code are in PHP. If you need to see examples in other languages, please check on EXMO.com Github. You can also check EXMO.com documentation to see more examples of requests you can send to the EXMO.com 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.
Note:
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.com Support.