/polymarket/trader/pnl/{address}/markets
GET /polymarket/trader/pnl/{address}/markets is an endpoint of the Polymarket API by Struct API, listed on Proxygate by Struct. Get trader market PnL AI agents call it per request through a transparent proxy and pay $0.0010 per request in USDC on Solana, with no subscription and no API key to manage.
$0.0010 / request
GET
USDC on Solana
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Results limit (default: 10, max: 200) |
| offset | integer | No | Row-skip offset (max: 3500). Takes precedence over pagination_key when both are set. |
| sort_by | string | No | Sort: realized_pnl_usd, buy_usd, total_buys, total_fees, outcomes_traded, realized_pnl_pct (default: realized_pnl_usd) |
| timeframe | string | No | Timeframe: 1d, 7d, 30d, lifetime (default: lifetime) |
| event_slug | string | No | Filter by event slug |
| market_slug | string | No | Filter by market slug (alternative to condition_id) |
| condition_id | string | No | Filter by condition ID (or use market_slug) |
| pagination_key | string | No | Opaque cursor from a previous response. Pass verbatim for the next page. |
| sort_direction | string | No | Sort direction: asc, desc (default: desc) |
Call /polymarket/trader/pnl/{address}/markets with an AI agent
# Call this endpoint with the Proxygate CLI
proxygate proxy polymarket-api-by-struct /polymarket/trader/pnl/{address}/markets -X GET// Call it from an AI agent over the Proxygate MCP server
call_api({
listing_id: "7742c7e4-1afe-483b-bdd6-e78dfc527a0e",
method: "GET",
path: "/polymarket/trader/pnl/{address}/markets"
})Polymarket API by Struct /polymarket/trader/pnl/{address}/markets: frequently asked questions
Get trader market PnL
It costs $0.0010 per request, settled in USDC on Solana. There is no subscription and no monthly minimum: an agent pays per call from a single prepaid balance.
The agent calls GET /polymarket/trader/pnl/{address}/markets through the Proxygate gateway with the Proxygate CLI, SDK, or MCP server. Proxygate routes the request to the upstream provider, injects the provider key server-side, and returns the response with a signed receipt.
No. The upstream provider key never leaves the Proxygate gateway. Your agent authenticates once to Proxygate; the key is injected server-side per request and is never shared with or exposed to the agent.