Skip to main content
A trader is a wallet address active on Polymarket, identified by its on-chain address. The Trader endpoints cover profiles, trade history, volume, and a deep PnL suite (summary, by market, by category, candles, calendar, exits, and risk), plus the global PnL leaderboard. Every PnL figure Struct returns is true net PnL: realized and unrealized combined, with trading fees, maker rebates, rewards, and yield all factored in. The leaderboard and a single wallet’s summary share the same accounting, so the numbers always agree.

Profiles and activity

PnL

Leaderboards

Struct ranks traders on true net PnL, not trade volume or realized gains alone. Each entry combines realized and unrealized PnL and accounts for trading fees, maker rebates, rewards, and yield, so the board reflects what a trader has actually earned. Every leaderboard row carries the full breakdown (realized, unrealized, fees, maker rebates, rewards, and yield) alongside win rate, profit factor, average win and loss, and best and worst trades. It is the same shape returned by the per-trader PnL summary, so a wallet’s standing on the board and its own profile always agree.

Analytics

Example

import { StructClient } from "@structbuild/sdk";

const client = new StructClient({ apiKey: "YOUR_API_KEY" });

const address = "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045";

const { data: profile } = await client.trader.getTraderProfile({ address });

const { data: pnl } = await client.trader.getTraderPnl({ address });

const { data: leaderboard } = await client.trader.getGlobalPnl({ limit: 100 });
Last modified on June 16, 2026