v1

latestOpenAPI 3.1.0UNLICENSED2026-07-26216788.0 KB
Positions

GetAllPositions

Returns a paginated, platform-wide list of positions across every wallet and every market. Includes closed positions too.

post/position_service.v1.PositionService/GetAllPositions

Headers

Connect-Protocol-Version1 required

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

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

limitinteger

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.

offsetinteger

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

Response

Success

Example response

{
  "positions": [
    {
      "timestamp": "2023-01-15T01:30:15.01Z",
      "associatedOrders": [
        {
          "timestamp": "2023-01-15T01:30:15.01Z"
        }
      ]
    }
  ]
}