Query Auto Earn List
Type: GET
Description: /v4/finance/auto-earn-list
Query auto earn product list.
Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| currency | string | false | Currency 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
| Field | Type | Description |
|---|---|---|
| productId | long | Product ID |
| enabled | boolean | Whether auto-earn is enabled for this product |
| apyList | array | APY list |
| weight | integer | Product weight (for sorting) |
| currency | string | Currency |
| profitType | string | Profit type |
| available | boolean | Whether product is available |