Get Earn Asset Summary

Returns Earn holdings aggregated by currency, including balances and valuations.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns the currency-centric Earn view: it combines holdings in all Earn products into one row per currency.

Use it to answer “how much BTC, USDT or another currency is in Earn, how much is available, and how much is invested?” Use Get Earn Product Assets when the user instead needs the individual product, term or yield details that make up a currency total.

Rate limit: 10 requests per minute per API key. This endpoint is not paginated.

API key access

This is a read-only LTP Open API endpoint. READ permission is sufficient; TRADE, TRANSFER and WITHDRAW are not required.

API key typeCan callReturned scope
Main User Level API keyYesEarn currency totals in the main user's API-key scope.
Sub-user Level API keyYesOnly Earn currency totals in that Sub-user's scope. An empty result is valid.
Portfolio Level API key (a dedicated RapidX Sub Portfolio key)NoThis user-level asset service does not support Portfolio-scoped API keys.
Exchange-native API keyNoThis endpoint accepts signed LTP Open API keys only.

An unsupported API key level is rejected before asset data is read, normally with 2003.

Balance convention

For each returned currency row, balance is the total Earn quantity and follows:

balance = available + frozen + holding

holding represents the amount invested in Earn products; it is not an additional balance to add on top of balance. All amount and valuation fields are decimal strings.

Query parameters

NameTypeRequiredDescription
quoteCurrencystringNoCurrency used to value each currency row. Accepts USD, BTC or USDT; defaults to USD. It does not change the actual Earn quantity.
hideDustbooleanNoDefaults to true. When true, currencies valued below 1 USD are hidden. Set false when a reconciliation must include every low-value currency.
currencystringNoOptional exact currency-symbol filter. Omit it to return every Earn currency in scope. A non-matching symbol returns a successful empty list.

Response fields

data contains totalValue, quoteCurrency, exchangeRate, updatedAt and list.

FieldTypeDescription
codeintegerApplication result code. 200 means success.
messagestringResult message.
data.totalValuestringTotal Earn valuation in data.quoteCurrency.
data.quoteCurrencystringValuation currency used in the response.
data.exchangeRatestringUSD value of one unit of data.quoteCurrency; "1" for USD.
data.updatedAtintegerAsset snapshot time as a Unix timestamp in milliseconds.
data.listarrayCurrency-level Earn totals. An empty array is a normal successful response when no holding matches the filters.
Field in data.list[]TypeDescription
quoteCurrencystringValuation currency for this row.
totalValuestringValue of this Earn currency total in quoteCurrency.
changePctTodaystring or nullDaily percentage change when available. "" or null means unavailable, not zero.
currencystringLTP currency symbol.
balancestringTotal Earn quantity for the currency. It equals available + frozen + holding.
equitystringEarn equity in units of this currency, not a valuation.
availablestringQuantity available for operations within the Earn account, in units of this currency. It may differ from the transferable or withdrawable quantity.
frozenstringEarn quantity temporarily locked or unavailable.
holdingstringEarn quantity invested in product holdings. It is already included in balance.
currencyDetailsobjectCurrency metadata: id (currency reference ID), iconUrl, currencyName, slug, referenceAssetId (reference currency ID) and multiplier (conversion ratio to the reference currency).

Choosing the correct Earn view

NeedEndpoint
One row per held Earn product, including term / rates / sharesGet Earn Product Assets
One row per currency across all Earn productsThis endpoint

The two endpoints present the same Earn holdings from different dimensions.

Relevant errors

CodeWhen it occursWhat to do
404001quoteCurrency is not supported.Use USD, BTC or USDT.
404006Earn asset data is temporarily unavailable.Retry after a short delay.
2000Signature, API key or nonce verification fails.Recreate the signed request with the exact query parameters and a seconds-based nonce.
100429The API key exceeds the rate limit.Back off before retrying.
Query Params
string
enum

Valuation currency. Defaults to USD.

Allowed:
boolean

Whether to hide assets valued below 1 USD. Defaults to true where supported.

string

Currency symbol filter. Omit to return all currencies.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json