Skip to main content
POST
GetAllPositions

Authorizations

Authorization
string
header
required

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

Headers

Connect-Protocol-Version
enum<number>
default:1
required

Define the version of the Connect protocol. If omitted, use 1.

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
limit
integer

Maximum number of positions to return in this page. Defaults to 50 when omitted or zero. Values above 1000 are capped to 1000 rather than rejected.

offset
integer

Number of matching positions to skip before collecting this page. Defaults to 0.

Response

200 - application/json

Success

positions
Position · object[]

Positions for this page, across every wallet and market (including closed positions), ordered by timestamp descending.

pagination
pagination · object

Effective limit/offset used for this query and the total number of matching positions across all pages.