Skip to main content

Query Auto Earn List

Type: GET

Description: /v4/finance/auto-earn-list

Query auto earn product list.

Parameters

NameTypeMandatoryDescription
currencystringfalseCurrency filter

Request Example

Request
curl -G "https://sapi.xt.com/v4/finance/auto-earn-list" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json"

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": [
{
"productId": 1001,
"enabled": true,
"apyList": [{"apy": "0.08"}],
"weight": 1,
"currency": "USDT",
"profitType": "NORMAL",
"available": true
}
]
}

Response Fields

FieldTypeDescription
productIdlongProduct ID
enabledbooleanWhether auto-earn is enabled for this product
apyListarrayAPY list
weightintegerProduct weight (for sorting)
currencystringCurrency
profitTypestringProfit type
availablebooleanWhether product is available