Skip to navigation

Exchange Rates

View as Markdown

Returns the current exchange rate and converted amount between two currencies.

Use this endpoint to get a real-time rate for a given amount before generating a quote. Supports conversions between supported crypto assets (e.g. USDT) and fiat currencies (e.g. COP).

Authentication: Bearer token ({{JWT_LOGIN}}) + x-api-key header.

Key body fields

  • baseCurrency: The source currency to convert from (e.g. USDT).
  • quoteCurrency: The target currency to convert to (e.g. COP).
  • amount: The amount in the base currency to calculate the rate for.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
baseCurrencystringRequired
quoteCurrencystringRequired
amountintegerRequired

Response headers

x-amzn-RequestIdstringOptional
Access-Control-Allow-OriginstringOptional
x-amz-apigw-idstringOptional
X-Amzn-Trace-IdstringOptional

Response

OK
baseCurrencystring
quoteCurrencystring
exchangeRatedouble
baseAmountinteger
quoteAmountinteger