Skip to main content
GET
/
api
/
v2
/
portfolio
/
positions
Get portfolio positions
curl --request GET \
  --url https://api.quantdesk.app/api/v2/portfolio/positions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "market": "SOL-PERP",
      "side": "long",
      "size": 12.5,
      "entry_price": 160.1,
      "current_price": 168.42,
      "unrealized_pnl": 104,
      "leverage": 5
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer JWT obtained from the wallet session flow. See the Authentication guide.

Response

Positions slice

success
boolean
Example:

true

data
object[]