Get Earn Product Assets

Returns Earn holdings by product, including product identity, holding quantities and yield-related fields.

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

Returns the product-centric Earn view: one row for each Earn product holding in the API key's scope. It supports flexible, fixed and fund products.

Use this endpoint when a customer needs to see what they bought, the product identity, term and yield-related fields. Use Get Earn Asset Summary instead when the question is “how much of each currency is held across all Earn products?”

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 product holdings in the main user's API-key scope.
Sub-user Level API keyYesOnly Earn product holdings 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.

Product-type rules

All product types use the same response shape:

productTypeMeaning
FIXEDFixed-term Earn product
FLEXIBLEFlexible Earn product
FUNDFund product

Fields that do not apply to a product may return "" or null. For example, a flexible product has no fixed term or maturity: term is "" and maturityDate is 0. Use productType to identify the product category.

Query parameters

NameTypeRequiredDescription
quoteCurrencystringNoCurrency used to value every returned product. Accepts USD, BTC or USDT; defaults to USD. It affects valuation only, not product units or shares.
productTypestringNoOptional filter: FIXED, FLEXIBLE or FUND. Input is case-insensitive; response values are uppercase. Omit it to return every product type.
productCodestringNoOptional exact product-code filter. Omit it to return all held products. A product not found in the caller's scope returns 404005.
hideDustbooleanNoDefaults to true. When true, products valued below 1 USD are omitted. Set false for a complete low-value reconciliation.

Response fields

data contains totalValue, quoteCurrency, exchangeRate, updatedAt and list. Monetary values, quantities, rates and shares are decimal strings. Do not convert them to binary floating-point numbers.

FieldTypeDescription
codeintegerApplication result code. 200 means success.
messagestringResult message.
data.totalValuestringAggregate valuation of the returned product holdings in data.quoteCurrency.
data.quoteCurrencystringValuation currency used in this response.
data.exchangeRatestringUSD value of one unit of data.quoteCurrency; "1" for USD.
data.updatedAtintegerAsset snapshot time as a Unix timestamp in milliseconds.
data.listarrayProduct-holding rows. An empty array is a normal successful response when there are no matching holdings.
Field in data.list[]TypeDescription
productTypestringProduct category: FIXED, FLEXIBLE or FUND.
productNamestringHuman-readable product name.
productCodestringProduct identifier. Use it when filtering or reconciling the same product across calls.
currencystringUnderlying currency symbol for the product holding.
currencyDetailsobjectCurrency metadata: id (currency reference ID), iconUrl, currencyName, slug, referenceAssetId (reference currency ID) and multiplier (conversion ratio to the reference currency).
quoteCurrencystringCurrency used to value this product row.
totalValuestringCurrent holding value in quoteCurrency.
aprstring or nullAnnual rate expressed as a decimal ratio; for example, "0.025" means 2.5%. "" or null when unavailable.
thirtyDayApystring or nullAnnualised performance measure over the most recent 30-day period, when applicable.
holdSharesstring or nullNumber of held shares, when the product uses share accounting.
navstring or nullNet asset value per share, when the product uses NAV accounting.
itemIdinteger or nullHolding-item identifier; 0 or null when unavailable. Use productCode to identify a product.
termstring or nullProduct term supplied by the product service, such as a fixed-term duration.
amountstring or nullUnderlying holding quantity.
accumPnlstring or nullAccumulated profit and loss or earnings supplied for the holding.
intereststring or nullInterest amount supplied for the holding, when applicable.
fundTypeinteger or nullInternal fund classification for products that expose it.
fundSubtypeinteger or nullInternal fund sub-classification for products that expose it.
renewalStatusboolean or nullAutomatic renewal state when applicable. A null value means it is not supplied for that product.
maturityDateinteger or nullMaturity time as a Unix timestamp in milliseconds. 0 or null means no maturity date; do not interpret 0 as a date.

Interpretation notes

  • apr and thirtyDayApy are different reported measures; do not substitute one for the other.
  • holdShares and nav apply to share/NAV products and can be "" or null for other products. An empty string is not a numeric zero.
  • totalValue is a valuation; amount is the underlying holding quantity. They use different units and must not be compared directly.

Relevant errors

CodeWhen it occursWhat to do
404001quoteCurrency is not supported.Use USD, BTC or USDT.
404003productType is not FIXED, FLEXIBLE or FUND.Use a supported value or omit the filter.
404005The selected productCode is not found in the caller's scope.Use a product code returned by this endpoint or remove the filter.
404006Earn asset data is temporarily unavailable.Retry after a short delay.
100429The API key exceeds the rate limit.Back off before retrying.
Query Params
string
enum

Valuation currency. Defaults to USD.

Allowed:
string
enum

Earn product type. Input is case-insensitive.

Allowed:
string

Earn product code filter.

boolean

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

Response

Language
LoadingLoading…
Response
Choose an example:
application/json