OpenAny
Get API keyAPI Key
APICrypto & DeFi

polymarket logo
Polymarket Sampling Markets API

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.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Polymarket Sampling Markets API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Polymarket Sampling Markets API

Polymarket Sampling Markets API

Use next_cursor to continue the sampling collection. The response has data, count, limit and next_cursor. Market rows include questions and descriptions with independent active, closed, archived and accepting_orders flags.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: next_cursor
Selected implementation polymarket · Polymarket — Get sampling markets
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Research collections: Collect market records with stable condition identities.
  • Market panels: Display returned status and market descriptions.

Documented Response Fields

Field Meaning
data[].condition_id Market condition identifier
data[].active Active flag
data[].closed Closed flag
data[].accepting_orders Order-acceptance flag
data[].question Market question
data[].description Market description
data[].minimum_tick_size Minimum price increment
next_cursor Continuation cursor

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  "https://api.openany.si/v1/agent-apis/polymarket/sampling-markets" \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H 'Content-Type: application/json'

Request and Response Examples

The saved response is a published documentation example with abbreviated source content. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.

Published Polymarket Sampling Markets API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
next_cursor

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
PolymarketCurrent
Polymarket — Get sampling markets · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · PolymarketUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/polymarket/sampling-markets
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
next_cursorURL query parametersquerystringNo

next_cursor

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • countinteger
  • dataobject[]
    • accepting_order_timestampstring
    • accepting_ordersboolean
    • activeboolean
    • archivedboolean
    • closedboolean
    • condition_idstring
    • descriptionstring
    • enable_order_bookboolean
    • minimum_order_sizeinteger
    • minimum_tick_sizenumber
    • questionstring
    • question_idstring
  • limitinteger
  • next_cursorstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example (source abbreviated)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    next_cursor
    next_cursor
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/polymarket/sampling-markets' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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=="
    }

Common questions

How do I paginate?

The current input is next_cursor. Start without it and pass the returned cursor unchanged to read another page.

Can I set a page size or text filter?

This implementation exposes next_cursor only. Returned count and limit are response context, not additional request controls.

Does active mean the market accepts orders?

Read active, closed, archived and accepting_orders separately. These flags describe different aspects of the market state.

Is this a complete market catalog?

Treat it as the sampling collection exposed by this route. Use a dedicated general market listing when you need that scope.

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.

Use Polymarket Sampling Markets API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.