Skip to main content
GET
/
v1
/
accounts
/
{id}
/
orders
Get Account Orders
curl --request GET \
  --url https://api.tradearies.dev/v1/accounts/{id}/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": 123,
    "status": "<string>",
    "orderAction": "<string>",
    "userId": 123,
    "sterlingOrderId": "<string>",
    "symbol": "<string>",
    "avgPrice": "<string>",
    "quantityFilled": "<string>",
    "postEffect": "<string>",
    "submittedAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "instrument": "<string>",
    "quantity": "<string>",
    "orderRejectionReason": "<string>",
    "type": "<string>",
    "tradeAction": "<string>",
    "stopPrice": "<string>",
    "limitPrice": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required
Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Account ID

Query Parameters

limit
integer
default:0

Maximum number of orders to return (0 = no limit)

Required range: x >= 0

Response

Account orders retrieved successfully

id
integer

Internal order ID

status
string

Order status

orderAction
string

Order action type

userId
integer

User ID who placed the order

sterlingOrderId
string

Sterling order identifier

symbol
string

Trading symbol

avgPrice
string

Average fill price

quantityFilled
string

Quantity filled

postEffect
string

Post-trade effect

submittedAt
string<date-time>

When order was submitted

updatedAt
string<date-time>

When order was last updated

instrument
string

Financial instrument type

quantity
string

Order quantity

orderRejectionReason
string

Reason for order rejection if applicable

type
string

Order type (market, limit, etc.)

tradeAction
string

Trade action (buy, sell)

stopPrice
string

Stop price for stop orders

limitPrice
string

Limit price for limit orders

I