Wallet PnL summary (Polymarket, FIFO)
Authorizations
Solana Tracker Data API key
Path Parameters
Ethereum wallet address
Query Parameters
Rolling window in days such as 7, 30, or 90 (omit for all-time)
x >= 0Bypass Redis; ClickHouse serving path remains exact and bounded
Response
PnL summary with positions
Wallet-level PnL summary across all positions.
x >= 0The wallet address.
Cost basis method (fifo).
Exchange (Polymarket on-chain; Kalshi has no public wallet addresses).
polymarket, kalshi x >= 0Number of distinct markets traded.
x >= 0Number of positions currently open (net_tokens > 0).
x >= 0Individual position details.
Sum of realized PnL across all closed/partially-closed positions.
x >= 0x >= 0Total USDC spent across all positions.
Net PnL (realized + unrealized).
Total USDC received from sells.
Sum of unrealized PnL for open positions (where current price is known).