Exchange Rate (Crypto and Fiat)

Get an indicative exchange rate for transactions involving cryptocurrencies and fiat currencies. This endpoint supports both crypto-to-fiat and fiat-to-crypto conversions.

Body Params
string
required

Currency pair, where the first currency is the source and the second is the target. Examples: BTC_USD (crypto to fiat) or USD_BTC (fiat to crypto).

string
required

Amount of the source currency.

string
enum
required

Determines the direction of the exchange based on the ticker:

  • sell: Selling the first currency in the ticker to receive the second currency (e.g., sell BTC for USD when ticker is BTC_USD).
  • buy: Buying the first currency in the ticker using the second currency (e.g., buy BTC with USD when ticker is BTC_USD, effectively getting the USD to BTC rate).
Allowed:
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json