Get Subaffiliates Data (affiliate only)
HTTP Request Query Sub-Affiliate Trading Volume, Fees, and Commission Data (Affiliate Account)
- POST /api/v2/rebate/affiliate/querySubChannelTransactions
Weight(IP): 10, Weight(UID): 10
Request Parameters
| Parameter | Parameter Type | Required | Description | 
|---|---|---|---|
| subUid | Long | No | Sub-affiliate's UID | 
| startTime | Long | No | Start timestamp (UTC milliseconds) | 
| endTime | Long | No | End timestamp (UTC milliseconds) | 
| productType | String | Yes | Product type (SPOT or FUTURES) | 
| pageNum | Integer | No | Page number (starts from 1, default 1) | 
| pageSize | Integer | No | Items per page (default 100) | 
Request Example
curl -X POST "https://api-spot.weex.com/api/v2/rebate/affiliate/querySubChannelTransactions" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{
    "startTime": null,
    "endTime": null,
    "productType": "FUTURES"
}'
Response Parameters
| Field Name | Type | Description | 
|---|---|---|
| subAffiliateUid | String | Sub-affiliate ID | 
| productType | String | Product Type | 
| date | String | Date | 
| tradingVolume | String | Total Trading Volume | 
| netTradingFee | String | Net Trading Fee Collected by Platform | 
| paidCommission | String | Actual Rebate Amount | 
Response Example
{
  "code": "00000",
  "msg": "success",
  "requestTime": 1756084752479,
  "data": {
    "records": [
      {
        "subAffiliateUid": "6424873609",
        "productType": "FUTURES",
        "date": "2025-08-20",
        "tradingVolume": "2698.099",
        "netTradingFee": "1.70343",
        "paidCommission": "1.362744"
      }
    ],
    "total": 1,
    "size": 10,
    "current": 1,
    "pages": 1
  }
}