Polymarket — Search markets, events, and profiles
Search for markets, events, and profiles with the Polymarket API. Supply a search query (q). Sample fields include titles. Request fields include page number (page). Use it to surface relevant records in a search or discovery tool. The GET request schema also lists cache, events_status. 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 — Search markets, events, and profiles · GET | $0 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
eventsobject[]activebooleanclosedbooleancreationDatestringdescriptionstringendDatestringiconstringidstringimagestringslugstringstartDatestringtickerstringtitlestring
paginationobjecthasMorebooleantotalResultsinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
events?: Array<{
active?: boolean;
closed?: boolean;
creationDate?: string;
description?: string;
endDate?: string;
icon?: string;
id?: string;
image?: string;
slug?: string;
startDate?: string;
ticker?: string;
title?: string;
}>;
pagination?: {
hasMore?: boolean;
totalResults?: number;
};
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/public-search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/public-search?limit_per_type=2&q=Bitcoin' \
-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 | Yes | q |
cache | URL query parametersquery | boolean | No | cache |
events_status | URL query parametersquery | string | No | events_status |
limit_per_type | URL query parametersquery | integer | No | limit_per_type |
page | URL query parametersquery | integer | No | page |
events_tag | URL query parametersquery | array | No | events_tagNested fields and variants
|
keep_closed_markets | URL query parametersquery | integer | No | keep_closed_markets |
sort | URL query parametersquery | string | No | sort |
ascending | URL query parametersquery | boolean | No | ascending |
search_tags | URL query parametersquery | boolean | No | search_tags |
search_profiles | URL query parametersquery | boolean | No | search_profiles |
recurrence | URL query parametersquery | string | No | recurrence |
exclude_tag_id | URL query parametersquery | array | No | exclude_tag_idNested fields and variants
|
optimized | URL query parametersquery | boolean | No | optimized |
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.
{
"events": [
{
"active": true,
"closed": false,
"creationDate": "2026-10-01T05:09:43.41729Z",
"description": "What price will Bitcoin hit in October?",
"endDate": "2026-11-01T04:00:00Z",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"id": "1112205",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"slug": "what-price-will-bitcoin-hit-in-october-2026",
"startDate": "2026-10-01T05:07:10Z",
"ticker": "what-price-will-bitcoin-hit-in-october-2026",
"title": "What price will Bitcoin hit in October?"
},
{
"active": true,
"closed": true,
"creationDate": "2026-02-16T17:05:32.538689Z",
"description": "This market will resolve to \"Yes\" if the Binance 1 minute candle for BTC/USDT 12:00 in the ET timezone (noon) on the date specified in the title has a final \"Close\" price higher than the price specified in the title. Otherwise, this market will resolve to \"No\".\n\nThe resolution source for this market is Binance, specifically the BTC/USDT \"Close\" prices currently available at https://www.binance.com/en/trade/BTC_USDT with \"1m\" and \"Candles\" selected on the top bar.\n\nPlease note that this market is about the price according to Binance BTC/USDT, not according to other sources or spot markets.\n\nPri",
"endDate": "2026-02-23T17:00:00Z",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"id": "211888",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"slug": "bitcoin-above-on-february-23",
"startDate": "2026-02-16T17:05:32.538703Z",
"ticker": "bitcoin-above-on-february-23",
"title": "Bitcoin above ___ on February 23?"
}
],
"pagination": {
"hasMore": true,
"totalResults": 149718
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Search markets, events, and profiles
Search for markets, events, and profiles with the Polymarket API. Supply a search query (q). Sample fields include titles. Request fields include page number (page). Use it to surface relevant records in a search or discovery tool. The GET request schema also lists cache, events_status. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Search markets, events, and profiles: https://openany.si/markets/apis/capabilities/polymarket-search-markets-events-and-profiles?offering=4665ed33-1d81-4b7a-a0c3-1603e5157a6b · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-search-markets-events-and-profiles
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/public-search
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/public-search?limit_per_type=2&q=Bitcoin' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Search markets, events, and profiles",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/public-search",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "q",
"location": "query",
"name": "q",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "cache",
"location": "query",
"name": "cache",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "events_status",
"location": "query",
"name": "events_status",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "limit_per_type",
"location": "query",
"name": "limit_per_type",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "page",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "events_tag",
"item_type": "string",
"location": "query",
"name": "events_tag",
"nullable": false,
"required": false,
"type": "array"
},
{
"description": "keep_closed_markets",
"location": "query",
"name": "keep_closed_markets",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "sort",
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "ascending",
"location": "query",
"name": "ascending",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "search_tags",
"location": "query",
"name": "search_tags",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "search_profiles",
"location": "query",
"name": "search_profiles",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "recurrence",
"location": "query",
"name": "recurrence",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "exclude_tag_id",
"item_type": "integer",
"location": "query",
"name": "exclude_tag_id",
"nullable": false,
"required": false,
"type": "array"
},
{
"description": "optimized",
"location": "query",
"name": "optimized",
"nullable": false,
"required": false,
"type": "boolean"
}
],
"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": {
"limit_per_type": 2,
"q": "Bitcoin"
}
},
"response_body": {
"events": [
{
"active": true,
"closed": false,
"creationDate": "2026-10-01T05:09:43.41729Z",
"description": "What price will Bitcoin hit in October?",
"endDate": "2026-11-01T04:00:00Z",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"id": "1112205",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"slug": "what-price-will-bitcoin-hit-in-october-2026",
"startDate": "2026-10-01T05:07:10Z",
"ticker": "what-price-will-bitcoin-hit-in-october-2026",
"title": "What price will Bitcoin hit in October?"
},
{
"active": true,
"closed": true,
"creationDate": "2026-02-16T17:05:32.538689Z",
"description": "This market will resolve to \"Yes\" if the Binance 1 minute candle for BTC/USDT 12:00 in the ET timezone (noon) on the date specified in the title has a final \"Close\" price higher than the price specified in the title. Otherwise, this market will resolve to \"No\".\n\nThe resolution source for this market is Binance, specifically the BTC/USDT \"Close\" prices currently available at https://www.binance.com/en/trade/BTC_USDT with \"1m\" and \"Candles\" selected on the top bar.\n\nPlease note that this market is about the price according to Binance BTC/USDT, not according to other sources or spot markets.\n\nPri",
"endDate": "2026-02-23T17:00:00Z",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"id": "211888",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
"slug": "bitcoin-above-on-february-23",
"startDate": "2026-02-16T17:05:32.538703Z",
"ticker": "bitcoin-above-on-february-23",
"title": "Bitcoin above ___ on February 23?"
}
],
"pagination": {
"hasMore": true,
"totalResults": 149718
}
}
}
]
}
```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- q
cache- cache
events_status- events_status
limit_per_type- limit_per_type
page- page
events_tag- events_tag
keep_closed_markets- keep_closed_markets
sort- sort
ascending- ascending
search_tags- search_tags
search_profiles- search_profiles
recurrence- recurrence
exclude_tag_id- exclude_tag_id
optimized- optimized
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/public-search?limit_per_type=2&q=Bitcoin' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "events": [ { "active": true, "closed": false, "creationDate": "2026-10-01T05:09:43.41729Z", "description": "What price will Bitcoin hit in October?", "endDate": "2026-11-01T04:00:00Z", "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png", "id": "1112205", "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png", "slug": "what-price-will-bitcoin-hit-in-october-2026", "startDate": "2026-10-01T05:07:10Z", "ticker": "what-price-will-bitcoin-hit-in-october-2026", "title": "What price will Bitcoin hit in October?" }, { "active": true, "closed": true, "creationDate": "2026-02-16T17:05:32.538689Z", "description": "This market will resolve to \"Yes\" if the Binance 1 minute candle for BTC/USDT 12:00 in the ET timezone (noon) on the date specified in the title has a final \"Close\" price higher than the price specified in the title. Otherwise, this market will resolve to \"No\".\n\nThe resolution source for this market is Binance, specifically the BTC/USDT \"Close\" prices currently available at https://www.binance.com/en/trade/BTC_USDT with \"1m\" and \"Candles\" selected on the top bar.\n\nPlease note that this market is about the price according to Binance BTC/USDT, not according to other sources or spot markets.\n\nPri", "endDate": "2026-02-23T17:00:00Z", "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png", "id": "211888", "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png", "slug": "bitcoin-above-on-february-23", "startDate": "2026-02-16T17:05:32.538703Z", "ticker": "bitcoin-above-on-february-23", "title": "Bitcoin above ___ on February 23?" } ], "pagination": { "hasMore": true, "totalResults": 149718 } }
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 — Search markets, events, and profiles with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.