GET

/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.

Price

$0.0010 / request

Method

GET

Settlement

USDC on Solana

Parameters

ParameterTypeRequiredDescription
limitintegerNoResults limit (default: 10, max: 200)
offsetintegerNoRow-skip offset (max: 3500). Takes precedence over pagination_key when both are set.
sort_bystringNoSort: realized_pnl_usd, buy_usd, total_buys, total_fees, outcomes_traded, realized_pnl_pct (default: realized_pnl_usd)
timeframestringNoTimeframe: 1d, 7d, 30d, lifetime (default: lifetime)
event_slugstringNoFilter by event slug
market_slugstringNoFilter by market slug (alternative to condition_id)
condition_idstringNoFilter by condition ID (or use market_slug)
pagination_keystringNoOpaque cursor from a previous response. Pass verbatim for the next page.
sort_directionstringNoSort direction: asc, desc (default: desc)

Call /polymarket/trader/pnl/{address}/markets with an AI agent

Proxygate CLI
# Call this endpoint with the Proxygate CLI
proxygate proxy polymarket-api-by-struct /polymarket/trader/pnl/{address}/markets -X GET
MCP / agent
// 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.