Get All Sub-Accounts Info(V2)

This endpoint can be used to get a paginated list of sub-accounts. Pagination is required.

HTTP REQUEST

GET /api/v2/sub/user

Example

GET /api/v2/sub/user

{
  "code": "200000",
  "data": {
    "currentPage": 1,
    "pageSize": 100,
    "totalNum": 1,
    "totalPage": 1,
    "items": [
      {
        "userId": "635002438793b80001dcc8b3",
        "uid": 62356,
        "subName": "margin01",
        "status": 2,
        "type": 4,
        "access": "Margin",
        "createdAt": 1666187844000,
        "remarks": null
      }
    ]
  }
}
API KEY PERMISSIONS

This endpoint requires the General permission.

REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Manage weight:20

PARAMETERS
Param Type Mandatory Description
currentPage Int No Current request page. Default is 1
pageSize Int No Number of results per request. Minimum is 1, maximum is 100, default is 10.
RESPONSES
Param Description
createdAt Time of the event
remarks Remarks
status Account status
subName Sub-account name
type The type of your sub-account
uid Sub-account UID
userId The user ID of your sub-account
access Permission