Polymarket — Get multiple markets with rewards
Retrieve a list of active markets with their reward configurations with the Polymarket API. Supports text search, tag filtering, numeric filters, and sorting. Request fields include next-page cursor (next_cursor), page size (page_size), event ID (event_id). Use it for on-chain or crypto market research. The GET request schema also lists q, tag_slug. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get multiple markets with rewards · GET | $0 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
countintegerdataobject[]condition_idstringgroup_item_titlestringimagestringmarket_competitivenessintegermarket_idstringmarket_slugstringquestionstringrewards_configunknown[]rewards_max_spreadnumberrewards_min_sizeintegerspreadnumbertokensobject[]outcomestringpricenumbertoken_idstring
limitintegernext_cursorstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
count?: number;
data?: Array<{
condition_id?: string;
group_item_title?: string;
image?: string;
market_competitiveness?: number;
market_id?: string;
market_slug?: string;
question?: string;
rewards_config?: Array<unknown>;
rewards_max_spread?: number;
rewards_min_size?: number;
spread?: number;
tokens?: Array<{
outcome?: string;
price?: number;
token_id?: string;
}>;
}>;
limit?: number;
next_cursor?: string;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/query/orderbook-and-prices/get-multiple-markets-with-rewards-78affad6- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/query/orderbook-and-prices/get-multiple-markets-with-rewards-78affad6' \
-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 |
|---|---|---|---|---|
q | URL query parametersquery | string | No | Text search on market question/description |
tag_slug | URL query parametersquery | string | No | Filter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics) |
event_id | URL query parametersquery | string | No | Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200) |
event_title | URL query parametersquery | string | No | Search event titles using case-insensitive pattern matching |
order_by | URL query parametersquery | string | No | Field to sort results by enum: "market_id", "created_at", "volume_24hr", "spread", "competitiveness", "max_spread", "min_size", "question", "one_day_price_change", "rate_per_day", "price", "end_date", "start_date", "reward_end_date" |
position | URL query parametersquery | string | No | Sort direction enum: "ASC", "DESC" |
min_volume_24hr | URL query parametersquery | number | No | Minimum 24-hour volume filter |
max_volume_24hr | URL query parametersquery | number | No | Maximum 24-hour volume filter |
min_spread | URL query parametersquery | number | No | Minimum spread filter |
max_spread | URL query parametersquery | number | No | Maximum spread filter |
min_price | URL query parametersquery | number | No | Minimum first token price filter |
max_price | URL query parametersquery | number | No | Maximum first token price filter |
next_cursor | URL query parametersquery | string | No | Pagination cursor from previous response |
page_size | URL query parametersquery | integer | No | Number of items per page (max 500, values above are capped) maximum: 500 |
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": 100,
"data": [
{
"condition_id": "0x2d3c4fc5cde6dfb43448402b912e41bd4453e3f030448ed026bff8f1a0bc072e",
"group_item_title": "Eric Trump",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/eric-trump-eb65c618d6.png",
"market_competitiveness": 0,
"market_id": "561263",
"market_slug": "will-eric-trump-win-the-2028-us-presidential-election",
"question": "Will Eric Trump win the 2028 US Presidential Election?",
"rewards_config": [],
"rewards_max_spread": 4.5,
"rewards_min_size": 50,
"spread": 0.001,
"tokens": [
{
"outcome": "Yes",
"price": 0.0005,
"token_id": "67028631656597977031363620447645908995417871899828777750494099295092202422178"
},
{
"outcome": "No",
"price": 0.9995,
"token_id": "92435534412344629891924787958876018882926476169555134960124357040149315497159"
}
]
},
{
"condition_id": "0xed333fe31d97904f8fc8752d67f6dff47087a176595f608b57a8e7bb14ef8854",
"group_item_title": "Abigail Spanberger",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/spanberger-2f60d94c40.png",
"market_competitiveness": 0,
"market_id": "561266",
"market_slug": "will-abigail-spanberger-win-the-2028-us-presidential-election",
"question": "Will Abigail Spanberger win the 2028 US Presidential Election?",
"rewards_config": [],
"rewards_max_spread": 5.5,
"rewards_min_size": 200,
"spread": 0.001,
"tokens": [
{
"outcome": "Yes",
"price": 0.0005,
"token_id": "26300126250638962432368126833553865841971269530697411678483716322368818562639"
},
{
"outcome": "No",
"price": 0.9995,
"token_id": "56204927946241537265164149462328189883020469254625443960117418316112304974602"
}
]
},
{
"condition_id": "0x117a68f1c6135b13ffc450f152dd92bc5d99dcbf8f561672c8a7e115f48e5d90",
"group_item_title": "Hakeem Jeffries",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/jeffries-7cbd13c40d.png",
"market_competitiveness": 0,
"market_id": "561267",
"market_slug": "will-hakeem-jeffries-win-the-2028-us-presidential-election",
"question": "Will Hakeem Jeffries win the 2028 US Presidential Election?",
"rewards_config": [],
"rewards_max_spread": 5.5,
"rewards_min_size": 200,
"spread": 0.001,
"tokens": [
{
"outcome": "Yes",
"price": 0.0005,
"token_id": "27324378907862915329653747321506298712990175671811760510867365204472005456284"
},
{
"outcome": "No",
"price": 0.9995,
"token_id": "92680287057439870681299584384986809628158268708309296202308169106990008539739"
}
]
}
],
"limit": 100,
"next_cursor": "MTAw"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Get multiple markets with rewards
Retrieve a list of active markets with their reward configurations with the Polymarket API. Supports text search, tag filtering, numeric filters, and sorting. Request fields include next-page cursor (next_cursor), page size (page_size), event ID (event_id). Use it for on-chain or crypto market research. The GET request schema also lists q, tag_slug. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Get multiple markets with rewards: https://openany.si/markets/apis/capabilities/polymarket-get-multiple-markets-with-rewards?offering=a6c1af65-e86d-49c5-b835-b90c531e7a0d · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-get-multiple-markets-with-rewards
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/query/orderbook-and-prices/get-multiple-markets-with-rewards-78affad6
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/query/orderbook-and-prices/get-multiple-markets-with-rewards-78affad6' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Get multiple markets with rewards",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/query/orderbook-and-prices/get-multiple-markets-with-rewards-78affad6",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Text search on market question/description",
"location": "query",
"name": "q",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics)",
"location": "query",
"name": "tag_slug",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)",
"location": "query",
"name": "event_id",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Search event titles using case-insensitive pattern matching",
"location": "query",
"name": "event_title",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Field to sort results by",
"enum_values": [
"market_id",
"created_at",
"volume_24hr",
"spread",
"competitiveness",
"max_spread",
"min_size",
"question",
"one_day_price_change",
"rate_per_day",
"price",
"end_date",
"start_date",
"reward_end_date"
],
"location": "query",
"name": "order_by",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Sort direction",
"enum_values": [
"ASC",
"DESC"
],
"location": "query",
"name": "position",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Minimum 24-hour volume filter",
"location": "query",
"name": "min_volume_24hr",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Maximum 24-hour volume filter",
"location": "query",
"name": "max_volume_24hr",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Minimum spread filter",
"location": "query",
"name": "min_spread",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Maximum spread filter",
"location": "query",
"name": "max_spread",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Minimum first token price filter",
"location": "query",
"name": "min_price",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Maximum first token price filter",
"location": "query",
"name": "max_price",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Pagination cursor from previous response",
"location": "query",
"name": "next_cursor",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Number of items per page (max 500, values above are capped)",
"location": "query",
"maximum": "500",
"name": "page_size",
"nullable": false,
"required": false,
"type": "integer"
}
],
"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": 100,
"data": [
{
"condition_id": "0x2d3c4fc5cde6dfb43448402b912e41bd4453e3f030448ed026bff8f1a0bc072e",
"group_item_title": "Eric Trump",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/eric-trump-eb65c618d6.png",
"market_competitiveness": 0,
"market_id": "561263",
"market_slug": "will-eric-trump-win-the-2028-us-presidential-election",
"question": "Will Eric Trump win the 2028 US Presidential Election?",
"rewards_config": [],
"rewards_max_spread": 4.5,
"rewards_min_size": 50,
"spread": 0.001,
"tokens": [
{
"outcome": "Yes",
"price": 0.0005,
"token_id": "67028631656597977031363620447645908995417871899828777750494099295092202422178"
},
{
"outcome": "No",
"price": 0.9995,
"token_id": "92435534412344629891924787958876018882926476169555134960124357040149315497159"
}
]
},
{
"condition_id": "0xed333fe31d97904f8fc8752d67f6dff47087a176595f608b57a8e7bb14ef8854",
"group_item_title": "Abigail Spanberger",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/spanberger-2f60d94c40.png",
"market_competitiveness": 0,
"market_id": "561266",
"market_slug": "will-abigail-spanberger-win-the-2028-us-presidential-election",
"question": "Will Abigail Spanberger win the 2028 US Presidential Election?",
"rewards_config": [],
"rewards_max_spread": 5.5,
"rewards_min_size": 200,
"spread": 0.001,
"tokens": [
{
"outcome": "Yes",
"price": 0.0005,
"token_id": "26300126250638962432368126833553865841971269530697411678483716322368818562639"
},
{
"outcome": "No",
"price": 0.9995,
"token_id": "56204927946241537265164149462328189883020469254625443960117418316112304974602"
}
]
},
{
"condition_id": "0x117a68f1c6135b13ffc450f152dd92bc5d99dcbf8f561672c8a7e115f48e5d90",
"group_item_title": "Hakeem Jeffries",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/jeffries-7cbd13c40d.png",
"market_competitiveness": 0,
"market_id": "561267",
"market_slug": "will-hakeem-jeffries-win-the-2028-us-presidential-election",
"question": "Will Hakeem Jeffries win the 2028 US Presidential Election?",
"rewards_config": [],
"rewards_max_spread": 5.5,
"rewards_min_size": 200,
"spread": 0.001,
"tokens": [
{
"outcome": "Yes",
"price": 0.0005,
"token_id": "27324378907862915329653747321506298712990175671811760510867365204472005456284"
},
{
"outcome": "No",
"price": 0.9995,
"token_id": "92680287057439870681299584384986809628158268708309296202308169106990008539739"
}
]
}
],
"limit": 100,
"next_cursor": "MTAw"
}
}
]
}
```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. |
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 14
Review these request fields before running. Keep the published provider and request method unchanged.
q- Text search on market question/description
tag_slug- Filter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics)
event_id- Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)
event_title- Search event titles using case-insensitive pattern matching
order_by- Field to sort results by
position- Sort direction
min_volume_24hr- Minimum 24-hour volume filter
max_volume_24hr- Maximum 24-hour volume filter
min_spread- Minimum spread filter
max_spread- Maximum spread filter
min_price- Minimum first token price filter
max_price- Maximum first token price filter
next_cursor- Pagination cursor from previous response
page_size- Number of items per page (max 500, values above are capped)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/query/orderbook-and-prices/get-multiple-markets-with-rewards-78affad6' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "count": 100, "data": [ { "condition_id": "0x2d3c4fc5cde6dfb43448402b912e41bd4453e3f030448ed026bff8f1a0bc072e", "group_item_title": "Eric Trump", "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/eric-trump-eb65c618d6.png", "market_competitiveness": 0, "market_id": "561263", "market_slug": "will-eric-trump-win-the-2028-us-presidential-election", "question": "Will Eric Trump win the 2028 US Presidential Election?", "rewards_config": [], "rewards_max_spread": 4.5, "rewards_min_size": 50, "spread": 0.001, "tokens": [ { "outcome": "Yes", "price": 0.0005, "token_id": "67028631656597977031363620447645908995417871899828777750494099295092202422178" }, { "outcome": "No", "price": 0.9995, "token_id": "92435534412344629891924787958876018882926476169555134960124357040149315497159" } ] }, { "condition_id": "0xed333fe31d97904f8fc8752d67f6dff47087a176595f608b57a8e7bb14ef8854", "group_item_title": "Abigail Spanberger", "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/spanberger-2f60d94c40.png", "market_competitiveness": 0, "market_id": "561266", "market_slug": "will-abigail-spanberger-win-the-2028-us-presidential-election", "question": "Will Abigail Spanberger win the 2028 US Presidential Election?", "rewards_config": [], "rewards_max_spread": 5.5, "rewards_min_size": 200, "spread": 0.001, "tokens": [ { "outcome": "Yes", "price": 0.0005, "token_id": "26300126250638962432368126833553865841971269530697411678483716322368818562639" }, { "outcome": "No", "price": 0.9995, "token_id": "56204927946241537265164149462328189883020469254625443960117418316112304974602" } ] }, { "condition_id": "0x117a68f1c6135b13ffc450f152dd92bc5d99dcbf8f561672c8a7e115f48e5d90", "group_item_title": "Hakeem Jeffries", "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/jeffries-7cbd13c40d.png", "market_competitiveness": 0, "market_id": "561267", "market_slug": "will-hakeem-jeffries-win-the-2028-us-presidential-election", "question": "Will Hakeem Jeffries win the 2028 US Presidential Election?", "rewards_config": [], "rewards_max_spread": 5.5, "rewards_min_size": 200, "spread": 0.001, "tokens": [ { "outcome": "Yes", "price": 0.0005, "token_id": "27324378907862915329653747321506298712990175671811760510867365204472005456284" }, { "outcome": "No", "price": 0.9995, "token_id": "92680287057439870681299584384986809628158268708309296202308169106990008539739" } ] } ], "limit": 100, "next_cursor": "MTAw" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Polymarket — Get multiple markets with rewards with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.