Connected Accounts

Get exchange rates for an account

Retrieve current exchange rates for converting between specific assets in a connected account.

get/connected_accounts/{accountId}/rates

Request

Path parameters

accountIdstring required

The ID of the account to fetch rates for.

Query parameters

baseAssetIdstring required

The ID of the asset to fetch rates for.

quoteAssetIdstring required

The ID of the asset to get the rates nominally.

Response

Rates response

accountIdstring required

The ID of the account that generated the quote.

baseAssetIdstring required

The source asset identifier

quoteAssetIdstring required

The target asset identifier

ratestring required

The exchange rate value

Example response

{
  "accountId": "ea6c3cb7-355a-4ee3-82ff-267c69970210",
  "baseAssetId": "BTC",
  "quoteAssetId": "USD",
  "rate": "1.2345"
}

Changes

No recorded changes to this operation across all 1 revision of this API.