Currency Exchange

Quote and place currency exchanges between the currencies in your account.

Currency exchange converts one currency in your account into another — crypto to crypto, crypto to fiat, or fiat to fiat. Quote the rate first, then place the order.

Endpoint overview

HTTP RequestDescription
POST /public/exchanges/calculateCalculate what an exchange would give you, before committing.
POST /public/exchangesPlace the exchange order.
GET /public/exchangesList your exchanges, with pagination and filtering.
GET /public/exchanges/{id}Retrieve a single exchange.
GET /public/exchanges/pairs/idsCheck whether a currency pair can be exchanged.

Exports are available at GET /public/exchanges/csv and GET /public/exchanges/pdf.

⚠️

The singular /public/exchange paths are deprecated. Use /public/exchanges as documented above.


Typical flow

  1. Confirm the pair is supported with GET /public/exchanges/pairs/ids.
  2. Quote it with POST /public/exchanges/calculate. The quote includes the rate and the margin applied.
  3. Place the order with POST /public/exchanges.
  4. Follow it with GET /public/exchanges/{id}, or list recent exchanges with GET /public/exchanges.

Rates move, so quote immediately before placing the order rather than reusing an older calculation.


Scopes

ScopeGrants
exchange:readList exchanges, retrieve one, and check pairs.
exchange:createCalculate and place exchange orders.

See Scopes and Generating API keys.


Did this page help you?