Skip to main content
GET
/
api
/
v1
/
trader
/
{address}
/
pnl
cURL
curl -sS \
  -H 'Authorization: Bearer $OXI_SK' \
  'https://api.0xinsider.com/api/v1/trader/0xabc123/pnl'
{
  "object": "trader_pnl",
  "data": {
    "id": "trd_0xabc123",
    "entries": [
      {
        "date": "2026-05-12",
        "markets_traded": 3,
        "total_volume": 10000,
        "cumulative_profit": 50000,
        "total_pnl": 50000,
        "daily_change": 250
      }
    ],
    "stats": {
      "all": {
        "current": 50000,
        "change": 50000,
        "change_pct": 0,
        "best_day": 5000,
        "worst_day": -2000,
        "win_days": 30,
        "loss_days": 10,
        "avg_day": 250,
        "rebase_anchor": 0
      },
      "d90": {
        "current": 12000,
        "change": 12000,
        "change_pct": 31.5,
        "best_day": 5000,
        "worst_day": -2000,
        "win_days": 18,
        "loss_days": 6,
        "avg_day": 500,
        "rebase_anchor": 38000
      },
      "d30": {
        "current": 4000,
        "change": 4000,
        "change_pct": 8.7,
        "best_day": 2500,
        "worst_day": -800,
        "win_days": 9,
        "loss_days": 3,
        "avg_day": 333,
        "rebase_anchor": 46000
      },
      "d7": {
        "current": 900,
        "change": 900,
        "change_pct": 1.8,
        "best_day": 600,
        "worst_day": -150,
        "win_days": 4,
        "loss_days": 1,
        "avg_day": 180,
        "rebase_anchor": 49100
      }
    },
    "monthly": [
      {
        "year": 2026,
        "month": 5,
        "pnl": 12000,
        "markets_traded": 18
      }
    ],
    "year_totals": [
      {
        "year": 2026,
        "pnl": 50000
      }
    ],
    "drawdown": [
      {
        "date": "2026-05-12",
        "cumulative_profit": 50000,
        "drawdown": -1500
      }
    ]
  },
  "meta": {
    "request_id": "req_example",
    "cached": false
  }
}
A trader’s daily P&L time series plus pre-derived stats, read from the precomputed daily_pnl read model rather than a per-request equity replay. The response carries daily cumulative P&L entries, period stats (all-time, 90d, 30d, 7d), monthly aggregation, per-year totals, and the drawdown series. {address} accepts a 0x... wallet address, a username, or a trd_-prefixed trader id.
curl -H "Authorization: Bearer $OXINSIDER_API_KEY" \
  "https://api.0xinsider.com/api/v1/trader/0x863134d00841b2e200492805a01e1e2f5defaa53/pnl"
A resolved trader with no daily P&L returns an empty structured object with 200; an unknown address returns 404. The series spans both providers wherever the read model has it.

Authorizations

Authorization
string
header
required

API key: Authorization: Bearer oxi_sk_live_... for live data (requires an active Insider subscription), or oxi_sk_test_... for sandbox/test mode (free account, deterministic fixture data, no live rows). Both key classes use the same paths; the prefix selects live vs sandbox.

Path Parameters

address
string
required

Wallet address (0x...), username, or trd_-prefixed trader id.

Response

Trader P&L object

object
string
required
Allowed value: "trader_pnl"
data
object
required
meta
object
required