# Polymarket — Get a user's PnL series

Get Polymarket Wallet PnL History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as interval, user, and retrieve structured data including proxy wallet identifier, returned time window, output time grid, source data fidelity, and points for wallet charts, and resolution context.

Documentation: https://openany.si/polymarket/polymarket-get-a-user-s-pnl-series/b32968f8-9fd0-482b-907c-85197df50056/
API ID: b32968f8-9fd0-482b-907c-85197df50056
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v2/user-pnl
Page update time: 2026-12-03T02:49:29.375Z
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:28.679Z. 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 PnL History API

Provide the proxy wallet in user. The response data object carries proxy\_wallet, interval, fidelity, source\_fidelity and points. points can be empty; the requested output grid does not establish the granularity of the underlying source data.

## What You Can Build

- **Wallet charts**: Display available profit-and-loss series with wallet identity.
- **Resolution context**: Show output and source fidelity alongside historical views.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data.proxy_wallet` | Proxy wallet identifier |
| `data.interval` | Returned time window |
| `data.fidelity` | Output time grid |
| `data.source_fidelity` | Source data fidelity |
| `data.points` | Profit-and-loss series points; the array can be empty |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get a user's PnL series 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": "Proxy wallet. The `user_address` spelling is accepted as an alias. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation."
        },
        "interval": {
          "type": [
            "string",
            "null"
          ],
          "description": "Window: `max`, `all`, `1m`, `1w`, `1d`, `12h`, or `6h`. Defaults to `1d`."
        },
        "fidelity": {
          "type": [
            "string",
            "null"
          ],
          "description": "Output grid: `1d`, `18h`, `12h`, `3h`, or `1h`. Defaults to `1h`."
        }
      },
      "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": "object",
      "properties": {
        "fidelity": {
          "type": "string"
        },
        "interval": {
          "type": "string"
        },
        "points": {
          "type": "array",
          "items": {}
        },
        "proxy_wallet": {
          "type": "string"
        },
        "source_fidelity": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v2/user-pnl?interval=1d&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": {
    "fidelity": "1h",
    "interval": "1d",
    "points": [],
    "proxy_wallet": "0x17ec161f126e82a8ba337f4022d574dbeafef575",
    "source_fidelity": "1d"
  }
}
```

## 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
### Which wallet goes in user?
Supply the proxy wallet address explicitly. This implementation requires a non-null user value.

### Which interval and fidelity values are documented?
interval accepts max, all, 1m, 1w, 1d, 12h or 6h. fidelity describes an output grid of 1d, 18h, 12h, 3h or 1h.

### Does an hourly output grid prove hourly source data?
No. Read source_fidelity separately from fidelity. The output grid and source resolution are distinct.

### What if points is empty?
Treat it as a series with no returned observations. Do not fabricate zero-valued points or infer a profit amount from the empty array.

### 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-get-a-user-s-pnl-series/b32968f8-9fd0-482b-907c-85197df50056/

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