DraftKings Odds API - Real-Time Lines & Player Props avatar

DraftKings Odds API - Real-Time Lines & Player Props

Pricing

from $3.00 / 1,000 results

Go to Apify Store
DraftKings Odds API - Real-Time Lines & Player Props

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.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

DraftKings Odds Scraper — Real-Time Lines, Player Props & Futures 🎰

Apify Actor Sportsbook Data Format Coverage Maintenance

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

FeatureSpecification
Target SportsbookDraftKings Sportsbook (sportsbook.draftkings.com)
Supported LeaguesNBA, NFL, MLB, NHL, WNBA, NCAAF, NCAAB, UFC/MMA, EPL, Tennis, PGA
Market TypesMoneylines, Point Spreads, Totals (Over/Under), Player Props, Season Futures, Game Props
Odds FormatsAmerican (+114, -110), Decimal (2.14), Fractional (20/21), Implied Probability (51%)
Proxy ArchitectureAutomated US Residential proxy rotation with resilient header management
Pagination & DepthUnlocked for 1,000+ to 10,000+ odds selections per run with multi-sport fan-out
DeduplicationAutomatic de-duplication on unique selectionId
Export FormatsJSON, 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

  1. Geo-Restrictions: DraftKings Sportsbook restricts access to eligible US regions; requests from international IP ranges or standard datacenters are blocked.
  2. Dynamic UI Changes: Scraping betting interfaces via browsers is slow, resource-heavy, and susceptible to layout breaking changes.
  3. Complex Nested Data: Odds, handicaps, player props, and alternate lines are partitioned across numerous subcategory endpoints that require relational joining.
  4. 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), deep player-props (points, rebounds, passing yards), or long-term futures (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:

ParameterTypeDefaultDescription
leaguesArray["NBA"]Leagues to scrape by name (NBA, NFL, MLB, NHL, WNBA, NCAAF, NCAAB, UFC, EPL, Tennis, PGA) or numeric ID.
marketCategorySelect"all"Scope of betting markets: all, game-lines (moneyline / spread / total), player-props, or futures.
maxItemsInteger0Total maximum odds rows to save across all leagues (0 = no limit / unlimited).
maxConcurrencyInteger3Parallel league boards to fetch concurrently (1 to 6).
proxyConfigurationObjectUS ResidentialAutomated 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 OddsDecimal OddsFractional OddsImplied ProbabilityPayout on $100 Bet
+3004.003/125.0%$400 ($300 profit)
+2003.002/133.3%$300 ($200 profit)
+1502.503/240.0%$250 ($150 profit)
+1102.1011/1047.6%$210 ($110 profit)
-1051.9520/2151.2%$195 ($95 profit)
-1101.9110/1152.4%$191 ($91 profit)
-1251.804/555.6%$180 ($80 profit)
-1501.672/360.0%$167 ($67 profit)
-2001.501/266.7%$150 ($50 profit)
-3001.331/375.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
FieldTypeCoverageDescription
sportString🟢 High (100%)Sport discipline (e.g. Basketball, Football, Hockey)
leagueString🟢 High (100%)League or competition name (e.g. NBA, NFL, NHL)
eventNameString🟢 High (100%)Full game or matchup title (e.g. BOS Celtics @ NY Knicks)
eventStartString🟢 High (100%)Scheduled start time in ISO 8601 UTC format
homeTeamString🟢 High (95%)Designated home team or venue host
awayTeamString🟢 High (95%)Designated visiting or away team
eventIdString🟢 High (100%)Persistent DraftKings unique event identifier
📊 Market & Selection Specifications
FieldTypeCoverageDescription
categoryString🟢 High (100%)Market grouping (Game Lines, Player Props, Futures)
marketString🟢 High (100%)Specific wagering market (e.g., Point Spread, Total Points)
marketTypeString🟢 High (100%)Standardized market classification code
subcategoryString🟢 High (100%)Tab or grouping subcategory (e.g., Game, 1st Quarter)
selectionLabelString🟢 High (100%)Bet label (e.g., Over 224.5, LAL Lakers -4.5)
lineNumber🟡 ConditionalPoint handicap or over/under threshold (e.g., -4.5, 224.5)
outcomeTypeString🟢 High (100%)Outcome classification (Home, Away, Over, Under)
participantString🟢 High (95%)Specific athlete or franchise attached to the outcome
marketIdString🟢 High (100%)DraftKings unique market identifier
selectionIdString🟢 High (100%)Unique outcome ID (used for deduplication across categories)
💵 Odds & Pricing Data
FieldTypeCoverageDescription
oddsAmericanString🟢 High (100%)Standard US odds format (e.g., -110, +145)
oddsDecimalNumber🟢 High (100%)European decimal odds format (e.g., 1.91, 2.45)
oddsFractionalString🟢 High (100%)Traditional UK fractional odds format (e.g., 10/11)
impliedProbabilityString🟢 High (100%)Normalized implied win probability percentage
trueOddsNumber🟢 High (100%)Precise mathematical probability float
scrapedAtString🟢 High (100%)ISO 8601 UTC execution timestamp

🏀 Supported leagues & ticker dictionary

You can specify leagues using familiar abbreviations or full names:

SportAbbreviation / NameNumeric IDCommon In-Season Markets
BasketballNBA42648Spreads, Moneylines, Totals, Player Points/Rebounds/Assists
BasketballWNBA94682Game Lines, Player Props, Finals Futures
BasketballNCAAB92483College Basketball Lines, March Madness Futures
FootballNFL88808Spreads, Totals, Player Passing/Rushing/Receiving Props
FootballNCAAF87637College Football Saturday Slates, Conference Champions
HockeyNHL42133Puck Line, Moneyline, Over/Under, Player Shots/Points
BaseballMLB84240Run Line, Moneyline, Pitcher Strikeouts, Home Runs
MMA / CombatUFC / MMA9034Bout Moneyline, Method of Victory, Round Totals
SoccerEPL / Soccer402533-Way Moneyline, Both Teams to Score, Goal Totals
TennisTennis44346Match Winner, Set Betting, Game Spreads
GolfPGA / Golf92492Tournament 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 ApifyClient
client = 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:

  1. 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.
  2. 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.
  3. 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 selectionId or eventId to 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 by selectionId to 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: 0 to 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 trueOdds and 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.