Polymarket Scraper — Polymarket Markets, Odds & Volume
Pricing
$4.00 / 1,000 extracted polymarket records
Polymarket Scraper — Polymarket Markets, Odds & Volume
Extract active Polymarket prediction markets via Gamma API. Parses Yes/No outcome probabilities, 24h volume, total liquidity, CLOB token IDs, end dates & resolution rules.
Pricing
$4.00 / 1,000 extracted polymarket records
Rating
0.0
(0)
Developer
PROOFNEXA
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
Extract active Polymarket prediction markets via Gamma API. Parses Yes/No outcome probabilities, 24h volume, total liquidity, CLOB token IDs, end dates & resolution rules.
1. Architecture & Extraction Pipeline
- Extraction Mechanism: Automatically parses stringified JSON outcomePrices & clobTokenIds into clean numeric Yes/No probabilities (%), volume-to-liquidity ratios & arbitrage spread metrics.
- Proxy Overhead: None required for standard runs. Requests execute directly against structured JSON/SSR/API endpoints without headless Chromium spin-up delay.
- Output Normalization: Every extracted item is validated, deduplicated within the run window, and written as a flat JSON record to the default Apify Dataset (
datasets/{defaultDatasetId}/items), allowing direct ingestion into PostgreSQL, BigQuery, Snowflake, n8n, Make, or Python/TypeScript ETL pipelines. - Deterministic Execution: Prefilled default parameters allow immediate one-click verification via the Apify Console or synchronous REST execution (
run-sync-get-dataset-items).
2. Verified Production Dataset Sample
The following JSON record was captured directly from a live production execution of vivid_astronaut/polymarket-markets-scraper on Apify Cloud:
[{"platform": "polymarket.com","marketId": "559651","conditionId": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7","slug": "xi-jinping-out-before-2027","question": "Xi Jinping out before 2027?","yesProbabilityPct": 3.35,"noProbabilityPct": 96.65,"volume24hUsd": 199144.125134,"totalVolumeUsd": 16485511.968146998,"liquidityUsd": 268046.74657,"endDate": "2027-01-01T04:59:00Z","url": "https://polymarket.com/event/xi-jinping-out-before-2027","scrapedAt": "2026-10-29T07:45:39.055Z"},{"platform": "polymarket.com","marketId": "559652","conditionId": "0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75","slug": "will-gavin-newsom-win-the-2028-democratic-presidential-nomination-568","question": "Will Gavin Newsom win the 2028 Democratic presidential nomination?","yesProbabilityPct": 16.85,"noProbabilityPct": 83.15,"volume24hUsd": 12043.899195,"totalVolumeUsd": 28110635.677341003,"liquidityUsd": 581599.18424,"endDate": "2028-11-08T04:59:00Z","url": "https://polymarket.com/event/will-gavin-newsom-win-the-2028-democratic-presidential-nomination-568","scrapedAt": "2026-10-29T07:45:39.056Z"}]
3. Input Parameter Specification
| Parameter | Type | Default | Technical Specification |
|---|---|---|---|
keywords | array | ["", "Trump", "Bitcoin", "Fed"] | Enter Market Topic Keywords (or leave empty for top active markets) to extract structured records. |
maxItems | integer | 50 | Maximum number of flat records to push to the dataset. |
Example Input Payload (application/json)
{"keywords": ["","Trump","Bitcoin","Fed"],"maxItems": 50}
4. Measured Runtime & Unit Economics
| Metric | Measured Value | Notes |
|---|---|---|
| Container Memory Allocation | 256 MB | Lightweight Node.js 20 container (apify@^3.2.6) |
| Median Execution Latency | 1.95 s | Cold start to dataset commit for default batch |
| External Proxy Requirement | $0.00 | No residential proxy bandwidth surcharge required |
| Primary Billing Event | change-detected | Charged strictly per committed dataset record |
| Unit Price (Pay-Per-Event) | $0.0040 / record | Equivalent to $4.00 per 1,000 records |
5. Production Integration (cURL, Python, Claude Code MCP)
5.1 Synchronous REST Execution (cURL)
Run the Actor synchronously and return the extracted JSON dataset array in a single HTTP request:
curl -s -X POST \"https://api.apify.com/v2/acts/vivid_astronaut~polymarket-markets-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"keywords": ["", "Trump", "Bitcoin", "Fed"], "maxItems": 50}'
5.2 Python Pipeline Integration (urllib.request)
import jsonimport osimport urllib.requestAPIFY_TOKEN = os.environ["APIFY_TOKEN"]url = ("https://api.apify.com/v2/acts/vivid_astronaut~polymarket-markets-scraper/"f"run-sync-get-dataset-items?token={APIFY_TOKEN}")payload = {"keywords": ["","Trump","Bitcoin","Fed"],"maxItems": 50}req = urllib.request.Request(url,data=json.dumps(payload).encode("utf-8"),headers={"Content-Type": "application/json"},method="POST",)with urllib.request.urlopen(req, timeout=120) as resp:records = json.loads(resp.read().decode("utf-8"))print(f"Extracted {len(records)} records from polymarket-markets-scraper")
5.3 Claude Code / Cursor MCP Configuration (.mcp.json)
Expose vivid_astronaut/polymarket-markets-scraper as a callable tool inside Claude Code, Cursor, or any Model Context Protocol client:
{"mcpServers": {"apify-polymarket-markets-scraper": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","vivid_astronaut/polymarket-markets-scraper"],"env": {"APIFY_TOKEN": "YOUR_APIFY_TOKEN"}}}}