Skip to main content
GET
Get a user's PnL series

授权

Authorization
string
header
必填

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

查询参数

user
string | null

Proxy wallet. The user_address spelling is accepted as an alias.

interval
string | null

Window: max, all, 1m, 1w, 1d, 12h, or 6h. Defaults to 1d.

fidelity
string | null

Output grid: 1d, 18h, 12h, 3h, or 1h. Defaults to 1h.

响应

Cumulative user-PnL series

{ "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
必填

Complete v2 user-PnL response data.