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
Polymarket Sampling Markets API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get sampling markets · GET · View API reference | $0 / call | 0 | —successP50— |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
next_cursor | URL query parametersquery | string | No | next_cursor |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
countintegerdataobject[]accepting_order_timestampstringaccepting_ordersbooleanactivebooleanarchivedbooleanclosedbooleancondition_idstringdescriptionstringenable_order_bookbooleanminimum_order_sizeintegerminimum_tick_sizenumberquestionstringquestion_idstring
limitintegernext_cursorstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/sampling-markets' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'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==" }