Skip to main content
GET
Get public profile realized PnL
Returns a projected realized PnL timeline for any public profile, grouped by market category with a per-point hover breakdown. The service computes values best-effort from the canonical five-minute PnL buckets available at request time.
  • timeframe — echoes the requested window (1d, 1w, or 1m). Defaults to 1w.
  • windowStart — start of the effective timeline, anchored on the current closed UTC five-minute boundary.
  • current — realized PnL over the effective window.
  • categories — per-category realized PnL sorted descending. Markets attributed through navigation pages fall under their category slug. Anything unattributed collapses into the synthetic other bucket, which has no slug, path, or icon.
  • data — cumulative realized PnL timeline. Each point carries a breakdown with the top 3 named categories at that timestamp plus the synthetic Other residual.
The legacy GET /portfolio/{account}/pnl-chart endpoint remains as the deprecated contract for existing consumers. Use this endpoint for new integrations.

Path Parameters

account
string
required

User Ethereum address

Example:

"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"

Query Parameters

timeframe
enum<string>
default:1w

Best-effort realised PnL timeline window from available closed five-minute buckets.

Available options:
1d,
1m,
1w

Response

Realized PnL timeline

timeframe
enum<string>
required

Requested timeframe

Available options:
1d,
1m,
1w
Example:

"1w"

windowStart
string
required

Requested timeline start derived from the current closed UTC five-minute boundary

Example:

"2026-08-05T21:50:00.000Z"

current
object
required

Current realised PnL over the selected effective timeline

categories
object[]
required

Period categories sorted by realised PnL descending

data
object[]
required

Cumulative realised PnL timeline