Skip to main content
GET
Get Exchange Rates

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

id
string<uuid>
requis

Wallet identifier.

Paramètres de requête

assetId
string<uuid>
requis

Stablecoin asset identifier returned by the supported-assets endpoint.

currency
string
requis

ISO 4217 fiat currency code.

Required string length: 3
amount
string
requis

Decimal amount encoded as a string to preserve precision.

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

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

Options disponibles:
source,
target
provider
string

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

Réponse

200 - application/json

Successful response.

statusCode
integer
requis
Exemple:

200

message
string
requis

Human-readable result.

Exemple:

"Exchange rate fetched successfully"

data
object
requis