---
title: "Get closed (realized) trading positions for an account"
method: GET
path: "/api/v2/account/{address}/pnl/closed-positions"
tags: ["Account Endpoints"]
---

# Get closed (realized) trading positions for an account

`GET /api/v2/account/{address}/pnl/closed-positions`

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.

## Path parameters

- `address` string, required

## Query parameters

- `sort_by` string
- `limit` integer
- `next` string

## Response `200`

Closed positions

## Other responses

- `400` — For error reasons, review the response data.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal server error. Please open a support ticket so OpenSea can investigate.

---

[API](https://skmtc.net/opensea/apis/opensea-api.md) · [All operations](https://skmtc.net/opensea/apis/opensea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opensea/opensea-api/revisions/acee8835f2ae/schema)
