Polymarket — Get sampling simplified markets
Retrieve sampling simplified markets with the Polymarket API. The sample response includes tokens and prices. Request fields include next-page cursor (next_cursor). Use it for on-chain or crypto market research. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Polymarket — Get sampling simplified markets
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
countintegerdataobject[]accepting_ordersbooleanactivebooleanarchivedbooleanclosedbooleancondition_idstringrewardsobjectmax_spreadnumbermin_sizeintegerratesobject[]asset_addressstringrewards_daily_rateinteger
tokensobject[]outcomestringpricenumbertoken_idstringwinnerboolean
versionstring
limitintegernext_cursorstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
count?: number;
data?: Array<{
accepting_orders?: boolean;
active?: boolean;
archived?: boolean;
closed?: boolean;
condition_id?: string;
rewards?: {
max_spread?: number;
min_size?: number;
rates?: Array<{
asset_address?: string;
rewards_daily_rate?: number;
}>;
};
tokens?: Array<{
outcome?: string;
price?: number;
token_id?: string;
winner?: boolean;
}>;
version?: string;
}>;
limit?: number;
next_cursor?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get sampling simplified markets · GET · View API reference | $0 / call | — | —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: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/sampling-simplified-markets- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/sampling-simplified-markets' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'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.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"count": 1000,
"data": [
{
"accepting_orders": true,
"active": true,
"archived": false,
"closed": false,
"condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
"rewards": {
"max_spread": 3.5,
"min_size": 200,
"rates": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"rewards_daily_rate": 5
}
]
},
"tokens": [
{
"outcome": "Yes",
"price": 0.0315,
"token_id": "32338220190071351435772801779725302244575775216413325951443816017994629993401",
"winner": false
},
{
"outcome": "No",
"price": 0.9685,
"token_id": "25659310674993675562345759665114759892400026242514633218387667107987341231962",
"winner": false
}
],
"version": "v1"
},
{
"accepting_orders": true,
"active": true,
"archived": false,
"closed": false,
"condition_id": "0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75",
"rewards": {
"max_spread": 5.5,
"min_size": 50,
"rates": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"rewards_daily_rate": 35
}
]
},
"tokens": [
{
"outcome": "Yes",
"price": 0.1635,
"token_id": "54533043819946592547517511176940999955633860128497669742211153063842200957669",
"winner": false
},
{
"outcome": "No",
"price": 0.8365,
"token_id": "87854174148074652060467921081181402357467303721471806610111179101805869578687",
"winner": false
}
],
"version": "v1"
},
{
"accepting_orders": true,
"active": true,
"archived": false,
"closed": false,
"condition_id": "0xe6bcc2f1dd025ce5e1833190f7c60a71171c94f805df55b9ab0ded695ec93565",
"rewards": {
"max_spread": 5.5,
"min_size": 50,
"rates": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"rewards_daily_rate": 32
}
]
},
"tokens": [
{
"outcome": "Yes",
"price": 0.1605,
"token_id": "107064985435494333113391038470401719113272800530429703182710416066774068907304",
"winner": false
},
{
"outcome": "No",
"price": 0.8395,
"token_id": "65176072261324737856085688071627118509549293922582857186996392180609764586527",
"winner": false
}
],
"version": "v1"
}
],
"limit": 1000,
"next_cursor": "aWQ6MTMzNTEzOQ=="
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Get sampling simplified markets
Retrieve sampling simplified markets with the Polymarket API. The sample response includes tokens and prices. Request fields include next-page cursor (next_cursor). Use it for on-chain or crypto market research. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Get sampling simplified markets: https://openany.si/markets/apis/capabilities/polymarket-get-sampling-simplified-markets?offering=ffa41952-bbe1-4d21-9805-d9bd67099ab5 · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/ffa41952-bbe1-4d21-9805-d9bd67099ab5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/sampling-simplified-markets
Price: $0 / call
Provider: Polymarket
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/polymarket/sampling-simplified-markets' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Get sampling simplified markets",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/sampling-simplified-markets",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "next_cursor",
"location": "query",
"name": "next_cursor",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example (source abbreviated)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"count": 1000,
"data": [
{
"accepting_orders": true,
"active": true,
"archived": false,
"closed": false,
"condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
"rewards": {
"max_spread": 3.5,
"min_size": 200,
"rates": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"rewards_daily_rate": 5
}
]
},
"tokens": [
{
"outcome": "Yes",
"price": 0.0315,
"token_id": "32338220190071351435772801779725302244575775216413325951443816017994629993401",
"winner": false
},
{
"outcome": "No",
"price": 0.9685,
"token_id": "25659310674993675562345759665114759892400026242514633218387667107987341231962",
"winner": false
}
],
"version": "v1"
},
{
"accepting_orders": true,
"active": true,
"archived": false,
"closed": false,
"condition_id": "0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75",
"rewards": {
"max_spread": 5.5,
"min_size": 50,
"rates": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"rewards_daily_rate": 35
}
]
},
"tokens": [
{
"outcome": "Yes",
"price": 0.1635,
"token_id": "54533043819946592547517511176940999955633860128497669742211153063842200957669",
"winner": false
},
{
"outcome": "No",
"price": 0.8365,
"token_id": "87854174148074652060467921081181402357467303721471806610111179101805869578687",
"winner": false
}
],
"version": "v1"
},
{
"accepting_orders": true,
"active": true,
"archived": false,
"closed": false,
"condition_id": "0xe6bcc2f1dd025ce5e1833190f7c60a71171c94f805df55b9ab0ded695ec93565",
"rewards": {
"max_spread": 5.5,
"min_size": 50,
"rates": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"rewards_daily_rate": 32
}
]
},
"tokens": [
{
"outcome": "Yes",
"price": 0.1605,
"token_id": "107064985435494333113391038470401719113272800530429703182710416066774068907304",
"winner": false
},
{
"outcome": "No",
"price": 0.8395,
"token_id": "65176072261324737856085688071627118509549293922582857186996392180609764586527",
"winner": false
}
],
"version": "v1"
}
],
"limit": 1000,
"next_cursor": "aWQ6MTMzNTEzOQ=="
}
}
]
}
```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-simplified-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_orders": true, "active": true, "archived": false, "closed": false, "condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7", "rewards": { "max_spread": 3.5, "min_size": 200, "rates": [ { "asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", "rewards_daily_rate": 5 } ] }, "tokens": [ { "outcome": "Yes", "price": 0.0315, "token_id": "32338220190071351435772801779725302244575775216413325951443816017994629993401", "winner": false }, { "outcome": "No", "price": 0.9685, "token_id": "25659310674993675562345759665114759892400026242514633218387667107987341231962", "winner": false } ], "version": "v1" }, { "accepting_orders": true, "active": true, "archived": false, "closed": false, "condition_id": "0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75", "rewards": { "max_spread": 5.5, "min_size": 50, "rates": [ { "asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", "rewards_daily_rate": 35 } ] }, "tokens": [ { "outcome": "Yes", "price": 0.1635, "token_id": "54533043819946592547517511176940999955633860128497669742211153063842200957669", "winner": false }, { "outcome": "No", "price": 0.8365, "token_id": "87854174148074652060467921081181402357467303721471806610111179101805869578687", "winner": false } ], "version": "v1" }, { "accepting_orders": true, "active": true, "archived": false, "closed": false, "condition_id": "0xe6bcc2f1dd025ce5e1833190f7c60a71171c94f805df55b9ab0ded695ec93565", "rewards": { "max_spread": 5.5, "min_size": 50, "rates": [ { "asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", "rewards_daily_rate": 32 } ] }, "tokens": [ { "outcome": "Yes", "price": 0.1605, "token_id": "107064985435494333113391038470401719113272800530429703182710416066774068907304", "winner": false }, { "outcome": "No", "price": 0.8395, "token_id": "65176072261324737856085688071627118509549293922582857186996392180609764586527", "winner": false } ], "version": "v1" } ], "limit": 1000, "next_cursor": "aWQ6MTMzNTEzOQ==" }