Polymarket API endpoint
Searches Polymarket and returns event results. The `status` enum accepts `open`, `closed`, and `all`; the `sort` enum accepts `relevance`, `volume24hr`, `volume`, `liquidity`, and `endDate`.
/polymarket/searchQuery parameters:
q: required. Search query. Example: bitcoin.limit: optional integer. Maximum events to return. Default: 10; maximum: 50.status: optional enum. Allowed values: open, closed, all. Default: open.sort: optional enum. Allowed values: relevance, volume24hr, volume, liquidity, endDate. Default: relevance.ascending: optional boolean. Sort ascending when true. Default: false.include_tags: optional boolean. Include matching tags. Default: false.include_profiles: optional boolean. Include matching profiles. Default: false.Notable response behavior:
events array.events[].markets contains the nested markets returned by Polymarket for each event.status or sort values return an invalid-parameter error before upstream IO.| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| id | 10 | |
| slug | 10 | |
| title | 10 | “Bitcoin above ___ on October 13?” and 9 other values |
| description | 10 | median 513 characters |
| url | 10 | polymarket.com |
| image_url | 10 | polymarket-upload.s3.us-east-2.amazonaws.com |
| icon_url | 10 | polymarket-upload.s3.us-east-2.amazonaws.com |
| active | 10 | true in 10 of 10 |
| closed | 10 | true in 9 of 10 |
| restricted | 10 | true in 10 of 10 |
| start_date | 10 | 2026-02-16 to 2026-10-12 |
| end_date | 10 | 2026-02-23 to 2026-11-01 |
| updated_at | 10 | 2026-02-25 to 2026-10-13 |
| volume | 9 | 230,595.38 to 6,203,053.52, median 430,077.47 |
| volume_24h | 3 | 264,650.75 to 935,820.88, median 485,471 |
| open_interest | 10 | 0 to 2,709,003.98, median 0 |
| tags | 10 | median 7 entries |
| markets | 10 | median 1 entry |
| markets_count | 10 | 1 to 30, median 1 |
| liquidity | 1 | 1,817,477.68 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search query | bitcoin | |
| limit | integer | No | 10 and supports up to 50 | Maximum events, defaults to 10 and supports up to 50 | 10 |
| status | string | No | Event status filter Allowed values: open, closed, all. | ||
| sort | string | No | Search sort Allowed values: relevance, volume24hr, volume, liquidity, endDate. | ||
| ascending | boolean | No | Sort ascending when true | ||
| include_tags | boolean | No | Include matching tags | ||
| include_profiles | boolean | No | Include matching profiles | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/polymarket/search?q=bitcoin&limit=10&status=open&sort=relevance&ascending=true&include_tags=true&include_profiles=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "bitcoin",
"limit": 3,
"status": "open",
"sort": "relevance",
"has_more": true,
"total_results": 85651,
"events": [
{
"id": "545095",
"slug": "bitcoin-above-on-june-7-2026",
"title": "Bitcoin above ___ on June 7?",
"url": "https://polymarket.com/event/bitcoin-above-on-june-7-2026",
"active": true,
"closed": false,
"volume_24h": 1488954.909518,
"liquidity": 744375.66875,
"markets_count": 15
}
]
}
}Request schema
No body schema
Response schema
#/definitions/polymarket.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | polymarket.SearchResponse | No | ||||
| data.ascending | boolean | No | `true` when results are sorted in ascending order. | |||
| data.events | array | No | Events matching the search query, one item per event. | |||
| data.events[].active | boolean | No | `true` when the event is active. | |||
| data.events[].closed | boolean | No | `true` when the event is closed. | |||
| data.events[].comment_count | integer | No | Number of comments on the event. | |||
| data.events[].description | string | No | Event description as shown on Polymarket. | |||
| data.events[].end_date | string | No | Date and time the event is scheduled to end (ISO 8601). | |||
| data.events[].featured | boolean | No | `true` when Polymarket features the event. | |||
| data.events[].icon_url | string | No | URL of the event's icon image. | |||
| data.events[].id | string | No | 545095 | Polymarket event id. | ||
| data.events[].image_url | string | No | URL of the event's main image. | |||
| data.events[].liquidity | number | No | Liquidity Polymarket reports for the event. | |||
| data.events[].markets | array | No | Markets inside the event, one item per market. | |||
| data.events[].markets[].active | boolean | No | `true` when the market is active. | |||
| data.events[].markets[].best_ask | number | No | Lowest ask price currently offered on the market. | |||
| data.events[].markets[].best_bid | number | No | Highest bid price currently offered on the market. | |||
| data.events[].markets[].closed | boolean | No | `true` when the market is closed. | |||
| data.events[].markets[].condition_id | string | No | 0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327 | Condition id that identifies the market on Polymarket. | ||
| data.events[].markets[].end_date | string | No | Date and time the market is scheduled to end (ISO 8601). | |||
| data.events[].markets[].id | string | No | 558934 | Polymarket market id. | ||
| data.events[].markets[].last_trade_price | number | No | Price of the most recent trade on the market. | |||
| data.events[].markets[].liquidity | number | No | Liquidity Polymarket reports for the market. | |||
| data.events[].markets[].outcomes | array | No | Outcomes of the market with their current prices, one item per outcome. | |||
| data.events[].markets[].outcomes[].best_ask | number | No | 0.162 | Lowest ask price currently offered for the outcome. | ||
| data.events[].markets[].outcomes[].best_bid | number | No | 0.161 | Highest bid price currently offered for the outcome. | ||
| data.events[].markets[].outcomes[].last_trade_price | number | No | 0.162 | Price of the most recent trade on the outcome. | ||
| data.events[].markets[].outcomes[].liquidity | number | No | 1093391.84 | Liquidity Polymarket reports for the outcome. | ||
| data.events[].markets[].outcomes[].market_id | string | No | 558934 | Polymarket id of the market the outcome belongs to. | ||
| data.events[].markets[].outcomes[].market_slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | URL slug of the market the outcome belongs to. | ||
| data.events[].markets[].outcomes[].outcome | string | No | Yes | Name of the outcome, for example `Yes`. | ||
| data.events[].markets[].outcomes[].price | number | No | 0.1615 | Current price of the outcome. | ||
| data.events[].markets[].outcomes[].question | string | No | Will Spain win the 2026 FIFA World Cup? | Question of the market the outcome belongs to. | ||
| data.events[].markets[].outcomes[].volume | number | No | 30983849.24 | Trading volume Polymarket reports for the outcome. | ||
| data.events[].markets[].question | string | No | Will Spain win the 2026 FIFA World Cup? | Question the market asks, for example `Will Spain win the 2026 FIFA World Cup?`. | ||
| data.events[].markets[].slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | URL slug of the market. | ||
| data.events[].markets[].token_ids | array | No | Token ids of the market outcomes, in the same order as `outcomes`. | |||
| data.events[].markets[].url | string | No | https://polymarket.com/event/world-cup-winner/will-spain-win-the-2026-fifa-world-cup-963 | Link to the market on polymarket.com. | ||
| data.events[].markets[].volume | number | No | Total trading volume of the market. | |||
| data.events[].markets[].volume_24h | number | No | Trading volume of the market over the last 24 hours. | |||
| data.events[].markets_count | integer | No | 15 | Number of markets inside the event. | ||
| data.events[].open_interest | number | No | Open interest Polymarket reports for the event. | |||
| data.events[].restricted | boolean | No | `true` when Polymarket marks the event as restricted. | |||
| data.events[].slug | string | No | bitcoin-above-on-june-7-2026 | URL slug of the event. | ||
| data.events[].start_date | string | No | Date and time the event starts (ISO 8601). | |||
| data.events[].tags | array | No | Tags attached to the event, one item per tag. | |||
| data.events[].tags[].id | string | No | 21 | Polymarket tag id. | ||
| data.events[].tags[].label | string | No | Crypto | Display name of the tag, for example `Crypto`. | ||
| data.events[].tags[].slug | string | No | crypto | URL slug of the tag, for example `crypto`. | ||
| data.events[].title | string | No | Bitcoin above ___ on June 7? | Event title as shown on Polymarket. | ||
| data.events[].updated_at | string | No | Time Polymarket last updated the event (ISO 8601). | |||
| data.events[].url | string | No | https://polymarket.com/event/bitcoin-above-on-june-7-2026 | Link to the event on polymarket.com. | ||
| data.events[].volume | number | No | Total trading volume of the event. | |||
| data.events[].volume_24h | number | No | Trading volume of the event over the last 24 hours. | |||
| data.fetched_at | string | No | 2026-06-07T11:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.has_more | boolean | No | `true` when more matching results exist beyond this page. | |||
| data.limit | integer | No | 10 | Maximum number of events requested. | ||
| data.profiles | array | No | Polymarket profiles matching the query, one item per profile. | |||
| data.profiles[].id | string | No | 123 | Polymarket profile id. | ||
| data.profiles[].name | string | No | Trader | Display name of the profile. | ||
| data.profiles[].username | string | No | trader | Username of the profile. | ||
| data.query | string | No | bitcoin | Search text that was run. | ||
| data.sort | string | No | relevance | Sort order applied to the results, for example `relevance`. | ||
| data.source_url | string | No | https://gamma-api.polymarket.com/public-search?q=bitcoin&limit_per_type=10 | URL the data was read from. | ||
| data.status | string | No | open | Event status filter applied: `open`, `closed` or `all`. | ||
| data.tags | array | No | Tags matching the query, one item per tag. | |||
| data.tags[].id | string | No | 21 | Polymarket tag id. | ||
| data.tags[].label | string | No | Crypto | Display name of the tag, for example `Crypto`. | ||
| data.tags[].slug | string | No | crypto | URL slug of the tag, for example `crypto`. | ||
| data.total_results | integer | No | 123 | Total number of events matching the query. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/polymarket/search?q=bitcoin&limit=10&status=open&sort=relevance&ascending=true&include_tags=true&include_profiles=true" \
-H "x-api-key: $CRAWLORA_API_KEY"