GET
List your positions
/api/v1/positions · needs an API key
The shares you hold, with their prices.
Every outcome you hold shares of, most recently changed first, with the market's best bid, best offer and last price in that outcome's cents, so quantity × bid is what you could sell for now. Shares of resolved markets stay listed with what they paid (payout). quantity includes the shares your open sell orders hold (lockedQuantity).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| marketId | query | string | Only this market (its id or slug) |
Request
curl "https://www.vancouverpx.ca/api/v1/positions" \
-H "Authorization: Bearer $VPX_API_KEY"Response
200 with this object:
| Field | Type | Description |
|---|---|---|
| positions | Position[] |
Example
{
"positions": [
{
"walletId": "clx8w2k3p0001qz8r5t1y7u4v",
"marketId": "3f1c0f2e-6a55-4a8e-9b53-2a1f0c9d7e11",
"marketQuestion": "Will the BC NDP win the most seats in the 2026 BC election?",
"marketStatus": "OPEN",
"private": false,
"outcome": "YES",
"quantity": 25,
"lockedQuantity": 10,
"bid": 52,
"ask": 55,
"lastPrice": 54,
"payout": null,
"updatedAt": "2026-10-27T17:05:00.000Z"
}
]
}Errors
The errors every endpoint can answer.