GET
/
v1
/
accounts
/
{id}
/
positions
Get Account Positions
curl --request GET \
  --url https://api.tradearies.dev/v1/accounts/{id}/positions \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Key: <api-key>'
[
  {
    "symbol": "<string>",
    "quantity": "<string>",
    "pnlToday": "<string>",
    "averagePrice": "<string>",
    "buyingPowerUsed": "<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

Response

200
application/json

Account positions retrieved successfully

The response is of type object[].