Skip to main content

Get Account Information

Frequency limit: 1 time/1s (User ID)

Description

Get account information(SPOT read or SPOT read/write permission needed)

HTTP Request

  • GET /api/v2/spot/account/info
Request Example
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"

Request Parameters

ParameterTypeRequiredDescription
N/A
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1695808949356,
"data": {
"userId": "**********",
"inviterId": "**********",
"ips": "127.0.0.1",
"authorities": [
"trade",
"readonly"
],
"parentId": 1,
"traderType": "trader",
"channelCode": "XXX",
"channel": "YYY",
"regisTime":"1246566789345"
}
}

Response Parameters

ParameterTypeDescription
userIdStringUser ID
inviterIdStringInviter's user ID
channelCodeStringAffiliate referral code
channelStringAffiliate
ipsStringIP whitelist
authoritiesArrayPermissions
Read only
coor: futures orders
cpor: futures holdings
stor: spot trade
smor: margin trade
ttor: copy trading
wtor: wallet transfer
taxr: taxation
chor: subaccount
p2pr: P2P query
Read and Write
coow: futures orders
cpow: futures holdings
stow: spot trade
smow: margin trade
ttow: copy trading
wtow: wallet transfer
wwow: wallet withdrawl
chow: subaccount manage
p2p: P2P
parentIdIntMain account user ID
traderTypeStringtrader: Is trader, not_trader: not trader
regisTimeStringRegister time

How was your Reading Experience with us?