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}/execution/orders/{orderId}GET
Authorization
bearerAuth *Bearer <token>
Token in: header
Path Parameters
accountId *string
Min length: 1
orderId *string
Pattern: ^(?:0|[1-9][0-9]*)$
Response
200 · Working or historical MT5 order with its deals
accountId *string
login *string
server *string
observedAt *string
latencyMs *number
order *object
Show properties
id *string
positionId *string
symbol *string
type *"buy" | "sell" | "buy_limit" | "sell_limit" | "buy_stop" | "sell_stop" | "buy_stop_limit" | "sell_stop_limit" | "close_by" | "other"
rawType *integer
state *"started" | "placed" | "canceled" | "partial" | "filled" | "rejected" | "expired" | "request_add" | "request_modify" | "request_cancel" | "other"
rawState *integer
volumeInitial *string
volumeCurrent *string
priceOpen *string
stopLoss?string
takeProfit?string
setupAt *string
doneAt?string
magic *string
reason *"client" | "mobile" | "web" | "expert" | "sl" | "tp" | "so" | "other"
rawReason *integer
comment?string
deals *object[]
Show item properties
id *string
orderId *string
positionId *string
symbol *string
type *"buy" | "sell" | "balance" | "credit" | "charge" | "correction" | "bonus" | "commission" | "commission_daily" | "commission_monthly" | "agent_daily" | "agent_monthly" | "interest" | "buy_canceled" | "sell_canceled" | "dividend" | "dividend_franked" | "tax" | "other"
rawType *integer
entry *"in" | "out" | "inout" | "out_by" | "other"
rawEntry *integer
volume *string
price *string
profit *string
commission *string
swap *string
fee *string
magic *string
reason *"client" | "mobile" | "web" | "expert" | "sl" | "tp" | "so" | "rollover" | "vmargin" | "split" | "other"
rawReason *integer
comment?string
time *string
source *"working" | "history"
serverClockOffsetSeconds *integernull
serverClockOffsetSource?"derived"
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
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>/execution/orders/<orderId>" \ -H "Authorization: Bearer <token>"