# Polymarket — Get sampling markets

Get Polymarket Sampling Markets data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, configure supported query parameters and filters, and retrieve structured data including market condition identifier, active flag, closed flag, order-acceptance flag, and market question to research collections, and market panels, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/polymarket/polymarket-get-sampling-markets/?offering=51a650cb-0fb9-493f-a2ca-70be3586af20
API ID: 51a650cb-0fb9-493f-a2ca-70be3586af20
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/sampling-markets
Page update time: 2026-12-03T02:49:27.873Z
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:27.547Z. 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 sampling markets 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": {
        "next_cursor": {
          "type": "string",
          "description": "next_cursor"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accepting_order_timestamp": {
            "type": "string"
          },
          "accepting_orders": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "closed": {
            "type": "boolean"
          },
          "condition_id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "enable_order_book": {
            "type": "boolean"
          },
          "minimum_order_size": {
            "type": "integer"
          },
          "minimum_tick_size": {
            "type": "number"
          },
          "question": {
            "type": "string"
          },
          "question_id": {
            "type": "string"
          }
        }
      }
    },
    "limit": {
      "type": "integer"
    },
    "next_cursor": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/sampling-markets' \
  -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
{
  "count": 1000,
  "data": [
    {
      "accepting_order_timestamp": "2025-07-03T20:36:33Z",
      "accepting_orders": true,
      "active": true,
      "archived": false,
      "closed": false,
      "condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
      "description": "This market will resolve to \"Yes\" if China's General Secretary of the Communist Party, Xi Jinping, is removed from power for any length of time between July 3, 2025, and December 31, 2026, 11:59 PM ET. Otherwise, this market will resolve to \"No\".\n\nCCP General Secretary Xi Jinping will be considered removed from power if he announces his resignation from his role as General Secretary, or is otherwise dismissed, detained, disqualified, or otherwise loses his position or is prevented from fulfilling his duties as General Secretary within this market's timeframe.\n\nThe primary resolution source for",
      "enable_order_book": true,
      "minimum_order_size": 5,
      "minimum_tick_size": 0.001,
      "question": "Xi Jinping out before 2027?",
      "question_id": "0x1d925c6933062c2e38031293612d8680ffa097c5d3ba2f87a8ecc565bd47183e"
    },
    {
      "accepting_order_timestamp": "2025-07-11T18:35:34Z",
      "accepting_orders": true,
      "active": true,
      "archived": false,
      "closed": false,
      "condition_id": "0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75",
      "description": "This market will resolve to “Yes” if the named individual wins and accepts the 2028 nomination of the Democratic Party for U.S. president. Otherwise, this market will resolve to “No”.\n\nThe resolution source for this market will be a consensus of official Democratic Party sources.\n\nAny replacement of the democratic nominee before election day will not change the resolution of the market.",
      "enable_order_book": true,
      "minimum_order_size": 5,
      "minimum_tick_size": 0.001,
      "question": "Will Gavin Newsom win the 2028 Democratic presidential nomination?",
      "question_id": "0x2c3d7e0eee6f058be3006baabf0d54a07da254ba47fe6e3e095e7990c7814700"
    },
    {
      "accepting_order_timestamp": "2025-07-11T18:35:36Z",
      "accepting_orders": true,
      "active": true,
      "archived": false,
      "closed": false,
      "condition_id": "0xe6bcc2f1dd025ce5e1833190f7c60a71171c94f805df55b9ab0ded695ec93565",
      "description": "This market will resolve to “Yes” if the named individual wins and accepts the 2028 nomination of the Democratic Party for U.S. president. Otherwise, this market will resolve to “No”.\n\nThe resolution source for this market will be a consensus of official Democratic Party sources.\n\nAny replacement of the democratic nominee before election day will not change the resolution of the market.",
      "enable_order_book": true,
      "minimum_order_size": 5,
      "minimum_tick_size": 0.001,
      "question": "Will Alexandria Ocasio-Cortez win the 2028 Democratic presidential nomination?",
      "question_id": "0x2c3d7e0eee6f058be3006baabf0d54a07da254ba47fe6e3e095e7990c7814701"
    }
  ],
  "limit": 1000,
  "next_cursor": "aWQ6MTMzNTEzOQ=="
}
```

## 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-sampling-markets/?offering=51a650cb-0fb9-493f-a2ca-70be3586af20

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