# Polymarket — Get Current Position Fills

Get Polymarket Perps Position Fills data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as address, instrument_id, and retrieve structured data including data for position activity, and cycle collection, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/polymarket/polymarket-get-current-position-fills/6fb96133-9c30-43ff-9c24-b964814b923f/
API ID: 6fb96133-9c30-43ff-9c24-b964814b923f
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/position-fills
Page update time: 2026-12-03T02:49:31.071Z
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:30.528Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Perps Position Fills API

address and instrument\_id are required. instrument\_id is an integer from 0 to 4294967295. The result wraps fills in data and reports more. The lookup covers the current open position cycle for that instrument, not every historical cycle.

## What You Can Build

- **Position activity**: Display fills belonging to the current position cycle.
- **Cycle collection**: Retain account, instrument and sort context while continuing pages.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data` | Fills in the current open position cycle; the array can be empty |
| `more` | Whether the source reports further fills |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get Current Position Fills 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": {
        "address": {
          "type": "string",
          "description": "Address"
        },
        "instrument_id": {
          "type": "integer",
          "description": "Instrument ID",
          "minimum": 0,
          "maximum": 4294967295
        },
        "cursor": {
          "type": "string",
          "description": "Opaque keyset pagination cursor for the next page of fills. Present while `more` is true; pass it as `cursor` on the next request, keeping the other parameters the same across pages."
        },
        "sort": {
          "type": "string",
          "description": "Time sort direction. `desc` (default) returns newest fills first; `asc` returns oldest first.",
          "enum": [
            "desc",
            "asc"
          ]
        }
      },
      "required": [
        "address",
        "instrument_id"
      ]
    },
    "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": {}
    },
    "more": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v1/info/position-fills?address=0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4&instrument_id=0' \
  -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": [],
  "more": false
}
```

## 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 account and instrument should I supply?
Use a registered account address and the integer instrument_id. This route requires both.

### Does this return every historical trade for the account?
No. Its scope is the current open position cycle for one instrument. Keep that cycle scope visible in your application.

### Which sort values are allowed?
Use desc for newest first or asc for oldest first. desc is the default; preserve the exact lowercase enum.

### How do I continue while more is true?
Use the returned opaque cursor as cursor when present, keeping address, instrument_id and sort unchanged across pages.

### 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-current-position-fills/6fb96133-9c30-43ff-9c24-b964814b923f/

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