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}/balanceGET
Authorization
bearerAuth *Bearer <token>
Token in: header
Path Parameters
accountId *string
Min length: 1
Response
200 · Account balance
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
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>/balance" \ -H "Authorization: Bearer <token>"