# Polymarket — Get market prices (request body)

Get Polymarket Batch Side Prices 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 structured JSON records, identifiers, and response metadata for quote matrices, and multi-outcome comparisons, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/polymarket/polymarket-get-market-prices-request-body/?offering=391bac47-eef9-4064-b25d-634c2517efe9
API ID: 391bac47-eef9-4064-b25d-634c2517efe9
Provider: Polymarket
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/prices
Page update time: 2026-12-03T02:49:27.672Z
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:26.969Z. 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 market 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 market prices (request body) — complete native JSON request body.",
      "examples": [
        [
          {
            "side": "BUY",
            "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": "object",
      "properties": {
        "BUY": {
          "type": "string"
        }
      }
    }
  }
}
```

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

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

## 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-market-prices-request-body/?offering=391bac47-eef9-4064-b25d-634c2517efe9

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