Get rates
Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes.
If side is omitted it defaults to SELL. Use side: BOTH to get rates for each side the provider supports in a single call; providers that support only one side return that side only. Every returned rate carries a concrete BUY or SELL side, never BOTH.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
For detailed information about error codes and troubleshooting, please refer to our API Error Codes documentation.
Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Body
One or more providers/accounts to request rates from. At least one scope item is required.
1The source asset identifier.
"BTC"
The target asset identifier.
"USD"
The amount to convert from
^\d+(\.\d+)?$"100.00"
Side to price on a quote, rate or offer request. BUY: receive base / pay quote; SELL: give base / receive quote; BOTH: request pricing for both sides at once. Providers that support only one of the sides return entries for that side only. BOTH is accepted on requests only, never on order execution requests, and responses never return it: every returned quote, rate or offer carries a concrete BUY or SELL. When omitted, defaults to SELL.
BUY, SELL, BOTH