# Polymarket — Get Statistics

Get Polymarket Perps 24h Statistics data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as instrument_id, and retrieve structured data including returned Perps instrument identifier, instrument symbol, reported opening price, reported period volume, and klines for market summaries, and compact charts, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-get-statistics/01714707-ed47-4d36-bad0-8e872e888396/
API ID: 01714707-ed47-4d36-bad0-8e872e888396
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/statistics
Page update time: 2026-12-03T02:49:32.600Z
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:31.863Z. 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 24h Statistics API

The optional instrument\_id input is an integer. The root response is an array whose records identify their own instrument\_id and symbol, with open\_price, volume and klines. Preserve returned identities rather than assigning every row to the requested selector.

## What You Can Build

- **Market summaries**: Display period opening price and volume by instrument.
- **Compact charts**: Keep source chart data attached to the returned instrument identity.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `[].instrument_id` | Returned Perps instrument identifier |
| `[].symbol` | Instrument symbol |
| `[].open_price` | Reported opening price |
| `[].volume` | Reported period volume |
| `[].klines` | Compact chart data for the returned instrument |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get Statistics 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": {
        "instrument_id": {
          "type": "integer",
          "description": "Instrument ID"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "instrument_id": {
        "type": "integer"
      },
      "klines": {
        "type": "array",
        "items": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          }
        }
      },
      "open_price": {
        "type": "string"
      },
      "symbol": {
        "type": "string"
      },
      "volume": {
        "type": "string"
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v1/info/statistics?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
[
  {
    "instrument_id": 1,
    "klines": [
      [
        1793196000000,
        "7728.4",
        "7732.3"
      ],
      [
        1793199600000,
        "7729",
        "7736.5"
      ],
      [
        1793203200000,
        "7735.9",
        "7744.7"
      ]
    ],
    "open_price": "7726.3",
    "symbol": "SP500-USD",
    "volume": "1853235.384356"
  },
  {
    "instrument_id": 2,
    "klines": [
      [
        1793196000000,
        "4051",
        "4053.2"
      ],
      [
        1793199600000,
        "4047",
        "4049.4"
      ],
      [
        1793203200000,
        "4044.6",
        "4050.8"
      ]
    ],
    "open_price": "4051.2",
    "symbol": "GOLD-USD",
    "volume": "1417187.971539"
  },
  {
    "instrument_id": 3,
    "klines": [
      [
        1793196000000,
        "101.86",
        "102.72"
      ],
      [
        1793199600000,
        "102.31",
        "103.38"
      ],
      [
        1793203200000,
        "103.31",
        "103.46"
      ]
    ],
    "open_price": "101.84",
    "symbol": "WTIOIL-USD",
    "volume": "3072546.895063"
  }
]
```

## 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
### What period does this operation describe?
The selected operation describes the last 24 hours of instrument statistics. It does not expose an arbitrary start/end window.

### Is instrument_id required?
It is optional and typed as an integer. Keep each returned record's instrument_id with its statistics.

### Is the response a data/more object?
No. This documented response is a root array. Parse its instrument records accordingly.

### Can I reuse full candle-field assumptions for klines?
Treat klines as the compact chart data supplied by this route. Use a dedicated candle endpoint when your parser needs its full interval contract.

### 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-statistics/01714707-ed47-4d36-bad0-8e872e888396/

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