跳到主要内容

获取账户信息

限速规则 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"
}
}

返回参数

返回字段参数类型字段说明
userIdString用户ID
inviterIdString邀请人UID
channelCodeString渠道邀请码
channelString渠道
ipsStringIP白名单
authoritiesArray权限
只读
coor 合约订单
cpor 合约仓位
stor 现货
smor 杠杆
ttor 跟单
wtor 划转
taxr 税务
chor 子账户
p2pr P2P
读写
coow 合约订单
cpow 合约仓位
stow 现货
smow 杠杆
ttow 跟单
wtow 划转
wwow 提币
chow 子账户
p2pw P2P
parentIdInt母账户UID
traderTypeStringtrader 是交易员, not_trader 不是交易员
regisTimeString注册时间