PredictIt Markets Scraper
Pricing
Pay per event
PredictIt Markets Scraper
Scrape real-time prediction market data & historical odds from PredictIt.org. Ideal for election forecasting, algorithmic trading & arbitrage. Extract detailed contract prices, volumes & chart history. Reliable, fast & scalable JSON/CSV/Excel export for advanced analysis.
Pricing
Pay per event
Rating
5.0
(2)
Developer

Muhammet Akkurt
Actor stats
2
Bookmarked
3
Total users
2
Monthly active users
10 days ago
Last modified
Categories
Share

PredictIt Scraper: Real-time Election & Prediction Market Data API
Extract real-time and historical election betting odds, political forecasting data, and market trends from PredictIt.org.
The PredictIt Markets Scraper is a powerful Apify Actor designed for data analysts, political forecasters, and algorithmic traders. It provides direct access to prediction market data, allowing you to scrape market names, contract prices, trading volumes, and historical chart data without restrictions.
Whether you are tracking 2024 Election odds, monitoring political sentiment, or building arbitrage models, this tool delivers structured data in JSON, CSV, Excel, or HTML formats.
Why use PredictIt Scraper?
π― Perfect for
- π³οΈ Political Forecasting: Analyze real-time betting odds for US Elections (2024, 2026, 2028).
- π Quantitative Trading: Build arbitrage models and algortihmic trading strategies using price history.
- π Market Research: Track public sentiment on policy changes, cabinet nominations, and global events.
- πΉ Data Journalism: Create data visualizations of shifting election probabilities and political trends.
- π Academic Research: Access high-quality granular data for socio-political studies.
β¨ Key Features
- β Real-time Odds & Prices - Fetch live Buy/Sell prices for all contracts across 200+ markets.
- β Historical Chart Data - Analyze trends with detailed price history (24H, 7D, 30D, 90D).
- β Arbitrage Ready - Identify mispricing opportunities between contracts and markets.
- β Proxy Rotation - Built-in intelligent proxy management for 100% reliability and scale.
- β Direct Market Access - Scrape specific markets via ID or URL for targeted monitoring.
- β Detailed Contract Metadata - Get open dates, rules, images, and trading volume stats.
- β Flexible Export - Download structured datasets in JSON, CSV, Excel, XML, or HTML.
What data can PredictIt Markets Scraper extract?
π Market Information
| Field | Description |
|---|---|
marketId | Unique market identifier |
marketName | Market question/title |
type | Market type (e.g., "Margin Linked") |
status | Market status (Open/Closed) |
totalSharesTraded | Total shares traded |
totalTrades | Number of trades |
marketImageUrl | Market image URL |
marketUrl | Market URL slug |
π Contract Information (per market)
| Field | Description |
|---|---|
contractId | Unique contract identifier |
contractName | Contract answer/option |
lastTradePrice | Last traded price |
bestYesPrice | Best Yes price |
bestNoPrice | Best No price |
todaysChange | Price change today |
totalTrades | Contract trade count |
startDate | Contract start date |
endDate | Contract end date |
How to Scrape PredictIt Odds & Data
Quick Start Guide
- Select sort type - Trade Volume, Price Change, New Arrivals, or Expiring
- Choose time period (for Trade Volume/Price Change) - Today, Week, Month, All
- Set a limit (optional) - How many markets to scrape (0 = unlimited)
- Enable details (optional) - Set
fetchDetailstotruefor full market/contract data - Run the Actor - Data will be automatically collected
- Download results - Export in JSON, CSV, Excel, or HTML format
Direct Fetching Guide
- Enter Market IDs or URLs - Paste a list of specific markets you want to scrape
- Run the Actor - Detailed data will be fetched for these markets (bypassing search)
Input Example
{"orderBy": "VOLUME","timePeriod": "24H","limit": 100,"fetchDetails": true,"fetchChartData": true,"chartTimespan": "24H","chartMaxContracts": 6}
Sort Options
| Sort | Description |
|---|---|
VOLUME | Most Traded (Volume) |
PRICE_ACTION | Biggest Movers (Price Action) |
LATEST | Newly Added |
ENDING_SOON | Expiring Soon |
Time Periods (for VOLUME and PRICE_ACTION)
| Period | Description |
|---|---|
24H | Last 24 Hours |
7D | Last 7 Days |
30D | Last 30 Days |
ALL | All Time |
Chart Data Options
| Option | Description |
|---|---|
fetchChartData | Enable historical chart data fetching |
chartTimespan | Chart timespan: 24H, 7D, 30D, 90D |
chartMaxContracts | Max contracts in chart (1-20, default: 6) |
Output
You can download the dataset in JSON, CSV, Excel, or HTML formats.
Output Example
{"marketId": 8523,"type": "Margin Linked","marketName": "How many Trump truths 1/20-1/26?","totalSharesTraded": 8418,"marketImageUrl": "https://cdn1.predictit.org/images/Markets/cfb4273a-1aa9-4d55-8dcc-9aa647cb7418.png","contracts": [{"contractId": 33528,"contractName": "116 or more","startDate": "2026-01-20T16:23:15.95","endDate": "01/27/2026 11:00 AM (ET)","lastTradePrice": 0.99,"lastClosePrice": 0.99,"bestYesPrice": 0.99,"bestNoPrice": 0.02,"contractImageUrl": "https://cdn1.predictit.org/images/Contracts/8ca85dbc-f4a1-480d-b4e3-cdabd047ba7b.jpg","maxShareValue": 1.00,"todaysChange": 0.0,"todaysChangePercentage": 0.0,"hasTodaysChange": false,"totalTrades": 114},{"contractId": 33522,"contractName": "56 to 65","startDate": "2026-01-20T16:23:15.95","endDate": "01/27/2026 11:00 AM (ET)","lastTradePrice": 0.01,"lastClosePrice": 0.01,"bestYesPrice": 0.01,"bestNoPrice": null,"contractImageUrl": "https://cdn1.predictit.org/images/Contracts/8ca85dbc-f4a1-480d-b4e3-cdabd047ba7b.jpg","maxShareValue": 1.00,"todaysChange": 0.0,"todaysChangePercentage": 0.0,"hasTodaysChange": false,"totalTrades": 61}],"isMarketWatched": false,"marketUrl": "How-many-truths-will-Trump-issue-from-Jan-20-through-Jan-26","totalTrades": 504,"userHasOwnership": false,"status": "Open"}
Chart Data Output Example (when fetchChartData is enabled)
{"marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","chartData": {"timespan": "24H","maxContracts": 6,"data": [{"marketId": 8153,"contractId": 31937,"contractName": "Newsom","date": "2026-01-25T22:00:00","dateString": "2026-01-25T22:00:00.0000000","openSharePrice": 0.32,"highSharePrice": 0.32,"lowSharePrice": 0.32,"closeSharePrice": 0.32,"tradeVolume": 0,"lineColor": "#0D8ECF"},{"marketId": 8153,"contractId": 31937,"contractName": "Newsom","date": "2026-01-25T23:00:00","dateString": "2026-01-25T23:00:00.0000000","openSharePrice": 0.32,"highSharePrice": 0.32,"lowSharePrice": 0.32,"closeSharePrice": 0.32,"tradeVolume": 0,"lineColor": "#0D8ECF"},{"marketId": 8153,"contractId": 31937,"contractName": "Newsom","date": "2026-01-26T00:00:00","dateString": "2026-01-26T00:00:00.0000000","openSharePrice": 0.32,"highSharePrice": 0.32,"lowSharePrice": 0.32,"closeSharePrice": 0.32,"tradeVolume": 0,"lineColor": "#0D8ECF"},{"marketId": 8153,"contractId": 31937,"contractName": "Newsom","date": "2026-01-26T01:00:00","dateString": "2026-01-26T01:00:00.0000000","openSharePrice": 0.32,"highSharePrice": 0.32,"lowSharePrice": 0.32,"closeSharePrice": 0.32,"tradeVolume": 0,"lineColor": "#0D8ECF"},{"marketId": 8153,"contractId": 31935,"contractName": "Buttigieg","date": "2026-01-26T20:00:00","dateString": "2026-01-26T20:00:00.0000000","openSharePrice": 0.05,"highSharePrice": 0.05,"lowSharePrice": 0.05,"closeSharePrice": 0.05,"tradeVolume": 0,"lineColor": "#000080"},{"marketId": 8153,"contractId": 31935,"contractName": "Buttigieg","date": "2026-01-26T21:00:00","dateString": "2026-01-26T21:00:00.0000000","openSharePrice": 0.05,"highSharePrice": 0.05,"lowSharePrice": 0.05,"closeSharePrice": 0.05,"tradeVolume": 0,"lineColor": "#000080"}]}}
Detailed Output Example (when fetchDetails is enabled)
{"marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","imageName": "https://cdn1.predictit.org/images/Markets/ec39922c-1207-4d36-b701-8f2457d57eec.png","marketType": 3,"dateEndString": "NA","isActive": true,"rule": "The contract that resolves to Yes shall be that which identifies the person who wins the 2028 nomination of the Democratic Party for U.S. president. <br /><br />Replacement of the nominee for any reason prior to election day will have no impact on the resolution of this market.<br /><br />PredictItβs decisions and determinations under this rule shall be at PredictItβs sole discretion and shall be final.","userHasOwnership": false,"userHasTradeHistory": false,"userInvestment": 0,"userMaxPayout": 0,"info": null,"dateOpened": "2025-07-15T13:15:54.377","isMarketWatched": false,"seoTitle": "2028 Presidential Predictions | 2028 Democratic nominee?","seoDescription": "Find out the odds of who will be the 2028 US Democratic presidential nominee. Get the latest 2028 predictions on PredictIt. PredictIt enables you to follow along with 2028 election predictions, and more! You can even make money on PredictIt! ","marketUrl": "Who-will-win-the-2028-Democratic-presidential-nomination","status": "Open","isOpen": true,"isOpenStatusMessage": "Open","isTradingSuspended": false,"isTradingSuspendedMessage": null,"isEngineBusy": false,"isEngineBusyMessage": null,"disqus_Identifier": "8153","disqus_Title": "PredictIt | Who will win the 2028 Democratic presidential nomination?","disqus_UserAuth": null,"disqus_Url": "https://www.predictit.org/markets/detail/8153/Who-will-win-the-2028-Democratic-presidential-nomination","disqus_PrevThreadID": null,"disqus_NextThreadID": null,"disqus_ArchivedCommentsTotal": 0,"econIndicatorTradeStatus": 0,"marketWarning": null,"contracts": [{"contractId": 31937,"contractName": "Gavin Newsom","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/a898b196-9a0f-454e-99fe-36e21c62f343.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_a898b196-9a0f-454e-99fe-36e21c62f343.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.32,"lastClosePrice": 0.33,"bestYesPrice": 0.33,"bestYesQuantity": 3,"bestNoPrice": 0.68,"bestNoQuantity": 476,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 0,"minimumClipSize": 1},{"contractId": 31936,"contractName": "A. Ocasio-Cortez","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/5b927e73-c6a1-474e-90b8-73e265392785.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_5b927e73-c6a1-474e-90b8-73e265392785.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.11,"lastClosePrice": 0.11,"bestYesPrice": 0.12,"bestYesQuantity": 1,"bestNoPrice": 0.89,"bestNoQuantity": 199,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 1,"minimumClipSize": 1},{"contractId": 31934,"contractName": "Kamala Harris","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/a3463586-c56e-4d27-8d29-e73af99ef44f.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_a3463586-c56e-4d27-8d29-e73af99ef44f.png","isActive": true,"isOpen": true,"lastTradePrice": 0.08,"lastClosePrice": 0.08,"bestYesPrice": 0.08,"bestYesQuantity": 8,"bestNoPrice": 0.93,"bestNoQuantity": 938,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 2,"minimumClipSize": 1},{"contractId": 31940,"contractName": "Josh Shapiro","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/bf71c5ee-548b-4026-865b-25c93130d86d.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_bf71c5ee-548b-4026-865b-25c93130d86d.png","isActive": true,"isOpen": true,"lastTradePrice": 0.07,"lastClosePrice": 0.08,"bestYesPrice": 0.08,"bestYesQuantity": 110,"bestNoPrice": 0.93,"bestNoQuantity": 650,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 3,"minimumClipSize": 1},{"contractId": 31941,"contractName": "Andy Beshear","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/ce58eef9-b47d-44c7-8d09-19e4b712d1ae.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_ce58eef9-b47d-44c7-8d09-19e4b712d1ae.png","isActive": true,"isOpen": true,"lastTradePrice": 0.06,"lastClosePrice": 0.08,"bestYesPrice": 0.08,"bestYesQuantity": 299,"bestNoPrice": 0.94,"bestNoQuantity": 316,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 4,"minimumClipSize": 1},{"contractId": 31935,"contractName": "Pete Buttigieg","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/ba1d1e98-44bd-46c5-8e84-026463ef6d6d.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_ba1d1e98-44bd-46c5-8e84-026463ef6d6d.png","isActive": true,"isOpen": true,"lastTradePrice": 0.05,"lastClosePrice": 0.06,"bestYesPrice": 0.06,"bestYesQuantity": 2632,"bestNoPrice": 0.95,"bestNoQuantity": 288,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 5,"minimumClipSize": 1},{"contractId": 31938,"contractName": "JB Pritzker","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/4d57e9a8-9b8f-4b3b-ae34-807f40b11759.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_4d57e9a8-9b8f-4b3b-ae34-807f40b11759.png","isActive": true,"isOpen": true,"lastTradePrice": 0.05,"lastClosePrice": 0.05,"bestYesPrice": 0.06,"bestYesQuantity": 20,"bestNoPrice": 0.95,"bestNoQuantity": 89,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 6,"minimumClipSize": 1},{"contractId": 31939,"contractName": "Gretchen Whitmer","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/d7daf287-053b-4bf6-8d9c-116583efff70.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_d7daf287-053b-4bf6-8d9c-116583efff70.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.04,"lastClosePrice": 0.05,"bestYesPrice": 0.05,"bestYesQuantity": 708,"bestNoPrice": 0.96,"bestNoQuantity": 5441,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": false,"displayOrder": 7,"minimumClipSize": 1},{"contractId": 32387,"contractName": "Rahm Emanuel","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/d5221dbf-9ee3-48c4-95dd-f5d74aff6ff2.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_d5221dbf-9ee3-48c4-95dd-f5d74aff6ff2.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.04,"lastClosePrice": 0.04,"bestYesPrice": 0.05,"bestYesQuantity": 11,"bestNoPrice": 0.96,"bestNoQuantity": 4085,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-10-08T18:26:39.933","hiddenByDefault": true,"displayOrder": 8,"minimumClipSize": 1},{"contractId": 33094,"contractName": "Mark Kelly","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/969710ab-78b6-4292-a80a-3e446df55433.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_969710ab-78b6-4292-a80a-3e446df55433.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.04,"lastClosePrice": 0.05,"bestYesPrice": 0.05,"bestYesQuantity": 286,"bestNoPrice": 0.96,"bestNoQuantity": 940,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-12-03T18:33:49.42","hiddenByDefault": true,"displayOrder": 9,"minimumClipSize": 1},{"contractId": 31942,"contractName": "Wes Moore","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/1c092424-296b-4077-8fb1-b6f39c071e33.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_1c092424-296b-4077-8fb1-b6f39c071e33.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.03,"lastClosePrice": 0.03,"bestYesPrice": 0.04,"bestYesQuantity": 313,"bestNoPrice": 0.97,"bestNoQuantity": 604,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": true,"displayOrder": 10,"minimumClipSize": 1},{"contractId": 32160,"contractName": "Jon Ossoff","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/3885f5f4-7c18-44e3-9c61-9d37e9773d37.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_3885f5f4-7c18-44e3-9c61-9d37e9773d37.png","isActive": true,"isOpen": true,"lastTradePrice": 0.03,"lastClosePrice": 0.03,"bestYesPrice": 0.04,"bestYesQuantity": 328,"bestNoPrice": 0.97,"bestNoQuantity": 9529,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-17T19:17:36.757","hiddenByDefault": true,"displayOrder": 11,"minimumClipSize": 1},{"contractId": 32017,"contractName": "Ruben Gallego","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/0b68e6de-40ca-4ced-847e-8dec33c55afb.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_0b68e6de-40ca-4ced-847e-8dec33c55afb.png","isActive": true,"isOpen": true,"lastTradePrice": 0.02,"lastClosePrice": 0.03,"bestYesPrice": 0.03,"bestYesQuantity": 24,"bestNoPrice": 0.98,"bestNoQuantity": 90,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": true,"displayOrder": 12,"minimumClipSize": 1},{"contractId": 31943,"contractName": "Stephen A Smith","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/cb187ee2-7c7d-444c-988f-525528131021.png","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_cb187ee2-7c7d-444c-988f-525528131021.png","isActive": true,"isOpen": true,"lastTradePrice": 0.01,"lastClosePrice": 0.01,"bestYesPrice": 0.02,"bestYesQuantity": 2672,"bestNoPrice": 0.99,"bestNoQuantity": 7797,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": true,"displayOrder": 13,"minimumClipSize": 1},{"contractId": 31944,"contractName": "Cory Booker","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/d83b084e-a92d-49f6-aa08-c43b965f945b.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_d83b084e-a92d-49f6-aa08-c43b965f945b.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.01,"lastClosePrice": 0.02,"bestYesPrice": 0.02,"bestYesQuantity": 2891,"bestNoPrice": 0.99,"bestNoQuantity": 5363,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-07-15T13:15:54.377","hiddenByDefault": true,"displayOrder": 14,"minimumClipSize": 1},{"contractId": 32589,"contractName": "Elissa Slotkin","marketId": 8153,"marketName": "Who will win the 2028 Democratic presidential nomination?","contractImageUrl": "https://cdn1.predictit.org/images/Contracts/e1c42119-39e9-4a9e-a145-aa4245ca311a.jpg","contractImageSmallUrl": "https://cdn1.predictit.org/images/Contracts/small_e1c42119-39e9-4a9e-a145-aa4245ca311a.jpg","isActive": true,"isOpen": true,"lastTradePrice": 0.01,"lastClosePrice": 0.01,"bestYesPrice": 0.01,"bestYesQuantity": 1,"bestNoPrice": null,"bestNoQuantity": 0,"userPrediction": -1,"userQuantity": 0,"userOpenOrdersBuyQuantity": 0,"userOpenOrdersSellQuantity": 0,"userAveragePricePerShare": 0,"isTradingSuspended": false,"dateOpened": "2025-10-08T18:25:04.87","hiddenByDefault": true,"displayOrder": 15,"minimumClipSize": 1}]}
Note: Detailed output includes extensive market and contract properties.
π‘ Sorting Tips
- Most Traded (24H): Most active markets right now
- Biggest Movers (24H): Markets with biggest price movements
- Newly Added: recently created markets
- Expiring Soon: Markets about to close
π Export Tips
- JSON: Best for API integrations
- CSV: Perfect for Excel analysis
- Excel: Formatted spreadsheet
- HTML: Human-readable table
π‘ Use Cases
π³οΈ Election 2024 & Political Forecasting
Track real-time probabilities for US Presidential Election, Senate races, and Cabinet Confirmations. Monitor swing state odds and identify trends before major polls.
π Algorithmic Trading & Arbitrage
Identify price discrepancies between related markets (e.g., "Who will win the nomination?" vs "Who will win the Presidency?"). Feed historical data into quantitative models to backtest strategies.
π« Academic & Social Research
Use granular prediction market data to study crowd wisdom, reaction to news events, and market efficiency. Perfect for political science and economics research.
π° Data Journalism & Storytelling
Enhance political coverage with live betting odds. Create engaging visualizations showing how PredictIt markets reacted to debates, scandals, or breaking news.
Input
Sort By (orderBy)
- Most Traded (
VOLUME): Sort by trading activity - Biggest Movers (
PRICE_ACTION): Sort by price movements - New Arrivals (
LATEST): Sort by newest markets - Expiring (
ENDING_SOON): Sort by markets about to close
Time Period (timePeriod)
- Last 24 Hours (
24H) - Last 7 Days (
7D) - Last 30 Days (
30D) - All Time (
ALL)
Note: Time period only applies to Trade Volume and Price Change sorts.
Limit
Number of markets to scrape (0 = unlimited, default: 100)
Fetch Details
Set to true to fetch full detailed data (including all contracts) for each market.
Market IDs or URLs (Direct Fetch)
List of specific Market IDs (e.g., "8153") or URLs (e.g., "https://www.predictit.org/markets/detail/8153/...") to fetch directly.
Note: providing this input disables the standard search/browsing mode.
Integration & API Access
Using Apify API
const ApifyClient = require('apify-client');const client = new ApifyClient({token: 'YOUR_APIFY_TOKEN',});const input = {orderBy: "VOLUME",timePeriod: "24H",limit: 100,fetchDetails: true};const run = await client.actor("YOUR_ACTOR_ID").call(input);const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Scheduling
Schedule regular scraping runs to track market changes:
- Hourly: Monitor active trading periods
- Daily: Track daily price movements
- Weekly: Comprehensive market analysis