Polymarket API endpoint
Use Crawlora's Polymarket liquidity by condition API to extract supported public Polymarket data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/polymarket/market/condition/{condition_id}/liquidityReturns a public market liquidity snapshot that joins Gamma market detail with credential-free public CLOB market-data reads when token ids are available. This endpoint is not a trading endpoint and does not require a Polymarket user token, wallet signature, cookies, or personal account authentication. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| condition_id (path) | string | Yes | Polymarket market condition id | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/polymarket/market/condition/%3Ccondition_id%3E/liquidity" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- Returns a public liquidity snapshot that joins Gamma market detail with credential-free public CLOB market-data reads when token ids are available. - This is a public read-only endpoint and does not require a Polymarket user token, wallet signature, cookies, or personal account authentication. - Optional CLOB token metrics can be omitted when an upstream market has no token ids or a token-specific public subread has no current row. - The snapshot is not investment advice or real-time trading data. Example response: ```json { "code": 200, "msg": "OK", "data": { "condition_id": "0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327", "market": {"condition_id": "0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327"}, "tokens": [{"outcome": "Yes", "midpoint": 0.16, "spread": 0.01}] } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| 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 |
{
"code": 200,
"msg": "OK",
"data": {
"condition_id": "0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327",
"market": {
"condition_id": "0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327"
},
"tokens": [
{
"outcome": "Yes",
"midpoint": 0.16,
"spread": 0.01
}
]
}
}Request schema
No body schema
Response schema
#/definitions/polymarket.marketLiquidityResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | polymarket.MarketLiquidityResponse | No | ||||
| data.clob_market | polymarket.ClobMarketSummary | No | ||||
| data.clob_market.accepting_order_timestamp | string | No | ||||
| data.clob_market.accepting_orders | boolean | No | ||||
| data.clob_market.active | boolean | No | ||||
| data.clob_market.archived | boolean | No | ||||
| data.clob_market.closed | boolean | No | ||||
| data.clob_market.condition_id | string | No | 0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327 | |||
| data.clob_market.description | string | No | ||||
| data.clob_market.enable_order_book | boolean | No | ||||
| data.clob_market.end_date | string | No | 2026-06-08T00:00:00Z | |||
| data.clob_market.game_start_time | string | No | 2026-06-07T20:30:00Z | |||
| data.clob_market.icon_url | string | No | ||||
| data.clob_market.image_url | string | No | ||||
| data.clob_market.is_50_50_outcome | boolean | No | ||||
| data.clob_market.maker_base_fee | integer | No | 1000 | |||
| data.clob_market.market_slug | string | No | codmw-par-tex-2026-06-07-game4 | |||
| data.clob_market.market_url | string | No | https://polymarket.com/event/codmw-par-tex-2026-06-07/codmw-par-tex-2026-06-07-game4 | |||
| data.clob_market.minimum_order_size | number | No | 5 | |||
| data.clob_market.minimum_tick_size | number | No | 0.01 | |||
| data.clob_market.neg_risk | boolean | No | ||||
| data.clob_market.neg_risk_market_id | string | No | ||||
| data.clob_market.neg_risk_request_id | string | No | ||||
| data.clob_market.notifications_enabled | boolean | No | ||||
| data.clob_market.question | string | No | Call of Duty: Paris Gentle Mates vs OpTic Texas - Game 4 Winner | |||
| data.clob_market.question_id | string | No | 0xf693b08c99a00ca87098bc122ccc956434c2ac8720d8ed77e612d008cf33c2c1 | |||
| data.clob_market.rewards | polymarket.ClobRewardsSummary | No | ||||
| data.clob_market.rewards.max_spread | number | No | 2.5 | |||
| data.clob_market.rewards.min_size | number | No | 500 | |||
| data.clob_market.rewards.rates | array | No | ||||
| data.clob_market.rewards.rates[].asset_address | string | No | 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 | |||
| data.clob_market.rewards.rates[].rewards_daily_rate | number | No | 5 | |||
| data.clob_market.seconds_delay | integer | No | 1 | |||
| data.clob_market.tags | array | No | ||||
| data.clob_market.taker_base_fee | integer | No | 1000 | |||
| data.clob_market.tokens | array | No | ||||
| data.clob_market.tokens[].outcome | string | No | Paris Gentle Mates | |||
| data.clob_market.tokens[].price | number | No | 0.285 | |||
| data.clob_market.tokens[].token_id | string | No | 81927025054404355287140018940169293739219157042658469116956164881873598220211 | |||
| data.clob_market.tokens[].winner | boolean | No | ||||
| data.condition_id | string | No | 0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327 | |||
| data.fetched_at | string | No | 2026-06-07T11:00:00Z | |||
| data.id | string | No | 558934 | |||
| data.market | polymarket.MarketSummary | No | ||||
| data.market.active | boolean | No | ||||
| data.market.best_ask | number | No | ||||
| data.market.best_bid | number | No | ||||
| data.market.closed | boolean | No | ||||
| data.market.condition_id | string | No | 0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327 | |||
| data.market.end_date | string | No | ||||
| data.market.id | string | No | 558934 | |||
| data.market.last_trade_price | number | No | ||||
| data.market.liquidity | number | No | ||||
| data.market.outcomes | array | No | ||||
| data.market.outcomes[].best_ask | number | No | 0.162 | |||
| data.market.outcomes[].best_bid | number | No | 0.161 | |||
| data.market.outcomes[].last_trade_price | number | No | 0.162 | |||
| data.market.outcomes[].liquidity | number | No | 1093391.84 | |||
| data.market.outcomes[].market_id | string | No | 558934 | |||
| data.market.outcomes[].market_slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.market.outcomes[].outcome | string | No | Yes | |||
| data.market.outcomes[].price | number | No | 0.1615 | |||
| data.market.outcomes[].question | string | No | Will Spain win the 2026 FIFA World Cup? | |||
| data.market.outcomes[].volume | number | No | 30983849.24 | |||
| data.market.question | string | No | Will Spain win the 2026 FIFA World Cup? | |||
| data.market.slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.market.token_ids | array | No | ||||
| data.market.url | string | No | https://polymarket.com/event/world-cup-winner/will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.market.volume | number | No | ||||
| data.market.volume_24h | number | No | ||||
| data.slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.source_urls | array | No | ||||
| data.tokens | array | No | ||||
| data.tokens[].ask_depth | number | No | 654.33 | |||
| data.tokens[].bid_depth | number | No | 117.57 | |||
| data.tokens[].buy_price | number | No | 0.16 | |||
| data.tokens[].clob_price | number | No | 0.161 | |||
| data.tokens[].gamma_price | number | No | 0.16 | |||
| data.tokens[].last_trade_price | number | No | 0.162 | |||
| data.tokens[].midpoint | number | No | 0.165 | |||
| data.tokens[].orderbook_best_ask | number | No | 0.17 | |||
| data.tokens[].orderbook_best_bid | number | No | 0.16 | |||
| data.tokens[].orderbook_spread | number | No | 0.01 | |||
| data.tokens[].outcome | string | No | Yes | |||
| data.tokens[].sell_price | number | No | 0.17 | |||
| data.tokens[].spread | number | No | 0.01 | |||
| data.tokens[].token_id | string | No | 81927025054404355287140018940169293739219157042658469116956164881873598220211 | |||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/polymarket/market/condition/%3Ccondition_id%3E/liquidity" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms