Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
/v1/accounts/{accountId}/snapshotGET
Authorization
bearerAuth *Bearer <token>
Token in: header
Path Parameters
accountId *string
Min length: 1
Response
200 · Account snapshot
accountId *string
login *string
server *string
observedAt *string
latencyMs *number
balance *object
Show properties
accountId *string
login *string
server *string
observedAt *string
latencyMs *number
balance *string
equity *string
currency *string
credit *string
margin *string
marginFree *string
profit *string
leverage *string
name *string
company *string
positions *object[]
Show item properties
id *string
identifier?string
Pattern: ^(?:0|[1-9][0-9]*)$
symbol *string
side *"buy" | "sell"
volume *string
openPrice *string
currentPrice *string
profit *string
openedAt *string
stopLoss?string
takeProfit?string
swap *string
magic *string
comment?string
recentTrades *object
Show properties
data *object[]
Show item properties
id *string
orderId *string
positionId *string
symbol *string
side *"buy" | "sell"
volume *string
closePrice *string
profit *string
commission *string
swap *string
fee *string
magic *string
entry *"in" | "out" | "inout" | "out_by" | "other"
rawEntry *integer
reason *"client" | "mobile" | "web" | "expert" | "sl" | "tp" | "so" | "rollover" | "vmargin" | "split" | "other"
rawReason *integer
closedAt *string
nextCursor *stringnull
historySynced?boolean
historyState?"converged" | "unsettled"
settledThrough?string (date-time)
serverClockOffsetSeconds?integernull
serverClockOffsetSource?"derived" | "inherited" | null
historySynced *boolean
historyState?"converged" | "unsettled"
settledThrough?string (date-time)
serverClockOffsetSeconds *integernull
serverClockOffsetSource?"derived" | "inherited" | null
202 · The account session is warming; retry the same request
error *object | object
400 · Invalid request
error *object | object
401 · Invalid API key
error *object | object
403 · Insufficient API key scope or connected account slot limit
error *object | object
404 · Resource not found
error *object | object
409 · Account is not active
error *object | object
422 · The broker or terminal rejected the operation
error *object | object
429 · Rate limit exceeded
error *object | object
500 · Unexpected failure
error *object | object
503 · Capacity exhausted, upstream unavailable, or history coverage unsettled
error *object | object
504 · Upstream request timed out
error *object | object
Request example
curl -X GET "https://api.fivesocket.com/v1/accounts/<accountId>/snapshot" \ -H "Authorization: Bearer <token>"