# Polymarket — Get open interest

Get Polymarket Open Interest data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as condition, and retrieve structured data including market condition identifier and reported open-interest value for exposure panels, and market context, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/market/apis/polymarket/polymarket-get-open-interest/?offering=f2a87a68-485d-493c-b02b-17cfdd6cbbca
API ID: f2a87a68-485d-493c-b02b-17cfdd6cbbca
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v2/oi
Page update time: 2026-12-03T02:49:29.442Z
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
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:28.880Z. 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 open interest 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": {
        "condition": {
          "type": "string",
          "description": "Condition id(s), comma-separated (at most 20 distinct values).\n`condition` is the unified key across v2 (same as the feeds);\n`condition_id` / `conditionId` are accepted aliases. Omit for global\nopen interest. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation."
        }
      },
      "required": [
        "condition"
      ]
    },
    "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": {
        "type": "object",
        "properties": {
          "condition_id": {
            "type": "string"
          },
          "value": {
            "type": "number"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v2/oi?condition=0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37' \
  -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": [
    {
      "condition_id": "0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37",
      "value": 7678457.361498
    }
  ]
}
```

## 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-open-interest/?offering=f2a87a68-485d-493c-b02b-17cfdd6cbbca

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