# Polymarket — List positions for a user or market

Get Polymarket Wallet Positions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as limit, user, and retrieve structured data including data, opaque continuation cursor, and response page-size context for inventory panels, and stable collection, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-list-positions-for-a-user-or-market/f9dbf8c6-dce6-4b72-8275-d4f674a1628b/
API ID: f9dbf8c6-dce6-4b72-8275-d4f674a1628b
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v2/positions
Page update time: 2026-12-03T02:49:29.566Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:29.179Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Wallet Positions API

This implementation requires user explicitly. condition and event\_id optionally narrow that wallet's positions. data can be empty; pagination provides continuation. CASH thresholds use current value and TOKENS thresholds use shares, while status and sort rules determine the served cohort.

## What You Can Build

- **Inventory panels**: Separate held, redeemable and exited wallet views.
- **Stable collection**: Keep filters consistent while walking a paginated cohort.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data` | Wallet position rows; the array can be empty |
| `pagination.has_more` | Whether another page is available |
| `pagination.next_cursor` | Opaque continuation cursor |
| `pagination.limit` | Response page-size context |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — List positions for a user or market request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "user": {
          "type": "string",
          "description": "The wallet to anchor on. At least one of `user`/`condition` is required. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation."
        },
        "condition": {
          "type": [
            "string",
            "null"
          ],
          "description": "Condition id(s), comma-separated (at most 20 distinct values). With\n`user`, narrows that user's positions (all ids honoured). Without\n`user`, anchors on the market's holders; exactly one id is accepted\nthere, and a multi-id list is rejected rather than silently truncated."
        },
        "limit": {
          "type": [
            "integer",
            "null"
          ],
          "description": "First-page size. Ignored when `cursor` is supplied (the cursor's size wins).",
          "minimum": 0,
          "maximum": 1000
        },
        "cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque pagination cursor from a prior response's `next_cursor`. It\ncarries the page position, page size, and the status/sort/direction it\nwas minted under."
        },
        "status": {
          "type": [
            "string",
            "null"
          ],
          "description": "One of `OPEN`, `REDEEMABLE`, `REDEEMABLE_LOST`, `MERGEABLE`, or `CLOSED`;\ndefaults to `OPEN`. `REDEEMABLE_LOST` requires `user`, supports all six\nsorts, and defaults to `CURRENT_VALUE`; it preserves row status\n`REDEEMABLE`. `MERGEABLE` is `OPEN` narrowed to live complementary pairs\n(conditions where the wallet holds >= 2 servable-live tokens) and defaults\nto `TOKENS`; it is user-scoped, so a market-anchored request renders as\n`OPEN`.\n\n`OPEN` is the superset; it includes settled-but-unredeemed winners,\nwhich `REDEEMABLE` narrows to. `CLOSED` is exited positions."
        },
        "event_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Event id(s), comma-separated (at most 20 distinct values).\nUser-anchored only."
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "Case-insensitive market-title substring filter, honoured on every\nanchor and status. SQL LIKE wildcards (`%`, `_`) keep their usual\nmeaning; empty or whitespace-only is treated as absent; at most 200\ncharacters. NOT carried by the cursor: re-send it on every page of a\nwalk (like `condition` and the `start`/`end` window), or the cohort\nsilently widens."
        },
        "filter_type": {
          "type": [
            "string",
            "null"
          ],
          "description": "`CASH` or `TOKENS`; defaults to `TOKENS` (the /v2/trades-homogenized\nfilter pair, replacing the former `size_threshold`)."
        },
        "filter_amount": {
          "type": [
            "number",
            "null"
          ],
          "description": "The filter floor. `TOKENS`: minimum CURRENT holding in shares\n(defaults to the 0.1 dust floor; applies to `OPEN`/`REDEEMABLE`; a\nuser's `CLOSED` set is not narrowed by it, and on a market anchor it\nmoves the OPEN/CLOSED boundary). `CASH`: minimum mark-to-market\n`current_value` in USDC, on top of the token dust floor. Invalid\nvalues fall back to the default."
        },
        "include_archived": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Also include positions on archived markets; defaults to `false`.\n`OPEN`/`REDEEMABLE`/`REDEEMABLE_LOST`/`MERGEABLE` only; combining it with\n`status=CLOSED` is rejected. Inactive markets remain excluded either way."
        },
        "sort_by": {
          "type": [
            "string",
            "null"
          ],
          "description": "One of `CURRENT_VALUE`, `PRICE`, `TOKENS`, `UNREALIZED_PNL`,\n`REALIZED_PNL`, `TOTAL_PNL`, or `TIMESTAMP` (the row's `last_event_at`).\n`PRICE` ranks by the response's effective `current_price` on every\nsupported anchor and status. On `REDEEMABLE`, the existing winners-first\npartition remains ahead of the requested price order. The default\nfollows the status: `CURRENT_VALUE` for `OPEN`/`REDEEMABLE`,\n`REALIZED_PNL` for `CLOSED`. On a user's `CLOSED` positions, `TOKENS`,\n`CURRENT_VALUE`, `PRICE` and `UNREALIZED_PNL` describe a holding that no\nlonger exists, so those pages are served in `REALIZED_PNL` order."
        },
        "start": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Inclusive lower bound on `last_event_at`, epoch seconds; omit or `0` for\nunbounded (the `/v2/activity` + `/v2/trades` vocabulary)."
        },
        "end": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Inclusive upper bound on `last_event_at`, epoch seconds; omit or `0` for\nunbounded.\n\nA position with no native economics carries no `last_event_at` and is\ntherefore **excluded by any bound**, in either direction; a window asks\nwhich positions moved inside it, and a row with no clock has no answer.\nUnbounded requests still serve those rows."
        },
        "sort_direction": {
          "type": [
            "string",
            "null"
          ],
          "description": "`ASC` or `DESC`; defaults to `DESC`."
        }
      },
      "required": [
        "user"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {}
    },
    "pagination": {
      "type": "object",
      "properties": {
        "has_more": {
          "type": "boolean"
        },
        "limit": {
          "type": "integer"
        },
        "next_cursor": {
          "type": "null"
        },
        "offset": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v2/positions?limit=2&user=0x17eC161f126e82A8ba337f4022d574DBEaFef575' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "data": [],
  "pagination": {
    "has_more": false,
    "limit": 2,
    "next_cursor": null,
    "offset": 0
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I query only a market without user?
Not through this implementation: user is required. condition can narrow that wallet to up to 20 distinct condition IDs; do not rely on the broader source's user-free anchor mode.

### Which position statuses are available?
OPEN is the default and includes settled but unredeemed winners. REDEEMABLE narrows that set. REDEEMABLE_LOST, MERGEABLE and CLOSED have their own scopes and sorting rules; CLOSED represents exited positions.

### Can include_archived be used with every status?
No. It is supported with OPEN, REDEEMABLE, REDEEMABLE_LOST or MERGEABLE. Combining it with CLOSED is rejected; inactive markets remain excluded.

### What should stay consistent during pagination?
Keep user and the selected cohort. Re-send title, condition and start/end filters on each page because they are not all carried by the cursor. Time bounds are inclusive epoch seconds, with zero meaning unbounded; bounded requests exclude rows without last_event_at. On a user's CLOSED set, holding-oriented sorts are served in REALIZED_PNL order.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- Polymarket: https://openany.si/polymarket/polymarket-list-positions-for-a-user-or-market/f9dbf8c6-dce6-4b72-8275-d4f674a1628b/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
