Fetch Polymarket wallet trades and reconstructed P&L
Use the wallet trades and P&L endpoints together, then check the observed trade window before interpreting the estimate.
Query both wallet endpoints
Start with the OpenAPI spec and the documentation pages for /wallets/{id}/trades and /wallets/{id}/pnl. Use the wallet identifier in each documented path to request trades and reconstructed P&L as JSON. The service caches queried wallets and reconciles public trades against market resolutions to include resolved losses within the observed window. Use your API key according to the documentation, and budget requests against your plan's UTC daily allowance.
Limits
Keep the coverage information with any P&L value you put in a dashboard. Polymarket's public trades endpoint limits pagination to offset 10,000, and the API fetches up to 10,500 fills per wallet while reporting capped coverage. The calculation uses the newest continuous trade window, which can be short for active wallets. Missing opening inventory and unobserved activity mean this is not an audited lifetime or monthly balance, and past performance is not a recommendation.