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

200
application/json

Account orders retrieved successfully

The response is of type object[].