GET
Get your account history
/api/v1/account/history · needs an API key
Your main wallet's value, day by day.
One snapshot a day of your main wallet: cash, open positions at their last traded price, and the total. It is what your profile's chart shows. For exact accounting, rebuild from GET /fills and GET /settlements.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| since | query | string (date-time) | From this day (ISO 8601, e.g. 2026-10-27T18:00:00Z) |
| until | query | string (date-time) | Up to this day (ISO 8601, e.g. 2026-10-27T18:00:00Z) |
Request
curl "https://www.vancouverpx.ca/api/v1/account/history" \
-H "Authorization: Bearer $VPX_API_KEY"Response
200 with this object:
| Field | Type | Description |
|---|---|---|
| snapshots | Snapshot[] | Oldest first |
Example
{
"snapshots": [
{
"date": "2026-10-25",
"cash": 1012000,
"holdingsValue": 8150,
"totalValue": 1020150
},
{
"date": "2026-10-26",
"cash": 1015400,
"holdingsValue": 9020,
"totalValue": 1024420
}
]
}Errors
The errors every endpoint can answer.