# Polymarket — Get Index

Get Polymarket Perps Index Price data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as asset, and retrieve structured data including asset identifier, index observation timestamp, and constituents for reference panels, and price comparisons, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-get-index/c3a4bbb6-3030-4c08-80ab-9acde35d9b7c/
API ID: c3a4bbb6-3030-4c08-80ab-9acde35d9b7c
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/index
Page update time: 2026-12-03T02:49:31.129Z
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.659Z. 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 Index Price API

Provide asset as a required query string. The response associates asset with index\_price, ts and constituents. index\_price is a decimal string, and constituents can be empty; preserve the timestamp and asset identity alongside the reference price.

## What You Can Build

- **Reference panels**: Show the asset index with observation time.
- **Price comparisons**: Keep index data distinct from separately obtained mark or trade prices.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `asset` | Asset identifier |
| `index_price` | Index price as a decimal string |
| `ts` | Index observation timestamp |
| `constituents` | Index constituent records; the array can be empty |

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

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "asset": {
      "type": "string"
    },
    "constituents": {
      "type": "array",
      "items": {}
    },
    "index_price": {
      "type": "string"
    },
    "ts": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v1/info/index?asset=BTC' \
  -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
{
  "asset": "BTC",
  "constituents": [],
  "index_price": "80306",
  "ts": 1793282452183
}
```

## 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 belongs in asset?
Supply the asset name for the requested index, rather than an integer instrument ID or a prediction-market token ID.

### Is index_price an executable quote?
No. It is an index reference value. Mark prices, order-book quotes and matched trades have different meanings.

### How should I parse the price?
Keep the decimal string or use exact decimal arithmetic when comparing values. Retain ts with each observation.

### What if constituents is empty?
Show the index price and its context without constructing missing component records or weights.

### 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-index/c3a4bbb6-3030-4c08-80ab-9acde35d9b7c/

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