# Polymarket — Get midpoint prices (request body)

Get Polymarket Batch Midpoints data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, configure supported query parameters and filters, and retrieve structured data including <token id> for summary grids, and multi-outcome research, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/market/apis/polymarket/polymarket-get-midpoint-prices-request-body/?offering=3f006fdd-60ae-4c1b-b16a-6cd698d3bd93
API ID: 3f006fdd-60ae-4c1b-b16a-6cd698d3bd93
Provider: Polymarket
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/midpoints
Page update time: 2026-12-03T02:49:27.696Z
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: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:27.028Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get midpoint prices (request body) 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": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "description": "Get midpoint prices (request body) — complete native JSON request body.",
      "examples": [
        [
          {
            "token_id": "20006732765674855733524007935991362439352594042415161039767275461950712817548"
          }
        ]
      ],
      "items": {
        "properties": {
          "side": {
            "description": "Order side (optional, not used for midpoint calculation)",
            "enum": [
              "BUY",
              "SELL"
            ],
            "example": "BUY",
            "type": "string"
          },
          "token_id": {
            "description": "Token ID (asset ID)",
            "example": "0xabc123def456...",
            "type": "string"
          }
        },
        "required": [
          "token_id"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "20006732765674855733524007935991362439352594042415161039767275461950712817548": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/midpoints' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "token_id": "20006732765674855733524007935991362439352594042415161039767275461950712817548"
  }
]'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "20006732765674855733524007935991362439352594042415161039767275461950712817548": "0.455"
}
```

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

## Available implementations
- Polymarket: https://openany.si/market/apis/polymarket/polymarket-get-midpoint-prices-request-body/?offering=3f006fdd-60ae-4c1b-b16a-6cd698d3bd93

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