Skip to main content
Use this recipe to investigate a wallet’s past results before adding it to a follow list. You will read its daily profit and loss (P&L), recorded large trades, and stored fills for one market. These records do not calculate what copying the wallet would have earned. Your entry price, timing, fees, and available liquidity would differ. You need a Pro API key and Python with requests installed. Run python -m pip install requests if needed. The snippets on this page share the variables defined in step 1.

1. Read the daily P&L

Trader P&L returns a daily series and summary statistics. A known wallet with no series returns 200 with an empty structured result. An identifier that does not resolve to a wallet returns 404.
The helper calls raise_for_status() before reading the body. Authentication and availability failures therefore stop the script instead of appearing as an empty result. For a smaller response, the endpoint also supports a UTC date window through from and to, and selected result sections through sections. See the endpoint reference for their format.

2. Read the recorded large trades

Large trades history returns stored large trades for the wallet, newest first. It does not contain every Polymarket fill.
The response is marked meta.completeness.status: "best_effort". A gap in these records means coverage may be missing; it does not prove the wallet stopped trading.

3. Inspect one market’s fills

Take market.condition_id from a trade you want to investigate. Pass it to Position timeline with the wallet address.
running_amount excludes splits, merges, redemptions, and neg-risk conversions. It is not a complete statement of the wallet’s holdings. running_avg_price can also differ from Polymarket’s current average price. Timelines are available only for wallets that 0xinsider tracks closely. A 404 with trader_not_tracked means no timeline is available; repeating the same request will not create one.

4. Compare the records

  1. Group the large trades by the UTC date in traded_at.
  2. Match each date to the daily P&L entry with the same date.
  3. For a large daily change, inspect the timeline for each market traded that day.
A P&L change without a matching large trade can be expected. P&L covers the wallet’s positions, while the trade history contains only the large trades 0xinsider recorded.

Limits

  • This recipe reviews historical results. It does not simulate your own copy-trading returns.
  • It does not list all closed positions. A timeline covers one wallet and market.
  • A timeline’s token_id can be null when the market’s token ID is unavailable.
  • For a downloadable dataset, read Trader export snapshot and Submit a trader export.
  • The API does not place orders.
Use Copy-trade signals to build a follow list from these records.