GET
/
exchange-rate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Query Parameters

sourceCurrency
enum<string>
required

The currency to convert from.

Available options:
BRL,
USDC,
USDT
targetCurrency
enum<string>
required

The currency to convert to.

Available options:
BRL,
USDC,
USDT

Response

200 - application/json
rate
number

The exchange rate between source and target currencies.

sourceCurrency
enum<string>

The currency to convert from.

Available options:
BRL,
USDC,
USDT
targetCurrency
enum<string>

The currency to convert to.

Available options:
USDC,
USDT,
BRL