获取账户信息
限速规则 1次/秒/UID
描述
获取账户信息 (需要现货只读或者读写权限)
HTTP请求
- GET /api/v2/spot/account/info
请求示例
curl "https://api.bitget.com/api/v2/spot/account/info" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
请求参数
N/A
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1695808949356,
"data": {
"userId": "**********",
"inviterId": "1",
"ips": "127.0.0.1",
"authorities": [
"trade",
"readonly"
],
"parentId": 2,
"traderType": "trader",
"channelCode": "XYZ",
"channel": "XXX",
"regisTime":"1246566789345"
}
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
userId | String | 用户ID |
inviterId | String | 邀请人UID |
channelCode | String | 渠道邀请码 |
channel | String | 渠道 |
ips | String | IP白名单 |
authorities | Array | 权限 只读 coor 合约订单 cpor 合约仓位 stor 现货 smor 杠杆 ttor 跟单 wtor 划转 taxr 税务 chor 子账户 p2pr P2P 读写 coow 合约订单 cpow 合约仓位 stow 现货 smow 杠杆 ttow 跟单 wtow 划转 wwow 提币 chow 子账户 p2pw P2P |
parentId | Int | 母账户UID |
traderType | String | trader 是交易员, not_trader 不是交易员 |
regisTime | String | 注册时间 |