Skip to main content
GET
Get portfolio value

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

user
string | null

The wallet whose portfolio value to return. Required.

condition
string | null

Comma-separated condition_ids (at most 20 distinct values); omit for the full portfolio.

响应

Portfolio value for the user

{ "data": T }; the envelope for endpoints that don't paginate.

There is no pagination key: an aggregate or bounded list has no next page. Paginated feeds return a *Page shape ({ data, pagination }) instead.

data
object
必填

/v2/value: the user's portfolio value; single-market holdings marked to market plus unresolved combo positions at cost basis, rounded to 4 decimals. Always exactly one row; a user with no positions returns { proxy_wallet, value: 0 }.