DraftKings Odds API - Real-Time Lines & Player Props
Pricing
from $3.00 / 1,000 results
DraftKings Odds API - Real-Time Lines & Player Props
Scrape real-time DraftKings sportsbook odds: moneyline, spread, totals, player props & futures with American/decimal/fractional odds & lines across NBA, NFL, MLB, NHL, UFC & more. HTTP-only via US residential proxy. No key.
DraftKings Odds Scraper — Real-Time Lines, Player Props & Futures 🎰
Extract live, real-time sportsbook betting odds, moneylines, spreads, over/under totals, player props, and futures across major sports leagues from DraftKings Sportsbook.
This DraftKings odds scraper automatically traverses live game boards and subcategories across NBA, NFL, MLB, NHL, WNBA, college sports (NCAAF, NCAAB), UFC/MMA, soccer (EPL, Champions League), tennis, and PGA golf. It converts complex relational market graphs into clean, de-duplicated rows with American, decimal, and fractional odds, implied probabilities, and participant identifiers.
Export every row directly to JSON, CSV, Excel (XLSX), or pipe live data into quantitative models via the Apify REST API.
⚡ At a glance
| Feature | Specification |
|---|---|
| Target Sportsbook | DraftKings Sportsbook (sportsbook.draftkings.com) |
| Supported Leagues | NBA, NFL, MLB, NHL, WNBA, NCAAF, NCAAB, UFC/MMA, EPL, Tennis, PGA |
| Market Types | Moneylines, Point Spreads, Totals (Over/Under), Player Props, Season Futures, Game Props |
| Odds Formats | American (+114, -110), Decimal (2.14), Fractional (20/21), Implied Probability (51%) |
| Proxy Architecture | Automated US Residential proxy rotation with resilient header management |
| Pagination & Depth | Unlocked for 1,000+ to 10,000+ odds selections per run with multi-sport fan-out |
| Deduplication | Automatic de-duplication on unique selectionId |
| Export Formats | JSON, CSV, Excel (XLSX), XML, RSS, or Apify Dataset API |
| Best For | +EV betting, line shopping, arbitrage detection, sportsbook comparison apps, DFS modeling |
🔎 Why scrape DraftKings odds?
DraftKings is a premier regulated US sportsbook whose pricing shapes the wider sports betting ecosystem. Odds fluctuate continuously based on team news, injuries, weather, sharp action, and betting volume. For bettors, syndicates, and media companies, manual odds tracking is incapable of keeping pace with moving lines.
Common Data Challenges
- Geo-Restrictions: DraftKings Sportsbook restricts access to eligible US regions; requests from international IP ranges or standard datacenters are blocked.
- Dynamic UI Changes: Scraping betting interfaces via browsers is slow, resource-heavy, and susceptible to layout breaking changes.
- Complex Nested Data: Odds, handicaps, player props, and alternate lines are partitioned across numerous subcategory endpoints that require relational joining.
- Rate Limiting: Aggressive scraping without connection management results in IP throttling or incomplete boards.
This DraftKings Odds Scraper addresses these hurdles directly. It retrieves live market data over high-efficiency HTTP connections through US residential IP pools, flattens the nested events, markets, and selections hierarchy, and outputs structured, analysis-ready records with zero overhead.
✨ Key features
- 🏈 Comprehensive League Coverage: Query leagues by popular ticker (
NBA,NFL,MLB,NHL,UFC,EPL) or supply custom numeric DraftKings tournament/league IDs. - 🎯 Targeted Market Categories: Filter extraction to
game-lines(moneyline, spread, total), deepplayer-props(points, rebounds, passing yards), or long-termfutures(division champions, MVP). - 💰 Universal Odds Normalization: Every record includes standardized American odds (
-110,+145), European decimal odds (1.91,2.45), fractional odds, and true implied win probabilities. - 🏟️ Full Matchup Metadata: Rich event context including home team, away team, scheduled kickoff/tip-off timestamps, tournament names, and market subcategories.
- 🔄 Unlocked Multi-Sport Scalability: Extract 1,000+ to 10,000+ betting outcomes in a single run. When no specific league is supplied for large runs, the actor automatically fans out across major active sports.
- ⚡ Lightweight HTTP Architecture: Pure HTTP data ingestion without heavy browser rendering, allowing hundreds of selections to be parsed per second at minimal compute cost.
- 🛡️ Built-in US Residential Routing: Seamless connection rotation ensures continuous uptime and avoids regional access errors.
🎯 High-impact use cases
1. Line Shopping & Odds Comparison Feeds
Integrate DraftKings odds into consumer sports betting portals or personal scrapers alongside FanDuel, BetMGM, and Caesars to display the best available price for every matchup.
2. +EV & Arbitrage Opportunity Detection
Feed real-time lines into algorithmic bots to identify positive expected value (+EV) bets and market arbitrage opportunities against sharp bookmakers (such as Pinnacle or Betfair).
3. Historical Line Movement & Opening Line Tracking
Schedule automated snapshots throughout game week to chart how point spreads and moneylines drift in response to injury reports and betting handle.
4. Daily Fantasy Sports (DFS) & Player Prop Modeling
Extract comprehensive player proposition boards (points, assists, rebounds, passing yards, anytime touchdown scorers) to evaluate player projections against market totals.
5. Media & Editorial Sports Analytics
Automatically pull futures odds for championship contenders, award winners, and playoff qualification to generate automated news stories and infographics.
📥 Input parameters
The actor features simple, flexible configuration:
| Parameter | Type | Default | Description |
|---|---|---|---|
leagues | Array | ["NBA"] | Leagues to scrape by name (NBA, NFL, MLB, NHL, WNBA, NCAAF, NCAAB, UFC, EPL, Tennis, PGA) or numeric ID. |
marketCategory | Select | "all" | Scope of betting markets: all, game-lines (moneyline / spread / total), player-props, or futures. |
maxItems | Integer | 0 | Total maximum odds rows to save across all leagues (0 = no limit / unlimited). |
maxConcurrency | Integer | 3 | Parallel league boards to fetch concurrently (1 to 6). |
proxyConfiguration | Object | US Residential | Automated US residential proxy configuration required to access US sportsbook feeds. |
Example 1: Fast Game Lines Snapshot (Prefill)
{"leagues": ["NBA"],"marketCategory": "game-lines","maxItems": 50,"maxConcurrency": 3}
Example 2: Multi-League Player Props & Totals Sweep
{"leagues": ["NBA", "NHL", "NFL"],"marketCategory": "all","maxItems": 1500,"maxConcurrency": 3}
🧮 Odds Conversion & Sports Betting Math
DraftKings displays odds in standard American format by default, but this actor automatically calculates and returns decimal, fractional, and implied win probability values for every row:
| American Odds | Decimal Odds | Fractional Odds | Implied Probability | Payout on $100 Bet |
|---|---|---|---|---|
| +300 | 4.00 | 3/1 | 25.0% | $400 ($300 profit) |
| +200 | 3.00 | 2/1 | 33.3% | $300 ($200 profit) |
| +150 | 2.50 | 3/2 | 40.0% | $250 ($150 profit) |
| +110 | 2.10 | 11/10 | 47.6% | $210 ($110 profit) |
| -105 | 1.95 | 20/21 | 51.2% | $195 ($95 profit) |
| -110 | 1.91 | 10/11 | 52.4% | $191 ($91 profit) |
| -125 | 1.80 | 4/5 | 55.6% | $180 ($80 profit) |
| -150 | 1.67 | 2/3 | 60.0% | $167 ($67 profit) |
| -200 | 1.50 | 1/2 | 66.7% | $150 ($50 profit) |
| -300 | 1.33 | 1/3 | 75.0% | $133 ($33 profit) |
Formulas Used in Output
- Positive American Odds to Decimal:
(American / 100) + 1 - Negative American Odds to Decimal:
(100 / |American|) + 1 - Implied Win Probability:
(1 / Decimal) * 100
📤 Output data structure
Each extracted row represents a single wagerable selection within a DraftKings betting market.
Example JSON Record (Game Line / Moneyline)
{"sport": "Hockey","league": "NHL","eventName": "CGY Flames @ SJ Sharks","eventStart": "2026-11-10T02:10:00.000Z","homeTeam": "SJ Sharks","awayTeam": "CGY Flames","category": "Game Lines","market": "Moneyline","marketType": "Moneyline","subcategory": "Game","selectionLabel": "CGY Flames","line": null,"outcomeType": "Away","participant": "CGY Flames","oddsAmerican": "+114","oddsDecimal": 2.14,"oddsFractional": "57/50","impliedProbability": "46.7%","trueOdds": 0.4673,"eventId": "30194821","marketId": "89410294","selectionId": "581029482","scrapedAt": "2026-11-10T14:40:00.000Z"}
Output Fields & Coverage Reference
🏆 Matchup & League Metadata
| Field | Type | Coverage | Description |
|---|---|---|---|
sport | String | 🟢 High (100%) | Sport discipline (e.g. Basketball, Football, Hockey) |
league | String | 🟢 High (100%) | League or competition name (e.g. NBA, NFL, NHL) |
eventName | String | 🟢 High (100%) | Full game or matchup title (e.g. BOS Celtics @ NY Knicks) |
eventStart | String | 🟢 High (100%) | Scheduled start time in ISO 8601 UTC format |
homeTeam | String | 🟢 High (95%) | Designated home team or venue host |
awayTeam | String | 🟢 High (95%) | Designated visiting or away team |
eventId | String | 🟢 High (100%) | Persistent DraftKings unique event identifier |
📊 Market & Selection Specifications
| Field | Type | Coverage | Description |
|---|---|---|---|
category | String | 🟢 High (100%) | Market grouping (Game Lines, Player Props, Futures) |
market | String | 🟢 High (100%) | Specific wagering market (e.g., Point Spread, Total Points) |
marketType | String | 🟢 High (100%) | Standardized market classification code |
subcategory | String | 🟢 High (100%) | Tab or grouping subcategory (e.g., Game, 1st Quarter) |
selectionLabel | String | 🟢 High (100%) | Bet label (e.g., Over 224.5, LAL Lakers -4.5) |
line | Number | 🟡 Conditional | Point handicap or over/under threshold (e.g., -4.5, 224.5) |
outcomeType | String | 🟢 High (100%) | Outcome classification (Home, Away, Over, Under) |
participant | String | 🟢 High (95%) | Specific athlete or franchise attached to the outcome |
marketId | String | 🟢 High (100%) | DraftKings unique market identifier |
selectionId | String | 🟢 High (100%) | Unique outcome ID (used for deduplication across categories) |
💵 Odds & Pricing Data
| Field | Type | Coverage | Description |
|---|---|---|---|
oddsAmerican | String | 🟢 High (100%) | Standard US odds format (e.g., -110, +145) |
oddsDecimal | Number | 🟢 High (100%) | European decimal odds format (e.g., 1.91, 2.45) |
oddsFractional | String | 🟢 High (100%) | Traditional UK fractional odds format (e.g., 10/11) |
impliedProbability | String | 🟢 High (100%) | Normalized implied win probability percentage |
trueOdds | Number | 🟢 High (100%) | Precise mathematical probability float |
scrapedAt | String | 🟢 High (100%) | ISO 8601 UTC execution timestamp |
🏀 Supported leagues & ticker dictionary
You can specify leagues using familiar abbreviations or full names:
| Sport | Abbreviation / Name | Numeric ID | Common In-Season Markets |
|---|---|---|---|
| Basketball | NBA | 42648 | Spreads, Moneylines, Totals, Player Points/Rebounds/Assists |
| Basketball | WNBA | 94682 | Game Lines, Player Props, Finals Futures |
| Basketball | NCAAB | 92483 | College Basketball Lines, March Madness Futures |
| Football | NFL | 88808 | Spreads, Totals, Player Passing/Rushing/Receiving Props |
| Football | NCAAF | 87637 | College Football Saturday Slates, Conference Champions |
| Hockey | NHL | 42133 | Puck Line, Moneyline, Over/Under, Player Shots/Points |
| Baseball | MLB | 84240 | Run Line, Moneyline, Pitcher Strikeouts, Home Runs |
| MMA / Combat | UFC / MMA | 9034 | Bout Moneyline, Method of Victory, Round Totals |
| Soccer | EPL / Soccer | 40253 | 3-Way Moneyline, Both Teams to Score, Goal Totals |
| Tennis | Tennis | 44346 | Match Winner, Set Betting, Game Spreads |
| Golf | PGA / Golf | 92492 | Tournament Winner, Top 5/10/20 Finish, 3-Ball Matchups |
💻 API & programmatic integration
Trigger odds extraction programmatically through Apify's official client SDKs:
Python Example
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run_input = {"leagues": ["NBA", "NHL"],"marketCategory": "game-lines","maxItems": 100,"maxConcurrency": 3}run = client.actor("haketa/draftkings-odds-scraper").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{item['eventName']} | {item['market']} | {item['selectionLabel']} ({item['oddsAmerican']})")
Node.js Example
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('haketa/draftkings-odds-scraper').call({leagues: ['NFL'],marketCategory: 'game-lines',maxItems: 50,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.table(items, ['eventName', 'market', 'selectionLabel', 'oddsAmerican', 'oddsDecimal']);
cURL Example
curl -X POST "https://api.apify.com/v2/acts/haketa~draftkings-odds-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"leagues": ["NBA"],"marketCategory": "game-lines","maxItems": 50}'
cURL Example
curl -X POST "https://api.apify.com/v2/acts/haketa~draftkings-odds-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"leagues": ["NBA"],"marketCategory": "game-lines","maxItems": 50}'
⚡ Automated Workflows & Real-Time Alerts
Integrate real-time DraftKings odds directly into alerting channels and automated trading dashboards:
- Telegram & Discord Arbitrage Bots:
- Set up an Apify Actor run on a 5-minute cron schedule.
- Attach an Apify Webhook that forwards newly identified +EV lines or sharp discrepancies to Discord or Telegram channels via webhook URLs.
- Google Sheets Live Odds Board:
- Connect the Apify Google Sheets integration to refresh active matchup lines automatically every 30 minutes.
- Use Google Sheets formulas (
=VLOOKUP(),=SPARKLINE()) to visualize line movement over time.
- Database & Data Warehouse Pipelines:
- Stream structured odds JSON records into Snowflake, BigQuery, PostgreSQL, or Supabase tables for quantitative backtesting.
- Track line openers vs. closing lines (CLV - Closing Line Value) to evaluate predictive betting models.
💡 Best practices for scraping DraftKings odds
- Choose Market Category Strategically: If you only need point spreads and moneylines, set
marketCategory: "game-lines". This skips fetching secondary prop pages and delivers results up to 5x faster. - Track Line Movement on a Schedule: Set up an Apify Schedule to run every 15 or 30 minutes during game days. Join previous runs by
selectionIdoreventIdto track line drift and volume spikes. - Handle Unicode Minuses: DraftKings frequently renders negative signs as Unicode characters (
−U+2212). This actor automatically normalizes all negative values to standard ASCII minus signs (-), preventing math conversion errors in downstream code. - Deduplicate with SelectionId: Every betting outcome has a globally unique
selectionId. When combining multiple categories, filter byselectionIdto guarantee zero duplication. - Monitor Large Futures Slates: Season futures (such as Super Bowl or NBA Championship winners) produce hundreds of selections on a single event. Keep
maxItems: 0to ensure you capture every team on the board.
❓ Frequently asked questions
Do I need a DraftKings account or login?
No. All scraped odds are public lines available to any logged-out visitor browsing the sportsbook. No account, password, or login credentials are required.
Why is a US residential proxy necessary?
DraftKings Sportsbook blocks international IP addresses and restricts datacenter network traffic. The actor is preconfigured with Apify US Residential proxies to ensure stable, reliable access.
How frequently are odds updated?
Every run queries live market boards in real time. Running the actor produces the exact current prices offered by DraftKings at that moment.
Can I scrape college sports and live in-game lines?
Yes! College football (NCAAF) and college basketball (NCAAB) boards are fully supported. Live in-game lines are captured when events are actively in play during the run.
What export options are available?
You can export directly to CSV, Excel (XLSX), JSON, and XML from the Apify web dashboard, or access data programmatically using Apify's Dataset REST API.
Can I calculate Arbitrage or +EV using these outputs?
Yes. By pulling DraftKings decimal odds and comparing them against sharp bookmakers (like Pinnacle or betting exchanges), you can compute arbitrage percentages: (1 / Odds_A) + (1 / Odds_B) < 1.0. Any result below 1.0 represents a mathematical risk-free arbitrage opportunity.
Does this actor support alternate lines and player totals?
Yes. When marketCategory: "all" or "player-props" is selected, alternate spreads, alternate game totals, and specialized player proposition brackets (e.g., Over 1.5, 2.5, 3.5 threes) are extracted.
How quickly can I ingest game lines before tip-off?
Because the actor uses pure HTTP with residential proxy routing, a single league board containing all active game lines typically completes in 5 to 15 seconds.
📋 Changelog
Version 1.2 — November 2026
- Unlocked 1,000+ Deep Pagination: Enabled multi-sport fan-out when running large or default sweeps, easily scaling past 1,000+ betting outcomes.
- Fast Prefill Optimization: Standardized default prefill to 50 game-line selections for rapid sub-minute execution.
- Enhanced Odds Normalization: Added automatic conversion of Unicode minuses to standard ASCII and refined decimal probability formatting.
- Documentation Overhaul: Added rich shields badges, market coverage matrix, and programmatic SDK examples.
Version 1.1 — October 2026
- Added support for player props across NBA, NFL, and NHL.
- Introduced
trueOddsand normalized implied probability percentages. - Enhanced US residential proxy session rotation.
Version 1.0 — Initial Release
- Core sportsbook board scraping for major US sports leagues.
- Relational event, market, and selection hierarchy flattening.
- Support for American, decimal, and fractional odds.