Skip to main content
GET
Get Exchange Rates

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

id
string<uuid>
obrigatório

Wallet identifier.

Parâmetros de consulta

assetId
string<uuid>
obrigatório

Stablecoin asset identifier returned by the supported-assets endpoint.

currency
string
obrigatório

ISO 4217 fiat currency code.

Required string length: 3
amount
string
obrigatório

Decimal amount encoded as a string to preserve precision.

Pattern: ^\d+(\.\d+)?$
amountSide
enum<string>
padrão:source

Which side of the conversion amount refers to. source (default) fixes the stablecoin amount; target fixes the fiat amount the recipient receives.

Opções disponíveis:
source,
target
provider
string

Optional provider slug. Omit it to let Blockradar select an eligible provider.

Resposta

200 - application/json

Successful response.

statusCode
integer
obrigatório
Exemplo:

200

message
string
obrigatório

Human-readable result.

Exemplo:

"Exchange rate fetched successfully"

data
object
obrigatório