Skip to content
UNHEDGED / DOCS

Search documentation

Browse docs or start typing to find a topic

↑ ↓ to navigate Enter to open Esc to close

Documentation

Back to app

Get Portfolio

GET https://api.unhedged.gg/api/v1/portfolio/me

Returns 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 request

Request

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_here
curl https://api.unhedged.gg/api/v1/portfolio/me \
  -H "Authorization: Bearer ak_your_key_here"
Response
{
  "portfolio": {
    "summary": {
      "pendingOrderBookPositions": 3,
      "pendingOrderBookCostBasis": "124.5000000000",
      ...
    },
    "positions": [...],
    "positionsTotal": 61,
    "recentPayouts": [...]
  }
}