Skip to main content
Glama

Get closed positions

get_closed_positions
Read-onlyIdempotent

Alias of polymarket_get_closed_positions. Get closed public Polymarket positions and realized PnL with opaque cursor pagination for an explicit proxy wallet address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNoOpaque cursor returned in meta.nextCursor.
offsetNo
sortByNoREALIZEDPNL
eventIdsNo
conditionIdsNo
sortDirectionNoDESC
walletAddressYesPublic Polymarket proxy wallet address. Google sign-in does not supply a wallet address.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
pageYes
positionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conditionIds / items / pattern
      Previous value: -"^0x[0-9a-f]{64}$"New value: +"^0x(?:[0-9a-f]{62}|[0-9a-f]{64})$"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources