# Polymarket — Query markets by information filters

Query Polymarket market information via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as closed, id, and retrieve structured data including market identifier, market question, market rules and description, condition identifier, and reported outcome-label representation for targeted discovery, and research lookup, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-query-markets-by-information-filters/b9481373-513a-42bf-bd1e-39dde6e14621/
API ID: b9481373-513a-42bf-bd1e-39dde6e14621
Provider: Polymarket
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/markets/information
Page update time: 2026-12-03T02:49:26.281Z
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
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:25.978Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Market Information Query API

POST one JSON object using native camelCase keys such as conditionIds, clobTokenIds, tagId and includeTags. id is an array of integers, while token and condition identifier arrays contain strings. The response is a root array; this body schema has no limit, offset or after\_cursor field.

## What You Can Build

- **Targeted discovery**: Filter markets by identity and supported metadata.
- **Research lookup**: Keep distinct market, condition, token and position identifiers.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `[].id` | Market identifier |
| `[].question` | Market question |
| `[].description` | Market rules and description |
| `[].conditionId` | Condition identifier |
| `[].outcomes` | Reported outcome-label representation |
| `[].resolutionSource` | Resolution-source reference |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Query markets by information filters 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": "Query markets by information filters — complete native JSON request body.",
      "examples": [
        {
          "closed": false,
          "id": [
            682705
          ]
        }
      ],
      "properties": {
        "clobTokenIds": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "closed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "conditionIds": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "cyom": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "endDateMax": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "endDateMin": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "gameId": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "includeTags": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "liquidityNumMax": {
          "type": [
            "number",
            "null"
          ]
        },
        "liquidityNumMin": {
          "type": [
            "number",
            "null"
          ]
        },
        "questionIds": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "relatedTags": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "rewardsMinSize": {
          "type": [
            "number",
            "null"
          ]
        },
        "slug": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "sportsMarketTypes": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "startDateMax": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "startDateMin": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "tagId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "umaResolutionStatus": {
          "type": [
            "string",
            "null"
          ]
        },
        "volumeNumMax": {
          "type": [
            "number",
            "null"
          ]
        },
        "volumeNumMin": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "conditionId": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "endDate": {
        "type": "string"
      },
      "icon": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "image": {
        "type": "string"
      },
      "liquidity": {
        "type": "string"
      },
      "outcomes": {
        "type": "string"
      },
      "question": {
        "type": "string"
      },
      "resolutionSource": {
        "type": "string"
      },
      "slug": {
        "type": "string"
      },
      "startDate": {
        "type": "string"
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/markets/information' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "closed": false,
  "id": [
    682705
  ]
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[
  {
    "conditionId": "0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37",
    "description": "Legislative elections are schedule to be held in Israel on October 27, 2026. \n\nThis market will resolve to the next individual who is officially appointed and sworn in as Prime Minister of Israel following the 2026 parliamentary election. If an election is called early, this market will immediately resolve to the individual who is officially appointed and sworn in after that election.\n\nTo count for resolution, the individual must be formally sworn in. Any interim or caretaker Prime Minister will not count toward the resolution of this market.\n\nIf no such Prime Minister is sworn in by December ",
    "endDate": "2026-10-28T03:59:00Z",
    "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/israel-benjamin-netanyahu-9221e795d7.jpg",
    "id": "682705",
    "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/israel-benjamin-netanyahu-9221e795d7.jpg",
    "liquidity": "641697.8211",
    "outcomes": "[\"Yes\", \"No\"]",
    "question": "Will Benjamin Netanyahu be the next Prime Minister of Israel?",
    "resolutionSource": "",
    "slug": "will-benjamin-netanyahu-be-the-next-prime-minister-of-israel",
    "startDate": "2025-11-15T00:27:02.243822Z"
  }
]
```

## 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
### Can I copy snake_case query keys into the body?
Use the declared camelCase body keys, such as conditionIds and tagId. The body is not the GET market list’s query map.

### Does id accept a single string?
It is an array of integers. conditionIds and clobTokenIds are separate arrays of strings.

### How do I read encoded outcome fields?
Inspect their returned types. The documented outcome labels are represented as a JSON-encoded string.

### Can I paginate this query with offset?
The selected body schema does not declare limit, offset or after_cursor. Use an appropriate market-list implementation for a paginated task.

### 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-query-markets-by-information-filters/b9481373-513a-42bf-bd1e-39dde6e14621/

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