Migrate from Data API v1 to v2
Updated portfolio analytics, leaderboards, and dashboard data to Polymarket’s Data API v2, including the replacement for the retired PnL API.
- ImprovedMigrated portfolio positions, combo positions, activity, and taker-trade data to Data API v2 with validated responses and cursor-based pagination where supported.
- ImprovedMigrated trader rankings, profile search, and builder leaderboards and volume history to Data API v2. Leaderboard volumes now explicitly display shares rather than USDC.
- ImprovedUpdated dashboard open interest to the Data API v2 source.
- ImprovedMoved portfolio PnL charts, wallet comparisons, watchlist sparklines, and the PnL calendar to the new user-PnL endpoint using its trade_pnl series.
- FixCorrected all-time PnL baselines, preserved unavailable history as gaps, and displayed zero-change PnL periods as a flat line without negative-zero labels.
- NewAdded this changelog to keep product updates and improvements in one place.