# 查询下级资产快照

**HTTP request** 查询当前代理某个直客的资产及入金情况。

- **GET** ```/api/v3/agency/getAssert```

权重(IP): 10

<div class='api-content-wrap'>
<div>
<strong>请求参数</strong>

| 参数名    | 类型    | 是否必须 | 描述                                       |
|:-------|:-------|:------|:------------------------------------------|
| userId | Long   | 是     | 直客 UID                                  |
| startTime | String | 否     | 起始时间（UTC，格式 `yyyy-MM-dd`）           |
| endTime   | String | 否     | 结束时间（UTC，格式 `yyyy-MM-dd`，默认当前时间） |
</div>
<div class='api-align'>
  <div class='code-wrap'>
<strong>请求示例</strong>

```powershell
curl "https://api-spot.weex.com/api/v3/agency/getAssert?userId=4667776811&startTime=2025-02-01&endTime=2025-03-01" \
  -H "ACCESS-KEY:*******" \
  -H "ACCESS-SIGN:*******" \
  -H "ACCESS-PASSPHRASE:*****" \
  -H "ACCESS-TIMESTAMP:1732972800000" \
  -H "Content-Type: application/json"
```

  </div>
  </div>
</div>

<div class='api-content-wrap'>
  <div>
<strong>返回参数</strong>

| 字段名                 | 类型     | 说明             |
|:--------------------|:-------|:---------------|
| availableBalance    | String | 可用余额（USDT）     |
| fundingTotalUsdt    | String | 资金账户权益（USDT）   |
| spotProTotalUsdt    | String | 现货账户权益（USDT）   |
| unimarginTotalUsdt  | String | 合约账户权益（USDT）   |
| depositTotalAmount  | String | 指定时间范围内的累计入金金额 |
| depositList         | Array  | 入金明细列表         |
</div>
  <div class='api-align'>
  <div class='code-wrap'>
<strong>返回示例</strong>

```json
{
  "availableBalance": "3415185672.29521058",
  "contractTotalUsdt": "--",
  "depositList": [],
  "depositTotalAmount": "0.00000000",
  "fundingTotalUsdt": "100.19000000",
  "spotProTotalUsdt": "3415184095.36345915",
  "unimarginTotalUsdt": "1476.74175143"
}
```
  </div>
</div>
</div>
