Create a key
- Sign in to your exchanger account and open Settings → API. If the tab is missing, ask the operator to enable API access for your account.
- Select Create key and save both credentials in your server’s secret store.
- Make your first request on the exchanger’s HTTPS origin.
GET /api/v3/pingchecks the address.GET /api/v3/private/pingverifies your token and HMAC v2 signature without an additional scope.

Customer account, Settings → API (Russian interface)
Where to copy your token and HMAC secret
Where to copy your token and HMAC secret

The example credentials are masked in this screenshot
/api/v3/private/*. It consists of a Bearer token and a separate HMAC secret. If you have an older key that cannot be rotated, create a new public API key. Your sign-in credentials are for your exchanger account.
On a separate test installation, create a separate key and use that installation’s HTTPS address. To check form data without creating an order on the connected exchanger, use the simulation with public-api:sandbox:run.
Check permissions
A new key receives the exchanger’s default scopes. Open each operation in the API reference and check itsx-required-scopes. When the list has several scopes, any one of them is sufficient.
Ask the operator to change the key’s scopes if you need an additional operation. Share the key ID and the methods your application calls.
Restrict source IP addresses
- Open the key’s settings and fill in IP allow-list. Enter your server or gateway’s public outbound IPv4 or IPv6 address. CIDR ranges are supported.
- Enter up to 25 entries, one per line. An empty list permits requests from any source IP that meets the other access requirements.
- Call private ping from your integration server. On
403 ip_not_allowed, compareerror.details.ipwith your allow-list. If the response instead giveserror.details.reason: "tor_access_denied", check the exchange’s access policy with the operator.
Rotate or disable a key
If the key has a set expiration, it appears inresult.health.token.expires_at in the signed GET /api/v3/private/health/client response. A null value means the key has no set expiration date. The API checks the account and key states on each request.
- For a planned replacement, select Rotate key and save the new token and secret. The new key inherits the scopes and IP restrictions.
- Replace both values in your application and verify private ping. The old key works until the rotation window ends or it expires, whichever comes first.
- After switching credentials, turn off Key enabled for the old key or delete it. If the credentials are exposed, cut off access immediately. Ask an administrator to revoke the key permanently if needed.
error.code. Keep the token and secret on the server and out of logs and browser code.