Polymarket API endpoint
Lists Polymarket markets, up to `limit` rows (default 25, max 100), starting at `offset` (default 0, max 10000). Sort with `order`, such as `volume24hr` or `liquidity`, flip direction with `ascending`, and filter with `closed`. Each market has its question, slug, prices, volume, liquidity, token ids and outcomes.
/polymarket/marketsReturns market rows from Polymarket.
Path parameters:
Query parameters:
limit: optional integer. Default: 25; maximum: 100.offset: optional integer. Default: 0; maximum: 10000.order: optional enum. Allowed values: volume24hr, volume, liquidity, endDate, updatedAt, createdAt, id, slug, title, question, label.ascending: optional boolean. Default: false.closed: optional enum. Allowed values: true, false.Notable response behavior:
| Field | Filled in, of 25 checked | Values in the sample |
|---|---|---|
| id | 25 | |
| slug | 25 | |
| condition_id | 25 | |
| question | 25 | “US x Yemen ceasefire continues through October 15?” and 24 other values |
| active | 25 | true in 25 of 25 |
| closed | 25 | true in 0 of 25 |
| end_date | 25 | 2026-10-05 to 2028-11-08 |
| volume | 25 | 174,476.6 to 73,952,989.1, median 2,510,721.61 |
| volume_24h | 25 | 174,455.43 to 664,755.05, median 284,890.47 |
| liquidity | 25 | 20,195.76 to 1,445,070.01, median 428,862.11 |
| best_bid | 24 | 0 to 1, median 0.19 |
| best_ask | 25 | 0 to 1, median 0.2 |
| last_trade_price | 25 | 0 to 1, median 0.19 |
| token_ids | 25 | |
| outcomes | 25 | median 2 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| limit | integer | No | 25 and supports up to 100 | Maximum markets, defaults to 25 and supports up to 100 | 25 |
| offset | integer | No | 0 and supports up to 10000 | Result offset, defaults to 0 and supports up to 10000 | 0 |
| order | string | No | Sort field Allowed values: volume24hr, volume, liquidity, endDate, updatedAt, createdAt, id, slug, title, question, label. | ||
| ascending | boolean | No | Sort ascending when true | ||
| closed | string | No | Closed filter Allowed values: true, false. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/polymarket/markets?limit=10&order=volume24hr&ascending=true&closed=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://gamma-api.polymarket.com/...",
"fetched_at": "2026-06-07T11:00:00Z",
"markets": []
}
}Request schema
No body schema
Response schema
#/definitions/polymarket.marketsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | polymarket.MarketsResponse | No | ||||
| data.ascending | boolean | No | `true` when markets are sorted in ascending order. | |||
| data.closed | string | No | false | Closed filter applied, `true` or `false`. | ||
| data.fetched_at | string | No | 2026-06-07T11:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.limit | integer | No | 25 | Maximum number of markets requested. | ||
| data.markets | array | No | Markets on this page, one item per market. | |||
| data.markets[].active | boolean | No | `true` when the market is active. | |||
| data.markets[].best_ask | number | No | Lowest ask price currently offered on the market. | |||
| data.markets[].best_bid | number | No | Highest bid price currently offered on the market. | |||
| data.markets[].closed | boolean | No | `true` when the market is closed. | |||
| data.markets[].condition_id | string | No | 0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327 | Condition id that identifies the market on Polymarket. | ||
| data.markets[].end_date | string | No | Date and time the market is scheduled to end (ISO 8601). | |||
| data.markets[].id | string | No | 558934 | Polymarket market id. | ||
| data.markets[].last_trade_price | number | No | Price of the most recent trade on the market. | |||
| data.markets[].liquidity | number | No | Liquidity Polymarket reports for the market. | |||
| data.markets[].outcomes | array | No | Outcomes of the market with their current prices, one item per outcome. | |||
| data.markets[].outcomes[].best_ask | number | No | 0.162 | Lowest ask price currently offered for the outcome. | ||
| data.markets[].outcomes[].best_bid | number | No | 0.161 | Highest bid price currently offered for the outcome. | ||
| data.markets[].outcomes[].last_trade_price | number | No | 0.162 | Price of the most recent trade on the outcome. | ||
| data.markets[].outcomes[].liquidity | number | No | 1093391.84 | Liquidity Polymarket reports for the outcome. | ||
| data.markets[].outcomes[].market_id | string | No | 558934 | Polymarket id of the market the outcome belongs to. | ||
| data.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.markets[].outcomes[].outcome | string | No | Yes | Name of the outcome, for example `Yes`. | ||
| data.markets[].outcomes[].price | number | No | 0.1615 | Current price of the outcome. | ||
| data.markets[].outcomes[].question | string | No | Will Spain win the 2026 FIFA World Cup? | Question of the market the outcome belongs to. | ||
| data.markets[].outcomes[].volume | number | No | 30983849.24 | Trading volume Polymarket reports for the outcome. | ||
| data.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.markets[].slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | URL slug of the market. | ||
| data.markets[].token_ids | array | No | Token ids of the market outcomes, in the same order as `outcomes`. | |||
| data.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.markets[].volume | number | No | Total trading volume of the market. | |||
| data.markets[].volume_24h | number | No | Trading volume of the market over the last 24 hours. | |||
| data.offset | integer | No | 0 | Number of markets skipped before this page. | ||
| data.order | string | No | volume24hr | Field the markets are sorted by, for example `volume24hr`. | ||
| data.source_url | string | No | https://gamma-api.polymarket.com/markets?limit=25 | URL the data was read from. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/markets?limit=10&order=volume24hr&ascending=true&closed=true" \
-H "x-api-key: $CRAWLORA_API_KEY"