Skip to main content
GET
Get Exchange Rates

Autorizaciones

x-api-key
string
header
requerido

Parámetros de ruta

id
string<uuid>
requerido

Wallet identifier.

Parámetros de consulta

assetId
string<uuid>
requerido

Stablecoin asset identifier returned by the supported-assets endpoint.

currency
string
requerido

ISO 4217 fiat currency code.

Required string length: 3
amount
string
requerido

Decimal amount encoded as a string to preserve precision.

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

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

Opciones disponibles:
source,
target
provider
string

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

Respuesta

200 - application/json

Successful response.

statusCode
integer
requerido
Ejemplo:

200

message
string
requerido

Human-readable result.

Ejemplo:

"Exchange rate fetched successfully"

data
object
requerido