# Polymarket — Query abridged markets by information filters

Query Polymarket abridged markets 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, condition identifier, clob token ids, and reported position identifier strings for targeted discovery, and research lookup, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-query-abridged-markets-by-information-filters/c8a0645f-d711-49f2-99fe-36c69bb2d0c3/
API ID: c8a0645f-d711-49f2-99fe-36c69bb2d0c3
Provider: Polymarket
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/markets/abridged
Page update time: 2026-12-03T02:49:26.271Z
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.950Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Abridged Market 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 |
| `[].conditionId` | Condition identifier |
| `[].clobTokenIds` | Reported CLOB token-identifier representation |
| `[].positionIds[]` | Reported position identifier strings |
| `[].outcomes` | Reported outcome-label representation |
| `[].outcomePrices` | Reported outcome-price representation |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Query abridged 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 abridged 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": {
      "active": {
        "type": "boolean"
      },
      "clobTokenIds": {
        "type": "string"
      },
      "closed": {
        "type": "boolean"
      },
      "comboStatus": {
        "type": "string"
      },
      "conditionId": {
        "type": "string"
      },
      "endDate": {
        "type": "string"
      },
      "events": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            }
          }
        }
      },
      "feeType": {
        "type": "null"
      },
      "id": {
        "type": "string"
      },
      "marketMakerAddress": {
        "type": "string"
      },
      "negRisk": {
        "type": "boolean"
      },
      "orderMinSize": {
        "type": "integer"
      },
      "orderPriceMinTickSize": {
        "type": "number"
      },
      "outcomePrices": {
        "type": "string"
      },
      "outcomes": {
        "type": "string"
      },
      "positionIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "question": {
        "type": "string"
      },
      "questionID": {
        "type": "string"
      },
      "rewardsMaxSpread": {
        "type": "number"
      },
      "rewardsMinSize": {
        "type": "integer"
      },
      "slug": {
        "type": "string"
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/markets/abridged' \
  -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
[
  {
    "active": true,
    "clobTokenIds": "[\"20006732765674855733524007935991362439352594042415161039767275461950712817548\", \"54533569528927082430133047556849600511985191158927477533124630301934489498530\"]",
    "closed": false,
    "comboStatus": "enabled",
    "conditionId": "0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37",
    "endDate": "2026-10-28T03:59:00Z",
    "events": [
      {
        "id": "81557",
        "slug": "who-will-be-the-next-prime-minister-of-israel-after-the-next-election"
      }
    ],
    "feeType": null,
    "id": "682705",
    "marketMakerAddress": "",
    "negRisk": true,
    "orderMinSize": 5,
    "orderPriceMinTickSize": 0.01,
    "outcomePrices": "[\"0.455\", \"0.545\"]",
    "outcomes": "[\"Yes\", \"No\"]",
    "positionIds": [
      "1042536414537093394846939033578498437554134493884299894598241425274773176320",
      "1042536414537093394846939033578498437554134493884299894598241425274773176321"
    ],
    "question": "Will Benjamin Netanyahu be the next Prime Minister of Israel?",
    "questionID": "0x03c9c6d9f7b20aaa1f33f99bd24bd16e4e0e00cfa892dde097b800655490b200",
    "rewardsMaxSpread": 3.5,
    "rewardsMinSize": 200,
    "slug": "will-benjamin-netanyahu-be-the-next-prime-minister-of-israel"
  }
]
```

## 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, prices and CLOB token IDs are JSON-encoded strings, while positionIds is an array.

### 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-abridged-markets-by-information-filters/c8a0645f-d711-49f2-99fe-36c69bb2d0c3/

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