Get Portfolio
GET
https://api.unhedged.gg /api/v1/portfolio/meReturns summary statistics, a preview of up to 50 active/ended positions, and the 10 most recent payouts. The example shows selected order-book summary fields. positionsTotal is the complete active/ended row count represented by /portfolio/me/positions; use that paginated endpoint for positions beyond the preview.
Configure requestRequest
Security · Bearer token
Send your API key in the Authorization header. Required scope portfolio:read.
Rate limit · 1,000,000 req/min
Authorization
Bearer token
Authorization: Bearer ak_your_key_herecurl https://api.unhedged.gg/api/v1/portfolio/me \
-H "Authorization: Bearer ak_your_key_here" {
"portfolio": {
"summary": {
"pendingOrderBookPositions": 3,
"pendingOrderBookCostBasis": "124.5000000000",
...
},
"positions": [...],
"positionsTotal": 61,
"recentPayouts": [...]
}
}