# DraftKings Odds Scraper (`neuro-scraper/draftkings-odds-scraper`) Actor

DraftKings Odds Scraper - sportsbook game lines, player props and futures with American/decimal odds, betting splits, fair probabilities, sharp-book edges, Pick6 player props, DFS contests and salaries, and prediction-market prices.

- **URL**: https://apify.com/neuro-scraper/draftkings-odds-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### DraftKings Odds Scraper

**DraftKings Odds Scraper** extracts DraftKings sportsbook odds - moneyline, spread, totals, player props, futures and alternate lines in American, decimal and fractional format - together with betting splits (handle % and bets %), no-vig fair probabilities, sharp-book edges, value bets and arbitrage checks, Pick6 player props with more / less multipliers, DFS contests with payouts and DFS player salaries, and prediction-market game contracts. One DraftKings Odds Scraper run covers any mix of leagues and products.

> **Also from us:** [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) - download Facebook Reels with captions, views, likes and comments.

#### What the DraftKings Odds Scraper does

The DraftKings Odds Scraper reads the live DraftKings boards for the leagues you choose and writes clean rows to an Apify dataset. Every league id, tab id, slate id and next-page cursor is looked up fresh on every run, so the DraftKings Odds Scraper keeps working when seasons change or new markets open. No login, no cookies and no account are needed. Rows stream to the dataset as soon as they are ready, and the jobs of different leagues and data types run in parallel, so a two-league run with all nine data types finishes in about 20 seconds.

- **Sportsbook game lines** - one row per selection with price, line, implied and fair probability, handle % and bets %.
- **Games** - one row per game with moneyline, spread and total for both teams, fair win probabilities, betting splits, sharp-book comparison, edges, value bets, arbitrage, prediction-market prices, venue, week, opening lines and movement.
- **Player props and futures** - every prop tab and futures tab, filterable by tab, player and stat.
- **Pick6** - every more / less line with multipliers, alternate lines, player photo, team, position and injury tag.
- **DFS** - contests with entry fee, prize pool, first-place prize, paid positions, salary cap and late swap; player salaries with FPPG and opponent rank.
- **Prediction markets** - game contracts with bid, ask, last trade, volume and open interest.
- **Leagues** - every league with odds right now, with its id.

#### Who uses the DraftKings Odds Scraper

Sports bettors use the DraftKings Odds Scraper for line shopping and value betting; modellers feed fair probabilities and line movement into their models; DFS players export salaries and contest payouts; analysts track the public through betting splits; media sites publish odds tables; and developers build odds APIs and alerts on top of the DraftKings Odds Scraper with scheduled runs and webhooks.

### How to use the DraftKings Odds Scraper

1. Open the DraftKings Odds Scraper in Apify Console and click **Try for free**.
2. In **What to scrape**, pick the data types (for example Games and Sportsbook game lines).
3. In **Leagues**, type the leagues (NFL, NBA ...). Use ALL for every league with odds.
4. Set **Max rows per league and data type** - 20 is plenty for a first look.
5. Optionally add filters: teams, players, stats, dates, live only.
6. Click **Start**. Rows appear in the dataset while the DraftKings Odds Scraper runs.
7. Download the dataset as JSON, CSV, Excel, XML or HTML, or read it with the API.
8. Schedule the DraftKings Odds Scraper (every 5, 15 or 60 minutes) to monitor lines and build opening-line history.

### Input options of the DraftKings Odds Scraper

Every option of the DraftKings Odds Scraper is explained below: what it does, how it works, its values and default, an example and a tip.

#### What to scrape (`dataTypes`)

`dataTypes` - Choose which kinds of rows the DraftKings Odds Scraper writes. Every data type is its own job, so you can mix them in one run: `games` gives one row per game with moneyline, spread, total, fair probabilities, betting splits, sharp-book edges, arbitrage and contract prices; `gameLines` gives one row per selection; `playerProps` and `futures` read the prop and futures tabs; `pick6` gives every Pick6 more/less line with multipliers; `dfsContests` and `dfsPlayers` give DFS contests and salaries; `predictionMarkets` gives game contracts; `leagues` lists every league with odds now.

- **Type:** array; **default:** `["gameLines", "games"]`; **allowed:** gameLines, games, playerProps, futures, pick6, dfsContests, dfsPlayers, predictionMarkets, leagues
- **Example:** `"dataTypes": ["games", "playerProps"]`
- **Tip:** Start with games + gameLines, then add the products you need.

#### Leagues (`leagues`)

`leagues` - The leagues the DraftKings Odds Scraper reads. Type the league name the way the book shows it (NFL, NBA, NHL, MLB, NCAAF, EPL, UFC ...) or a numeric league id; ALL reads every league that has odds right now. League ids, tab ids and slate ids are looked up fresh on every run, so new seasons and new leagues work without changes. A league that is not offered right now is skipped with an error line in the log.

- **Type:** array; **default:** `["NFL", "NBA"]`
- **Example:** `"leagues": ["NFL", "NBA", "NHL"]`
- **Tip:** Use the leagues data type once to see every league name and id that is live today.

#### Sport (all its leagues) (`sport`)

`sport` - Adds every league of one sport to the list, for example Basketball adds NBA, WNBA, college basketball and the international leagues that are priced today. It is combined with `leagues`, so you can name a sport and still add single leagues of other sports. Leave it empty when you only want the leagues you typed.

- **Type:** string; **default:** `""`
- **Example:** `"sport": "Basketball"`
- **Tip:** Combine with a low maxItems to sample a whole sport quickly.

#### Max rows per league and data type (`maxItems`)

`maxItems` - The row limit for each league and each data type separately. With two leagues and two data types and maxItems 20 you get up to 80 rows. The odds boards are one snapshot per league, so the limit cuts the board; prediction contracts follow the exchange's own next-page cursor until the limit is reached.

- **Type:** integer; **default:** `100`
- **Example:** `"maxItems": 50`
- **Tip:** Keep it small for frequent monitoring runs and raise it for a full board export.

#### Player prop categories (`propCategories`)

`propCategories` - Limits player props to the tabs you name, for example Player Points, Player Rebounds, Passing Props or Rushing Props. Names are matched case-insensitively and partly, so "points" matches "Player Points". Empty means every tab whose name contains Player. The tab ids are read from the board on every run.

- **Type:** array; **default:** `[]`
- **Example:** `"propCategories": ["Player Points", "Player Assists"]`
- **Tip:** Use with statTypes and playerNames to target exactly the props you track.

#### Futures categories (`futuresCategories`)

`futuresCategories` - Limits futures to the tabs you name, such as Team Futures, Awards or Wins/Playoffs. Empty means every futures-type tab of the league: futures, awards, winners, season wins, playoffs, MVP, division and conference markets. Each tab is read once per league, and every selection becomes one row with its price, implied and fair probability.

- **Type:** array; **default:** `[]`
- **Example:** `"futuresCategories": ["Team Futures", "Awards"]`
- **Tip:** Futures have no game, so team columns stay empty on these rows.

#### Max prop selections per game (`maxPropsPerGame`)

`maxPropsPerGame` - A cap on player-prop selections per game, so one big game does not use the whole maxItems limit of the league. 0 means no cap. It counts selections, so an over and an under of the same prop count as two rows. Combine it with maxItems to spread props across all games of a slate evenly.

- **Type:** integer; **default:** `0`
- **Example:** `"maxPropsPerGame": 40`
- **Tip:** Set it to maxItems divided by the number of games for an even spread.

#### Event ids (`eventIds`)

`eventIds` - Only games with these DraftKings event ids. The id is the number at the end of a game link (for example 35056398). Use it to follow one or two games closely, for example during a live game, without reading the rest of the board into your dataset. Works for game lines, games and props.

- **Type:** array; **default:** `[]`
- **Example:** `"eventIds": ["35056398"]`
- **Tip:** Read the eventId column of a first run to find the ids.

#### Teams (`teams`)

`teams` - Only games, contests and DFS players of these teams. Any part of the team name or the abbreviation works (Lakers, KC, Celtics, Bills). The filter is applied to sportsbook games, Pick6 is not filtered by team, and DFS contests and players are filtered by the teams of their games.

- **Type:** array; **default:** `[]`
- **Example:** `"teams": ["Chiefs", "Lakers"]`
- **Tip:** Combine with playerProps to get all props of one team.

#### Player names (`playerNames`)

`playerNames` - Only props, Pick6 lines and DFS salaries of these players. Any part of the name works (Mahomes, LeBron James, Tatum). Game lines and games are not affected by this filter, so you can combine it with games to get the board plus the props of your players in one run.

- **Type:** array; **default:** `[]`
- **Example:** `"playerNames": ["Mahomes", "Jayson Tatum"]`
- **Tip:** Use last names to catch name spelling differences.

#### Stat types (`statTypes`)

`statTypes` - Only these stats for Pick6 and props, for example Points, Rebounds, Passing Yards or Strikeouts. Matching is partial and case-insensitive. For Pick6 the matching tabs are read; for props the market name and type are matched. Empty means every stat.

- **Type:** array; **default:** `[]`
- **Example:** `"statTypes": ["Points", "Rebounds"]`
- **Tip:** Pick6 boards change by day; leave it empty first to see the stats on offer.

#### Odds format of the odds column (`oddsFormat`)

`oddsFormat` - Chooses the format of the odds column: american (-110 / +150), decimal (1.91) or fractional (10/11). American, decimal and fractional odds are always also written to their own columns, so this only decides the single column you sort or filter on in a spreadsheet.

- **Type:** string; **default:** `"american"`; **allowed:** american, decimal, fractional
- **Example:** `"oddsFormat": "decimal"`
- **Tip:** Decimal is easiest for edge and arbitrage maths.

#### Include alternate lines (`includeAlternateLines`)

`includeAlternateLines` - Also returns alternate spreads and totals of the game lines tab and the alternate Pick6 lines of each player card. Off means main lines only, which keeps the dataset small. Alternate lines carry isAlternate true and their own fair probability, paired by line.

- **Type:** boolean; **default:** `false`
- **Example:** `"includeAlternateLines": true`
- **Tip:** Turn it on for line-shopping and correlation studies.

#### Live games only (`liveOnly`)

`liveOnly` - Only games that are in play right now. Live rows carry the live score, period and clock when the book shows them. Run it on a schedule every few minutes during games to monitor in-play prices. When no game is live the run ends quickly with zero sportsbook rows.

- **Type:** boolean; **default:** `false`
- **Example:** `"liveOnly": true`
- **Tip:** Combine with eventIds to watch a single game.

#### Days ahead (`daysAhead`)

`daysAhead` - Only games that start within this many days from now. 0 means no limit, so the whole board is read. A value of 1 gives today and tomorrow, which is the usual setting for daily line reports and model inputs.

- **Type:** integer; **default:** `0`
- **Example:** `"daysAhead": 2`
- **Tip:** Use 7 for the NFL week.

#### Start date from (`dateFrom`)

`dateFrom` - Only games that start on or after this date (YYYY-MM-DD, UTC). Works together with dateTo to pick one day or a range, for example one NFL weekend. Contests and DFS slates use their own start time for the same filter.

- **Type:** string; **default:** `""`
- **Example:** `"dateFrom": "2026-11-22"`
- **Tip:** Use dateFrom and dateTo for the same day to export one slate.

#### Start date to (`dateTo`)

`dateTo` - Only games that start on or before this date (YYYY-MM-DD, UTC). Combine it with dateFrom. Events later than this date are skipped before any extra data (splits, sharp prices, contracts) is matched to them, so a narrow window is also faster.

- **Type:** string; **default:** `""`
- **Example:** `"dateTo": "2026-11-24"`
- **Tip:** Leave empty to read until the end of the board.

#### Include betting splits (`includeBettingSplits`)

`includeBettingSplits` - Adds handlePercent (share of the money) and betsPercent (share of the tickets) to moneyline, spread and total selections and to the games rows, so you can see where the public and the money are. All pages of the league are read and matched to each selection by its id.

- **Type:** boolean; **default:** `true`
- **Example:** `"includeBettingSplits": true`
- **Tip:** Big handle with few bets on one side shows where the larger bets are.

#### Compare with a sharp book (edges, arbitrage) (`compareWithSharpBook`)

`compareWithSharpBook` - Prices every game at Pinnacle too and adds the no-vig fair probability of each side, the edge % of the DraftKings price, a valueBets list, an arbitrage check across the books with stake shares, and the sharp book's maximum stake. Games are matched by team names and start time.

- **Type:** boolean; **default:** `true`
- **Example:** `"compareWithSharpBook": true`
- **Tip:** Turn it off when you only need DraftKings prices; the run is a little faster.

#### Minimum edge % for value bets (`minEdgePercent`)

`minEdgePercent` - The minimum edge, in percent, for a DraftKings price to appear in valueBets. The edge is the DraftKings decimal price times the sharp fair probability minus one. Typical sharp edges are small, so 1 to 3 percent is a sensible range; 0 lists every positive edge.

- **Type:** number; **default:** `1`
- **Example:** `"minEdgePercent": 2.5`
- **Tip:** Use with compareWithSharpBook on.

#### Add prediction-market prices to games (`includePredictionMarkets`)

`includePredictionMarkets` - Adds the game's prediction-market contracts to each games row: best bid and ask, last traded probability and market win probability for both teams, volume, open interest and the full home contract in predictionMarket. The contract also enters the arbitrage check as a third price.

- **Type:** boolean; **default:** `true`
- **Example:** `"includePredictionMarkets": true`
- **Tip:** Contracts list games a few days ahead; later games have none yet.

#### Prediction-market series (`kalshiSeries`)

`kalshiSeries` - Series tickers for the predictionMarkets rows, for example KXNFLGAME, KXNBAGAME or KXNHLGAME. Empty means the game series of each chosen league. Each series is read page by page with the exchange's next-page cursor until maxItems is reached, and every contract becomes one row.

- **Type:** array; **default:** `[]`
- **Example:** `"kalshiSeries": ["KXNFLGAME"]`
- **Tip:** Use any series ticker shown on the exchange to export other markets too.

#### Track opening lines and movement (`includeOpeningLines`)

`includeOpeningLines` - Remembers the first prices and lines this Actor sees for every game and returns opening prices, line movement and price movement on later runs. The memory is kept in a named key-value store, so schedule the Actor (for example every hour) to build line history automatically.

- **Type:** boolean; **default:** `true`
- **Example:** `"includeOpeningLines": true`
- **Tip:** Use one historyStoreName per watch list.

#### Line history store name (`historyStoreName`)

`historyStoreName` - Name of the key-value store that keeps the opening lines between runs when includeOpeningLines is on. Use a different name for each watch list or schedule, so their histories do not mix. The store lives in your Apify account and you can export or delete it at any time.

- **Type:** string; **default:** `"draftkings-odds-history"`
- **Example:** `"historyStoreName": "nfl-week-12-history"`
- **Tip:** Delete the store to start a new history.

#### Include venue, week and game links (`includeGameInfo`)

`includeGameInfo` - Adds the venue, the week number, a status text such as Final or the kick-off time, and a game-center link to each games row. One small request per game day and league is made, and games are matched by team abbreviation and name.

- **Type:** boolean; **default:** `true`
- **Example:** `"includeGameInfo": true`
- **Tip:** Turn it off for the fastest possible odds-only runs.

#### DFS game types (`dfsGameTypes`)

`dfsGameTypes` - Only DFS contests of these styles, for example Classic, Showdown Captain Mode, Tiers or Snake. Matching is partial and case-insensitive. Empty means every contest style in the lobby of the league. The style, its rules text, salary cap and late-swap rule are on each contest row.

- **Type:** array; **default:** `[]`
- **Example:** `"dfsGameTypes": ["Classic"]`
- **Tip:** Use with minEntryFee to find the big tournaments.

#### DFS draft group ids (`draftGroupIds`)

`draftGroupIds` - DFS salary slates to read for dfsPlayers rows. The id is the draftGroupId column of a contest row. Empty means the main slate of each league (the Classic slate with the most games that already has a player pool). Each player gives one row with salary, position, FPPG and opponent rank.

- **Type:** array; **default:** `[]`
- **Example:** `"draftGroupIds": ["156775"]`
- **Tip:** Read dfsContests first to see the slate ids.

#### Include DFS contest details (`includeContestDetails`)

`includeContestDetails` - Opens every DFS contest for its payout table: first-place prize, number of paid positions, the full payout list and the contest description. Off makes DFS runs faster but leaves firstPlacePrize, payoutPositions and payouts empty. The salary cap and late-swap rule are added either way.

- **Type:** boolean; **default:** `true`
- **Example:** `"includeContestDetails": true`
- **Tip:** Turn it off for very large contest exports.

#### DFS minimum entry fee ($) (`minEntryFee`)

`minEntryFee` - Only DFS contests with an entry fee of at least this many dollars. 0 means off. Use it with maxEntryFee to pick a fee band, for example 3 to 25 dollars. The filter is applied before contest details are opened, so it also makes the run faster.

- **Type:** number; **default:** `0`
- **Example:** `"minEntryFee": 5`
- **Tip:** Free contests have fee 0 and are removed by any value above 0.

#### DFS maximum entry fee ($) (`maxEntryFee`)

`maxEntryFee` - Only DFS contests with an entry fee of at most this many dollars. 0 means off. Combine it with minEntryFee. Applied before contest details are opened. The entryFee, prizePool and firstPlacePrize columns give the fee and prizes of every contest row.

- **Type:** number; **default:** `0`
- **Example:** `"maxEntryFee": 25`
- **Tip:** Use 1 to list only low-stakes contests.

#### Parallel jobs (`maxConcurrency`)

`maxConcurrency` - How many league and data-type jobs run at the same time, each with its own connection. The default of 8 finishes a two-league, nine-type run in about 20 seconds. Lower it to be gentler, raise it when you read many leagues in one run.

- **Type:** integer; **default:** `8`
- **Example:** `"maxConcurrency": 4`
- **Tip:** Values above 16 rarely help.

#### Sportsbook state (`usState`)

`usState` - The US state (or Ontario) whose DraftKings book is priced. Lines and available markets can differ slightly between state books. NJ is the default. The proxy stays in the US either way; this only chooses which book's prices are returned.

- **Type:** string; **default:** `"NJ"`; **allowed:** NJ, NY, PA, OH, MI, IL, MA, AZ, CO, VA, IN, TN, NC, ON
- **Example:** `"usState": "NY"`
- **Tip:** Match it to the state you bet in.

#### Proxy configuration (`proxyConfiguration`)

`proxyConfiguration` - Apify Proxy settings. US residential IPs are required and are the default: the odds boards refuse datacenter and non-US addresses. You normally do not need to change this. The comparison prices are fetched over a separate connection chosen automatically.

- **Type:** object; **default:** `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US"}`
- **Example:** `"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US"}`
- **Tip:** Keep the default.

### Ready-to-copy DraftKings Odds Scraper inputs

**1. Tonight's NBA and NFL board with splits, sharp edges and arbitrage**

```json
{
  "dataTypes": [
    "games",
    "gameLines"
  ],
  "leagues": [
    "NBA",
    "NFL"
  ],
  "maxItems": 50,
  "includeBettingSplits": true,
  "compareWithSharpBook": true,
  "minEdgePercent": 1.5,
  "daysAhead": 2
}
```

**2. Player props and Pick6 lines of selected players**

```json
{
  "dataTypes": [
    "playerProps",
    "pick6"
  ],
  "leagues": [
    "NBA"
  ],
  "playerNames": [
    "Tatum",
    "Embiid"
  ],
  "statTypes": [
    "Points",
    "Rebounds"
  ],
  "includeAlternateLines": true,
  "maxItems": 200
}
```

**3. DFS contests and the main-slate salaries**

```json
{
  "dataTypes": [
    "dfsContests",
    "dfsPlayers"
  ],
  "leagues": [
    "NFL"
  ],
  "dfsGameTypes": [
    "Classic"
  ],
  "minEntryFee": 3,
  "maxEntryFee": 25,
  "includeContestDetails": true,
  "maxItems": 100
}
```

**4. Every data type for two leagues (the test input)**

```json
{
  "dataTypes": [
    "gameLines",
    "games",
    "playerProps",
    "futures",
    "pick6",
    "dfsContests",
    "dfsPlayers",
    "predictionMarkets",
    "leagues"
  ],
  "leagues": [
    "NBA",
    "NFL"
  ],
  "maxItems": 5
}
```

### Output of the DraftKings Odds Scraper

Each row has a `dataType` column. The first rows of a run come one per data type, then rows stream as they are ready. Here is a shortened games row of the DraftKings Odds Scraper:

```
{
  "dataType": "games",
  "league": "NBA",
  "event": "MIL Bucks @ PHI 76ers",
  "startTime": "2026-11-21T18:10:00Z",
  "homeTeam": "PHI 76ers",
  "awayTeam": "MIL Bucks",
  "homePrice": -545,
  "awayPrice": 411,
  "spreadHome": -11.5,
  "line": 228.5,
  "homeFairProbability": 80.89,
  "homeHandlePercent": 24,
  "sharpBook": "Pinnacle",
  "edgePercent": -2.36,
  "arbitrage": false,
  "venue": "Xfinity Mobile Arena"
}
```

#### Every output field of the DraftKings Odds Scraper

| Field | Meaning |
|---|---|
| `dataType` | Row type: games, gameLines, playerProps, futures, pick6, dfsContests, dfsPlayers, predictionMarkets or leagues. |
| `kind` | Short row kind (game, odds, prop, future, pick6, dfsContest, dfsPlayer, prediction, league). |
| `platform` | DraftKings product the row belongs to: sportsbook, Pick6, DFS or prediction market. |
| `book` | Book or exchange that prices the row (DraftKings, DraftKings Pick6, DraftKings DFS, Kalshi). |
| `bookType` | sportsbook, dfs or exchange. |
| `source` | Product name of the price (e.g. DraftKings Sportsbook). |
| `eventId` | DraftKings event / game id. |
| `dkEventId` | Same DraftKings event id (kept for buyers switching tools). |
| `event` | Game name as DraftKings writes it, e.g. "MIL Bucks @ PHI 76ers". |
| `eventName` | Game or slate name. |
| `game` | Game name (same as `event`). |
| `startTime` | Start time in UTC (ISO 8601). |
| `status` | Status of the game, line or contract (e.g. NOT_STARTED, STARTED, open). |
| `is_live` | true while the game is in play. |
| `homeTeam` | Home team. |
| `awayTeam` | Away team. |
| `homeTeamAbbr` | Home team abbreviation (PHI). |
| `awayTeamAbbr` | Away team abbreviation (MIL). |
| `homeTeamId` | DraftKings id of the home team. |
| `awayTeamId` | DraftKings id of the away team. |
| `homeTeamNickname` | Home team nickname (76ers). |
| `awayTeamNickname` | Away team nickname (Bucks). |
| `homeRotationNumber` | Home rotation number. |
| `awayRotationNumber` | Away rotation number. |
| `liveHomeScore` | Home score while live. |
| `liveAwayScore` | Away score while live. |
| `livePeriod` | Current period while live. |
| `liveClock` | Game clock while live. |
| `homeScore` | Home score (live or final). |
| `awayScore` | Away score (live or final). |
| `sport` | Sport (Basketball, Football ...), or the DFS sport code. |
| `league` | League name (NBA, NFL ...). |
| `leagueName` | League name. |
| `leagueId` | DraftKings league id (read every run). |
| `leagueKey` | League short key. |
| `url` | Link to the game, contest, board or market. |
| `sourceUrl` | Same public link (kept for buyers switching tools). |
| `name` | Name of the row: game, contest, player or contract. |
| `markets` | Every market of the game with all its selections (label, side, line, American and decimal odds). |
| `oddsFormat` | Format used in the `odds` column. |
| `homePrice` | Home moneyline, American (integer). |
| `awayPrice` | Away moneyline, American. |
| `drawPrice` | Draw moneyline, American (three-way sports). |
| `moneylineHome` | Home moneyline as text (+150 / -180). |
| `moneylineAway` | Away moneyline as text. |
| `homeDecimal` | Home moneyline, decimal. |
| `awayDecimal` | Away moneyline, decimal. |
| `drawDecimal` | Draw price, decimal. |
| `homeImpliedProbability` | Implied % of the home price (with the margin). |
| `awayImpliedProbability` | Implied % of the away price. |
| `drawImpliedProbability` | Implied % of the draw price. |
| `homeFairProbability` | No-vig % of the home side (sharp-book price when matched, else DraftKings without the margin). |
| `awayFairProbability` | No-vig % of the away side. |
| `drawFairProbability` | No-vig % of the draw. |
| `overround` | Book margin in % (sum of implied probabilities minus 100). |
| `homeWinProbability` | Home win probability % (fair). |
| `awayWinProbability` | Away win probability % (fair). |
| `favorite` | Team with the shorter moneyline. |
| `spreadHome` | Home spread line. |
| `spreadAway` | Away spread line. |
| `spreadHomePrice` | Price of the home spread. |
| `spreadAwayPrice` | Price of the away spread. |
| `line` | Line of the row: total points on games, the handicap / prop line on selections, the Pick6 target. |
| `totalLine` | Game total (over/under) line. |
| `totalOver` | Price of the over, text. |
| `totalUnder` | Price of the under, text. |
| `overPrice` | Over price, American. |
| `underPrice` | Under price, American. |
| `overDecimal` | Over price, decimal. |
| `underDecimal` | Under price, decimal. |
| `overImpliedProbability` | Implied % of the over. |
| `underImpliedProbability` | Implied % of the under. |
| `overFairProbability` | No-vig % of the over. |
| `underFairProbability` | No-vig % of the under. |
| `homeHandlePercent` | Share of the money on the home moneyline (%). |
| `homeBetsPercent` | Share of the tickets on the home moneyline (%). |
| `awayHandlePercent` | Share of the money on the away moneyline (%). |
| `awayBetsPercent` | Share of the tickets on the away moneyline (%). |
| `handlePercent` | Share of all money wagered on this selection (%). |
| `betsPercent` | Share of all tickets on this selection (%). |
| `sharpBook` | Sharp book used for the comparison (Pinnacle). |
| `pinnacleMatchupId` | Matchup id at the sharp book. |
| `sharpLimitUsd` | Maximum stake the sharp book takes on the moneyline (USD). |
| `limitUsd` | Same limit (USD). |
| `sharpHomePrice` | Sharp-book home moneyline, American. |
| `sharpAwayPrice` | Sharp-book away moneyline, American. |
| `sharpSpreadHome` | Sharp-book home spread. |
| `sharpTotalLine` | Sharp-book total line. |
| `fairProbability` | No-vig probability %: of this selection inside its market, or of the home side on game rows. |
| `homeEdgePercent` | Edge % of the DraftKings home price over the fair price. |
| `awayEdgePercent` | Edge % of the DraftKings away price. |
| `edgePercent` | Best edge % of the game. |
| `bestEdgePercent` | Best edge % of the game. |
| `valueBets` | DraftKings prices with an edge of at least `minEdgePercent` (side, team, price, edge). |
| `kalshiEventTicker` | Prediction-market event ticker of the game. |
| `eventTicker` | Prediction-market event ticker. |
| `homeBid` | Best bid for the home contract (cents = %). |
| `homeAsk` | Best ask for the home contract. |
| `homeLastTradeProbability` | Last traded probability of the home contract. |
| `marketHomeWinProbability` | Market win probability of the home team. |
| `volume` | Contracts traded. |
| `openInterest` | Open contracts. |
| `awayBid` | Best bid for the away contract. |
| `awayAsk` | Best ask for the away contract. |
| `awayLastTradeProbability` | Last traded probability of the away contract. |
| `marketAwayWinProbability` | Market win probability of the away team. |
| `volumeUsd` | Traded volume in USD (approx. contracts x price). |
| `predictionMarket` | The game's home-team contract in full (bid, ask, last, volume, open interest, times, rules). |
| `exchange` | Prediction exchange (Kalshi). |
| `series` | Series ticker (KXNBAGAME ...). |
| `marketTicker` | Contract ticker. |
| `marketTitle` | Market title. |
| `eventSubtitle` | Contract subject (team). |
| `team` | Team of the selection, contract or DFS player. |
| `selection` | What the bet is on (team, Over, Under, a player milestone ...). |
| `side` | home, away, draw, over, under, yes or no. |
| `yesBid` | Best YES bid (cents = %). |
| `yesAsk` | Best YES ask. |
| `noBid` | Best NO bid. |
| `noAsk` | Best NO ask. |
| `price` | American odds as a number (contracts: last price in dollars). |
| `probability` | Implied probability % (contracts: last traded probability). |
| `lastTradeProbability` | Last traded probability %. |
| `previousProbability` | Home win probability on the previous run (games) / previous trade (contracts). |
| `american` | American odds (+150 / -110). |
| `decimal` | Decimal odds. |
| `volume24h` | Contracts traded in 24 h. |
| `liquidityUsd` | Top-of-book liquidity in USD. |
| `openTime` | When this Actor first saw the game's prices. |
| `closeTime` | When trading closes. |
| `expectedExpiration` | Expected settlement time. |
| `result` | Settlement result (yes / no) once settled. |
| `rules` | Settlement rule. |
| `marketType` | Market type (Moneyline, Points O/U, Division Winner ...). |
| `drawBid` | Best bid for the draw contract. |
| `drawAsk` | Best ask for the draw contract. |
| `drawLastTradeProbability` | Last traded probability of the draw. |
| `marketDrawWinProbability` | Market probability of a draw. |
| `booksCount` | How many books / exchanges priced the game in this row. |
| `arbitrage` | true when the best home and away prices across the books add up to a sure profit. |
| `profitPercent` | Profit % of that arbitrage (negative = the combined margin). |
| `legs` | Best price per side (book, decimal, American, stake share). |
| `venue` | Stadium / arena. |
| `week` | Season week number (week-based leagues). |
| `statusDetail` | Status text, e.g. "Sat, November 22nd at 1:00 PM EST" or "Final". |
| `espnLink` | Game-center link of the game. |
| `openHomePrice` | Opening home moneyline. |
| `openAwayPrice` | Opening away moneyline. |
| `openOverPrice` | Opening over price. |
| `openUnderPrice` | Opening under price. |
| `openLine` | Opening home spread. |
| `openTotal` | Opening total. |
| `homePriceMovement` | Home moneyline now minus opening (American points). |
| `awayPriceMovement` | Away moneyline now minus opening. |
| `lineMovement` | Home spread now minus opening. |
| `totalMovement` | Total now minus opening. |
| `scrapedAt` | When the row was scraped (UTC). |
| `market` | Market name (Moneyline, Spread, Total, "Joel Embiid Points O/U" ...). |
| `marketId` | DraftKings market id. |
| `type` | Market type. |
| `category` | Tab of the board (Game Lines, Player Points, Team Futures ...). |
| `categoryId` | Tab id (read every run). |
| `subcategory` | Sub-tab name. |
| `subcategoryId` | Sub-tab id (read every run). |
| `id` | Selection id. |
| `selectionId` | Selection id. |
| `outcome` | Same as `selection`. |
| `outcomeType` | Home, Away, Draw, Over, Under ... |
| `participant` | Team or player of the selection. |
| `participantId` | DraftKings id of the participant. |
| `participantType` | Team or Player. |
| `player` | Player of a prop. |
| `playerId` | Player id. |
| `playerStat` | Season stat shown next to a prop, e.g. "PPG 7.3". |
| `points` | Handicap / total / prop line. |
| `milestoneValue` | Milestone of a "5+ / 10+" prop. |
| `odds` | The price in the format chosen in `oddsFormat`. |
| `decimalOdds` | Decimal odds as displayed (2 decimals). |
| `fractionalOdds` | Fractional odds (10/11). |
| `displayPercentage` | Implied % as displayed by the book. |
| `impliedProbability` | Implied probability % of the price. |
| `isMain` | Main line (not an alternate). |
| `isMainLine` | The market is the main line. |
| `isMainSelection` | The selection is the main one of its market. |
| `isAlternate` | Alternate line. |
| `alternate` | Alternate line. |
| `available` | The price is open for betting / the league has offers. |
| `tags` | Book tags of the selection (SGP, MainPointLine ...). |
| `sport_id` | Pick6 sport id. |
| `sub_league` | Pick6 league abbreviation. |
| `sub_league_name` | Pick6 league full name. |
| `pick_group_id` | Pick6 pick group (slate) id. |
| `pick_group_state` | Upcoming / Live. |
| `pickable_id` | Pick6 player card id. |
| `pickable_market_id` | Pick6 line id. |
| `pick_six_market_id` | Pick6 stat id. |
| `projection_id` | Pick6 selection id of the line. |
| `pickable_market_key` | Pick6 line key (stat-line). |
| `player_name` | Player full name. |
| `player_short_name` | Short player name (J. Tatum). |
| `player_jersey` | Jersey number. |
| `player_position` | Position. |
| `player_status` | Injury / status tag (Q, O ...). |
| `player_team` | Team abbreviation of the player. |
| `player_team_name` | Team full name of the player. |
| `player_image` | Player photo (160 px). |
| `player_image_small` | Player photo (50 px). |
| `stat` | Stat of the line (Points, Passing Yards ...). |
| `stat_abbr` | Stat abbreviation (PTS). |
| `stat_display` | Line and stat as shown ("24.5 Points"). |
| `original_line` | Main (default) line of the player card. |
| `has_target_line` | The line is shown (false for yes/no style picks). |
| `is_alternate_line` | Alternate Pick6 line. |
| `over_label` | Label of the over pick (More). |
| `under_label` | Label of the under pick (Less). |
| `over_multiplier` | Payout multiplier of More. |
| `under_multiplier` | Payout multiplier of Less. |
| `over_formatted` | More multiplier as text (1.2x). |
| `under_formatted` | Less multiplier as text. |
| `is_correlated` | The pick can be combined in correlated entries. |
| `promo_pick_type_id` | Promotion type of the line (1 = standard). |
| `is_gimme` | Gimme Pick promotion line. |
| `is_paused` | Line is paused. |
| `is_live_stat_tracked` | Stat is tracked live. |
| `priority` | Pick6 sort priority. |
| `rank` | Position of the card on the board. |
| `game_id` | Pick6 game id. |
| `game_name` | Pick6 game name (LAC @ DAL). |
| `game_start` | Game start time. |
| `game_status` | Upcoming / Live / Final. |
| `event_format` | TwoTeam or Individual. |
| `home_team_name` | Home team full name. |
| `away_team_name` | Away team full name. |
| `home_team_image` | Home team logo. |
| `away_team_image` | Away team logo. |
| `updated_at` | When the line was read (UTC). |
| `draftGroupId` | DFS draft group (slate) id. |
| `draftableId` | DFS draftable id. |
| `playerDkId` | DraftKings player id. |
| `firstName` | First name. |
| `lastName` | Last name. |
| `shortName` | Short name. |
| `position` | DFS position (QB, RB, PG ...). |
| `rosterSlotId` | Roster slot id (CPT / FLEX in showdown). |
| `salary` | DFS salary. |
| `newsStatus` | News flag (Breaking, Recent). |
| `isDisabled` | Player is locked / not draftable. |
| `teamId` | Team id. |
| `fantasyPointsPerGame` | Fantasy points per game (FPPG). |
| `opponentRank` | Opponent rank vs the position (OPRK). |
| `competitionState` | Game state (Upcoming, InProgress, Final). |
| `allowLateSwap` | Late swap allowed. |
| `gameType` | DFS game type / contest style. |
| `contestId` | DFS contest id. |
| `contestName` | DFS contest name. |
| `entryFee` | Entry fee ($). |
| `prizePool` | Total prizes ($). |
| `prizeDescription` | Prize pool as text. |
| `entries` | Entries so far. |
| `maxEntries` | Maximum entries. |
| `maxEntriesPerUser` | Maximum entries per user. |
| `gameTypeId` | DFS game type id. |
| `isGuaranteed` | Guaranteed prize pool. |
| `isStarred` | Featured contest. |
| `startTimeText` | Start time as shown in the lobby. |
| `gameCount` | Games in the slate. |
| `games` | Games of the contest (teams, start, venue, status). |
| `crownAmount` | Crowns awarded for entering. |
| `salaryCap` | Salary cap of the lineup. |
| `gameTypeDescription` | Rules summary of the game type. |
| `firstPlacePrize` | First-place prize ($). |
| `payoutPositions` | Number of paid positions. |
| `payouts` | Payout table (positions and prize). |
| `contestSummary` | Contest description. |
| `contestState` | Contest state (Upcoming, Live ...). |
| `hasLiveOffers` | League has live offers now. |
| `hasOffers` | Sport has open offers. |
| `regions` | Regions of the league. |
| `sportGroupId` | Sport group id. |

### Which columns can be empty, and why

The DraftKings Odds Scraper fills every column the book publishes for the row. These columns are empty on some rows for the measured reasons below (test run of 2026-11-21, 85 rows):

- `liveHomeScore`, `liveAwayScore`, `livePeriod`, `liveClock`, `homeScore`, `awayScore`: filled only while a game is in play or final. In the test run (Saturday morning US time) no NBA or NFL game had started, so they were empty on every pre-game row - measured, not a gap.
- `drawPrice`, `drawDecimal`, `drawImpliedProbability`, `drawFairProbability`, `drawBid`, `drawAsk`, `drawLastTradeProbability`, `marketDrawWinProbability`: three-way sports only (soccer). Basketball and American football have no draw, so they are null there.
- `handlePercent`, `betsPercent`: betting splits are published for moneyline, spread and total selections only, and only for the games the book lists in its splits (measured: 6 of 6 NBA games, 10 of 14 NFL games of the week). Player props and futures never have splits.
- `homeTeam`, `awayTeam`, `homeTeamAbbr`, `awayTeamAbbr`, `homeTeamId`, `awayTeamId`, `homeTeamNickname`, `awayTeamNickname`, `homeRotationNumber`, `awayRotationNumber`, `eventId`, `venue`: futures (champion, division winner, awards) belong to a season, not a game, so they have no home / away team; multi-game DFS contests list their games in `games` instead of one home / away team and venue.
- `player`, `playerId`, `playerStat`, `team`: `player` and `playerStat` are set on player selections, `team` on team selections - one of them is always empty by design. `playerStat` is shown by the book for points/rebounds style props only, not for milestone props.
- `milestoneValue`: only "5+ / 10+ / 15+" milestone props carry it; over/under props and game lines use `points` instead.
- `points`, `line`, `side`, `outcomeType`, `fairProbability`, `overround`: moneyline-type and futures selections have no handicap line; milestone props are separate yes-bets, so no side and no paired no-vig probability is published for them.
- `valueBets`: an empty list means no DraftKings price beat the sharp fair price by `minEdgePercent` (the normal case for efficient lines; measured 0 of 10 games at 1%).
- `week`: week numbers exist for week-based leagues (NFL, college football). NBA and NHL seasons have no weeks.
- `player_status`: set only when the player carries an injury / status tag (Q, O, GTD); most players have none (9 of 10 in the test).
- `under_multiplier`, `under_formatted`: some Pick6 lines (promo and high/low lines) can only be picked "More"; DraftKings offers no "Less" side for them.
- `result`: prediction contracts get a result only after they settle; open contracts have none.
- `previousProbability`, `openTime`, `openHomePrice`, `homePriceMovement`, `lineMovement`, `totalMovement`: movement needs a previous run: on the first run of a watch list the opening values equal the current ones and the previous probability is empty.
- `predictionMarket`, `kalshiEventTicker`, `homeBid`, `homeAsk`, `awayBid`, `awayAsk`, `volume`, `openInterest`: game contracts are listed only for games a few days out (measured 8 of 10 games matched).

### How much does the DraftKings Odds Scraper cost?

The DraftKings Odds Scraper uses pay-per-event pricing: you pay per result row, from about $1.19 to $1.49 per 1,000 rows depending on your Apify plan, plus a tiny start fee. Example: an hourly schedule of the NBA and NFL games rows (about 25 games) gives 25 x 24 = 600 rows a day, about $0.89 a day at $1.49 per 1,000 rows. A full two-league export with all nine data types and maxItems 100 gives at most 1,800 rows, about $2.68. The Apify free plan includes monthly credit, enough to try the DraftKings Odds Scraper on several boards.

### Use the DraftKings Odds Scraper with the API

Start the DraftKings Odds Scraper from your code with the Apify API or client and read the dataset when it finishes:

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("neuro-scraper/draftkings-odds-scraper").call(run_input={"dataTypes": ["games"], "leagues": ["NFL"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["event"], row["homePrice"], row["awayPrice"], row.get("edgePercent"))
```

You can also call the DraftKings Odds Scraper over plain HTTP (`POST https://api.apify.com/v2/acts/neuro-scraper~draftkings-odds-scraper/run-sync-get-dataset-items?token=...`), connect it to Make, Zapier, n8n, Google Sheets or Slack, and send webhooks when a run finishes.

### DraftKings Odds Scraper features compared with other DraftKings tools

The DraftKings Odds Scraper combines in one Actor what other tools split over several: sportsbook lines and props, betting splits, live scores, Pick6 lines and multipliers, DFS contests and salaries, sharp-book fair prices with edges and arbitrage, prediction-market prices and opening-line tracking. All filters (league, sport, teams, players, stats, dates, live only, event ids, alternate lines, odds format, state book, DFS game type and entry fee) work together.

### Why choose the DraftKings Odds Scraper

- The DraftKings Odds Scraper is fast: parallel jobs and streamed rows.
- The DraftKings Odds Scraper is complete: nine data types in one Actor.
- The DraftKings Odds Scraper is robust: every id and cursor is looked up on each run.
- The DraftKings Odds Scraper is cheap: pay only per row.
- The DraftKings Odds Scraper needs no account.
- The DraftKings Odds Scraper adds fair prices, edges and arbitrage you would otherwise compute yourself.

### FAQ about the DraftKings Odds Scraper

**Do I need a DraftKings account for the DraftKings Odds Scraper?**

No. The DraftKings Odds Scraper needs no login, no cookies and no account.

**Why are my live score columns empty?**

They are filled only while a game is in play. Pre-game rows have no live score - see the empty-columns section.

**How fresh are the odds?**

Prices are read at run time. Schedule the DraftKings Odds Scraper every few minutes for near real-time monitoring.

**How is the fair probability computed?**

From the sharp-book prices without their margin when the game is matched; otherwise from the DraftKings prices without their margin.

**What does arbitrage true mean?**

The best home and away prices across DraftKings, the sharp book and the prediction market add up to a sure profit; `legs` gives the stake share per side.

**Can I get only one game?**

Yes: put its id in eventIds, or use teams.

**Can I choose the state book?**

Yes, with usState (NJ, NY, PA, OH, MI, IL ... or ON for Ontario).

**How do opening lines work?**

The first run stores the prices of each game in a named store; later runs return the opening values and the movement.

**Why does a league give no Pick6 or DFS rows?**

Not every league has a Pick6 board or DFS contests every day; the log says so and the other data types still run.

**How fast is the DraftKings Odds Scraper?**

Jobs run in parallel: 85 rows over nine data types and two leagues took about 20 seconds in the test.

### Related Actors

| Actor | What it extracts |
|---|---|
| [facebook-reels-scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) | Facebook Reels with captions, views and comments |
| [sports-betting-odds-scraper](https://apify.com/neuro-scraper/sports-betting-odds-scraper) | Betting odds of many bookmakers |
| [flashscore-scores-odds-scraper](https://apify.com/neuro-scraper/flashscore-scores-odds-scraper) | Live scores and odds |
| [espn-scores-scraper](https://apify.com/neuro-scraper/espn-scores-scraper) | Scores, schedules and game details |
| [kalshi-prediction-markets-scraper](https://apify.com/neuro-scraper/kalshi-prediction-markets-scraper) | Prediction-market contracts and prices |

### Disclaimer

The DraftKings Odds Scraper returns publicly visible odds and contest information only. It is not affiliated with DraftKings. Gamble responsibly and follow the laws of your state.

# Actor input Schema

## `dataTypes` (type: `array`):

Pick one or more data types. Each type writes its own rows (the `dataType` column tells them apart).

## `leagues` (type: `array`):

League names or league ids exactly as DraftKings lists them, e.g. NFL, NBA, NHL, MLB, NCAAF, College Basketball (M), EPL, or ids like 88808. "ALL" = every league that has odds right now.

## `sport` (type: `string`):

Optional sport name, e.g. Basketball, Football, Hockey, Soccer, Tennis. Adds every league of that sport to the Leagues list.

## `maxItems` (type: `integer`):

How many rows each league gives for each data type (20 x 2 leagues x 2 types = up to 80 rows). Prediction-market rows follow the exchange's own next-page cursor.

## `propCategories` (type: `array`):

Only these prop tabs, e.g. Player Points, Player Rebounds, Passing Props, Rushing Props. Empty = every tab whose name has 'Player' in it.

## `futuresCategories` (type: `array`):

Only these futures tabs, e.g. Team Futures, Awards, Wins/Playoffs. Empty = every futures-type tab (futures, awards, winners, wins, playoffs, MVP, division, conference).

## `maxPropsPerGame` (type: `integer`):

Cap on player-prop selections per game, so one game does not use the whole limit. 0 = no cap.

## `eventIds` (type: `array`):

Only these sportsbook event ids (the number in a game link, e.g. 35056398).

## `teams` (type: `array`):

Only games of these teams (any part of the name or the abbreviation, e.g. Lakers, KC, Celtics).

## `playerNames` (type: `array`):

Only props, Pick6 lines and DFS salaries of these players (any part of the name, e.g. Mahomes, LeBron James).

## `statTypes` (type: `array`):

Only these stats for Pick6 and props, e.g. Points, Rebounds, Passing Yards, Strikeouts. Empty = all.

## `oddsFormat` (type: `string`):

Format of the `odds` column. All three formats are always in their own columns as well.

## `includeAlternateLines` (type: `boolean`):

Also return alternate spreads, totals and alternate Pick6 lines. Off = main lines only.

## `liveOnly` (type: `boolean`):

Only games that are in play right now.

## `daysAhead` (type: `integer`):

Only games starting within this many days from now. 0 = no limit.

## `dateFrom` (type: `string`):

Only games starting on or after this date (YYYY-MM-DD).

## `dateTo` (type: `string`):

Only games starting on or before this date (YYYY-MM-DD).

## `includeBettingSplits` (type: `boolean`):

Add `handlePercent` (share of money) and `betsPercent` (share of tickets) for moneyline, spread and total selections.

## `compareWithSharpBook` (type: `boolean`):

Price each game at Pinnacle too: no-vig fair probabilities, edge % of every DraftKings price, value bets, arbitrage check and the sharp book's limit.

## `minEdgePercent` (type: `number`):

A DraftKings price is listed in `valueBets` when its edge over the sharp fair price is at least this many percent.

## `includePredictionMarkets` (type: `boolean`):

Add each game's prediction-market contract prices (bid, ask, last trade, volume) to the games rows.

## `kalshiSeries` (type: `array`):

Series tickers for the prediction-market rows, e.g. KXNFLGAME, KXNBAGAME, KXNHLGAME. Empty = the game series of the chosen leagues.

## `includeOpeningLines` (type: `boolean`):

Remember the first price and line seen for every game and return opening prices and movement on later runs.

## `historyStoreName` (type: `string`):

Named key-value store that keeps the opening lines between runs. Use one name per watch list.

## `includeGameInfo` (type: `boolean`):

Add venue, week number, status text and a game-center link to game rows.

## `dfsGameTypes` (type: `array`):

Only these DFS contest styles, e.g. Classic, Showdown Captain Mode, Tiers. Empty = all.

## `draftGroupIds` (type: `array`):

DFS salary slates to read for DFS player rows (the dg number of a contest). Empty = the main slates of each league.

## `includeContestDetails` (type: `boolean`):

Open every DFS contest for its payout table (first-place prize, paid positions), salary cap and late-swap rule.

## `minEntryFee` (type: `number`):

Only DFS contests with at least this entry fee. 0 = off.

## `maxEntryFee` (type: `number`):

Only DFS contests with at most this entry fee. 0 = off.

## `maxConcurrency` (type: `integer`):

How many league / data-type jobs run at the same time, each on its own connection. 8 is fast and polite.

## `usState` (type: `string`):

The state whose DraftKings book is priced (lines can differ slightly by state). ON = Ontario, Canada.

## `proxyConfiguration` (type: `object`):

Apify Proxy. US residential IPs are needed and used by default.

## Actor input object example

```json
{
  "dataTypes": [
    "gameLines",
    "games"
  ],
  "leagues": [
    "NFL",
    "NBA"
  ],
  "sport": "",
  "maxItems": 100,
  "propCategories": [],
  "futuresCategories": [],
  "maxPropsPerGame": 0,
  "eventIds": [],
  "teams": [],
  "playerNames": [],
  "statTypes": [],
  "oddsFormat": "american",
  "includeAlternateLines": false,
  "liveOnly": false,
  "daysAhead": 0,
  "dateFrom": "",
  "dateTo": "",
  "includeBettingSplits": true,
  "compareWithSharpBook": true,
  "minEdgePercent": 1,
  "includePredictionMarkets": true,
  "kalshiSeries": [],
  "includeOpeningLines": true,
  "historyStoreName": "draftkings-odds-history",
  "includeGameInfo": true,
  "dfsGameTypes": [],
  "draftGroupIds": [],
  "includeContestDetails": true,
  "minEntryFee": 0,
  "maxEntryFee": 0,
  "maxConcurrency": 8,
  "usState": "NJ",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per result, in the run's default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "dataTypes": [
        "gameLines",
        "games"
    ],
    "leagues": [
        "NFL",
        "NBA"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/draftkings-odds-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "dataTypes": [
        "gameLines",
        "games",
    ],
    "leagues": [
        "NFL",
        "NBA",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/draftkings-odds-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "dataTypes": [
    "gameLines",
    "games"
  ],
  "leagues": [
    "NFL",
    "NBA"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call neuro-scraper/draftkings-odds-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/draftkings-odds-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/t5kSbdFDfLX3Mocvz/builds/7GsfDQqp9GPNWlFvM/openapi.json
