Get closed (realized) trading positions for an account

Get a paginated, per-trade breakdown of a wallet's realized P&L. Each closed position reflects FIFO (first-in, first-out) cost-basis lot matching.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The wallet address

Query Params
string

Sort order: TOP_TRADES (default) or RECENT

int32
Defaults to 20

Number of results to return per page (1-200, default 20)

string

Cursor for the next page of results

Responses

400

For error reasons, review the response data.

500

Internal server error. Please open a support ticket so OpenSea can investigate.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*