Skip to navigation

Get account information

Respond with requester’s account information

status is the account’s margin state. UNSPECIFIED means there is no margin summary for the account yet, as for an account whose contract is not deployed until its first deposit. Read onboarding_status and is_deployed on GET /account/info to tell those apart.

Authentication

Authorizationstring
API Key authentication via header

Query parameters

subaccount_addressstringOptional
Subaccount address

Response

OK
accountstringOptional
User's starknet account
account_valuestringOptional

Current account value [with unrealized P&Ls]

free_collateralstringOptional

Free collateral available (Account value in excess of Initial Margin required)

initial_margin_requirementstringOptional
Amount required to open trade for the existing positions
last_seen_notificationintegerOptional

Latest notification event timestamp (ms) the user has seen — used for cross-device dedup

maintenance_margin_requirementstringOptional
Amount required to maintain exisiting positions
margin_cushionstringOptional
Acc value in excess of maintenance margin required
resync_pause_untilintegerOptional

System accounts only: Unix ms until which their trader should send nothing, so a reset from chain can apply. Absent otherwise

seq_nointegerOptional

Unique increasing number (non-sequential) that is assigned to this account update. Can be used to deduplicate multiple feeds

settlement_assetstringOptional
Settlement asset for the account
statusstringOptional

Margin state of the account, like ACTIVE or LIQUIDATION. UNSPECIFIED means there is no margin summary yet, as for an account not yet deployed (is_deployed on GET /account/info). Not the onboarding state

total_collateralstringOptional
User's total collateral
updated_atintegerOptional
Account last updated time
withdrawal_lockobjectOptional
Settlement asset amount reserved for a portfolio margin withdrawal, absent when there is none
withdrawal_lock_rejectionobjectOptional
The last withdrawal lock request refused, absent once it is five minutes old

Errors

400
Bad Request Error
401
Unauthorized Error