Polymarket Prediction Markets
Pricing
$0.79 / 1,000 polymarket prediction market results
Polymarket Prediction Markets
Collect structured prediction market odds, volume, liquidity, and metadata from the Polymarket Gamma API with filtering, slug lookup, deduplication, and explicit request and result limits.
Pricing
$0.79 / 1,000 polymarket prediction market results
Rating
0.0
(0)
Developer
Lantern Lab
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Collect structured prediction market odds, volume, liquidity, and metadata from the official Polymarket Gamma public API (gamma-api.polymarket.com) for market research, forecasting datasets, and probability monitoring.
Quick start
{"closed": "false","activeOnly": true,"order": "volumeNum","ascending": false,"search": "","slugs": [],"maxItems": 5,"maxUpstreamRequests": 1}
Input and limits
closed: Filter markets by closed state ("false","true", or"any"). Default"false".activeOnly: Restrict listing queries to active markets (active=true). Defaulttrue.order: Sort markets byvolumeNum,volume24hr,liquidityNum,endDate, orcreatedAt. Default"volumeNum".ascending: Sort ascending whentrue, descending whenfalse. Defaultfalse.search: Optional case-insensitive substring filter applied acrossquestion,slug, anddescription.slugs: Optional list of up to 50 Polymarket market slugs for direct lookup via?slug=<slug>(skips paginated listing mode).maxItems: Default100(hard maximum1,000unique billablemarketrows).maxUpstreamRequests: Default10(hard maximum50); every upstream attempt including failures and paginated listing pages counts.
Requests run sequentially with 1.1-second pacing, a 20-second per-request timeout, a 5 MiB decoded response cap, and a 180-second collection budget (capped by the platform run timeout).
Output and billing
Each market row includes a stable id, question, slug, conditionId, active, closed, archived, parsed outcomes (string[]), outcomePrices (number[]), outcomeOdds (object mapping outcome to price when lengths match), volume, volume24hr, liquidity, startDate, endDate, createdAt, updatedAt, resolutionSource, description (truncated safely to 4,000 characters), url, sourceUrl, and collectedAt.
Example output row:
{"recordType": "market","id": "665374","question": "Will the U.S. invade Iran before 2027?","slug": "will-the-us-invade-iran-before-2027","conditionId": "0x5db999fad322cea2914535aae5517060c3f80ad6d8c0231cde2124a434d16846","active": true,"closed": false,"archived": false,"outcomes": ["Yes", "No"],"outcomePrices": [0.055, 0.945],"outcomeOdds": { "Yes": 0.055, "No": 0.945 },"volume": 81309023.66986401,"volume24hr": 264116.04351600003,"liquidity": 309791.7992,"startDate": "2025-11-05T17:52:17.414Z","endDate": "2027-01-01T04:59:00Z","createdAt": "2025-11-04T19:52:57.799278Z","updatedAt": "2026-11-22T23:43:12.030411Z","resolutionSource": null,"description": "This market will resolve to \"Yes\" if...","url": "https://polymarket.com/market/will-the-us-invade-iran-before-2027","sourceUrl": "https://gamma-api.polymarket.com/markets?limit=5&offset=0&order=volumeNum&ascending=false&closed=false&active=true","collectedAt": "2026-11-23T00:00:00.000Z"}
Only unique real market rows are billed via the market event. Free input_status rows and run_summary / RUN_SUMMARY in the key-value store record totals, charged rows, duplicates, failures, requests sent, and stop reason.
Source and scope
Official public API: https://gamma-api.polymarket.com/markets
Only public read-only Gamma market metadata GET endpoints are used; no wallets, trading keys, order submission, or authenticated endpoints are accessed.