Polymarket API endpoint
Use Crawlora's Polymarket macro dashboard 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/dashboards/macroReturns normalized macroeconomic event rows for Polymarket's `/dashboards/macro` page using credential-free Gamma `events/keyset` JSON with the `macro` tag. 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 |
|---|---|---|---|---|---|
| limit | integer | No | 20 and supports up to 100 | Maximum macro events, defaults to 20 and supports up to 100 | |
| cursor | string | No | Optional keyset cursor from a prior macro dashboard response | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/polymarket/dashboards/macro?limit=10" \ -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.
- Mirrors the public `/dashboards/macro` page with credential-free Gamma `events/keyset` JSON filtered to the `macro` tag. - Empty upstream macro pages are returned as upstream errors instead of successful empty parser drift. Example response: ```json { "code": 200, "msg": "OK", "data": { "limit": 2, "has_more": true, "source_url": "https://gamma-api.polymarket.com/events/keyset?active=true&ascending=false&closed=false&limit=2&order=volume24hr&tag_slug=macro", "fetched_at": "2026-06-07T11:00:00Z", "events": [ { "id": "436403", "slug": "mexico-gdp-growth-in-q2-2026", "title": "Mexico GDP growth in Q2 2026?", "url": "https://polymarket.com/event/mexico-gdp-growth-in-q2-2026", "active": true, "closed": false, "markets_count": 1 } ] } } ```
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 |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"limit": 2,
"has_more": true,
"source_url": "https://gamma-api.polymarket.com/events/keyset?active=true&ascending=false&closed=false&limit=2&order=volume24hr&tag_slug=macro",
"fetched_at": "2026-06-07T11:00:00Z",
"events": [
{
"id": "436403",
"slug": "mexico-gdp-growth-in-q2-2026",
"title": "Mexico GDP growth in Q2 2026?",
"url": "https://polymarket.com/event/mexico-gdp-growth-in-q2-2026",
"active": true,
"closed": false,
"markets_count": 1
}
]
}
}Request schema
No body schema
Response schema
#/definitions/polymarket.macroDashboardResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | polymarket.MacroDashboardResponse | No | ||||
| data.cursor | string | No | ||||
| data.events | array | No | ||||
| data.events[].active | boolean | No | ||||
| data.events[].closed | boolean | No | ||||
| data.events[].comment_count | integer | No | ||||
| data.events[].description | string | No | ||||
| data.events[].end_date | string | No | ||||
| data.events[].featured | boolean | No | ||||
| data.events[].icon_url | string | No | ||||
| data.events[].id | string | No | 545095 | |||
| data.events[].image_url | string | No | ||||
| data.events[].liquidity | number | No | ||||
| data.events[].markets | array | No | ||||
| data.events[].markets[].active | boolean | No | ||||
| data.events[].markets[].best_ask | number | No | ||||
| data.events[].markets[].best_bid | number | No | ||||
| data.events[].markets[].closed | boolean | No | ||||
| data.events[].markets[].condition_id | string | No | 0x1a987cd4e88488fd12905fa9ae82cef381e03f4af68289275c4c0c2613db9327 | |||
| data.events[].markets[].end_date | string | No | ||||
| data.events[].markets[].id | string | No | 558934 | |||
| data.events[].markets[].last_trade_price | number | No | ||||
| data.events[].markets[].liquidity | number | No | ||||
| data.events[].markets[].outcomes | array | No | ||||
| data.events[].markets[].outcomes[].best_ask | number | No | 0.162 | |||
| data.events[].markets[].outcomes[].best_bid | number | No | 0.161 | |||
| data.events[].markets[].outcomes[].last_trade_price | number | No | 0.162 | |||
| data.events[].markets[].outcomes[].liquidity | number | No | 1093391.84 | |||
| data.events[].markets[].outcomes[].market_id | string | No | 558934 | |||
| data.events[].markets[].outcomes[].market_slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.events[].markets[].outcomes[].outcome | string | No | Yes | |||
| data.events[].markets[].outcomes[].price | number | No | 0.1615 | |||
| data.events[].markets[].outcomes[].question | string | No | Will Spain win the 2026 FIFA World Cup? | |||
| data.events[].markets[].outcomes[].volume | number | No | 30983849.24 | |||
| data.events[].markets[].question | string | No | Will Spain win the 2026 FIFA World Cup? | |||
| data.events[].markets[].slug | string | No | will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.events[].markets[].token_ids | array | No | ||||
| data.events[].markets[].url | string | No | https://polymarket.com/event/world-cup-winner/will-spain-win-the-2026-fifa-world-cup-963 | |||
| data.events[].markets[].volume | number | No | ||||
| data.events[].markets[].volume_24h | number | No | ||||
| data.events[].markets_count | integer | No | 15 | |||
| data.events[].open_interest | number | No | ||||
| data.events[].restricted | boolean | No | ||||
| data.events[].slug | string | No | bitcoin-above-on-june-7-2026 | |||
| data.events[].start_date | string | No | ||||
| data.events[].tags | array | No | ||||
| data.events[].tags[].id | string | No | 21 | |||
| data.events[].tags[].label | string | No | Crypto | |||
| data.events[].tags[].slug | string | No | crypto | |||
| data.events[].title | string | No | Bitcoin above ___ on June 7? | |||
| data.events[].updated_at | string | No | ||||
| data.events[].url | string | No | https://polymarket.com/event/bitcoin-above-on-june-7-2026 | |||
| data.events[].volume | number | No | ||||
| data.events[].volume_24h | number | No | ||||
| data.fetched_at | string | No | 2026-06-07T11:00:00Z | |||
| data.has_more | boolean | No | ||||
| data.limit | integer | No | 20 | |||
| data.next_cursor | string | No | ||||
| data.source_url | string | No | https://gamma-api.polymarket.com/events/keyset?tag_slug=macro&limit=20 | |||
| 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/dashboards/macro?limit=10" \
-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