# DraftKings Scraper: Sports Odds, DFS Contests, Salaries (`jungle_synthesizer/draftkings-scraper`) Actor

Scrape DraftKings sportsbook odds (spreads, totals, moneylines) for NFL, NBA, MLB, NHL, college football, UFC and top soccer leagues, plus daily fantasy contests (entry fee, prize pool, fill) and DFS player salaries with fantasy points per game. Flat structured rows, no login.

- **URL**: https://apify.com/jungle_synthesizer/draftkings-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Sports, News, Automation
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 record scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Scraper: Sports Odds, DFS Contests, Salaries

Pull live DraftKings sportsbook odds, daily fantasy (DFS) contests and DFS player salaries into flat, analysis-ready rows. One run, one data type, structured output you can drop straight into a spreadsheet, a model or a database. No account needed.

### What you get

Choose a **Data Type** and get one row per record.

#### Sportsbook Odds

One row per betting selection on the featured lines of each game: the spread, the total and the moneyline, both sides of each.

| Field                   | Example                            |
|-------------------------|------------------------------------|
| `league`                | `NHL`                              |
| `eventName`             | `MTL Canadiens @ CHI Blackhawks`   |
| `startTime`             | `2026-10-24T00:10:00.000Z`         |
| `homeTeam` / `awayTeam` | `CHI Blackhawks` / `MTL Canadiens` |
| `marketName`            | `Puck Line`                        |
| `selection`             | `MTL Canadiens`                    |
| `line`                  | `-1.5`                             |
| `oddsAmerican`          | `150`                              |
| `oddsDecimal`           | `2.5`                              |
| `oddsFractional`        | `6/4`                              |
| `impliedProbability`    | `40`                               |
| `url`                   | the DraftKings event page          |

Leagues: NFL, college football, NBA, WNBA, NHL, MLB, UFC, English Premier League, La Liga, Serie A, Bundesliga, Ligue 1, MLS and the Champions League. A league with no games posted returns no rows.

#### DFS Contests

The daily fantasy contest lobby: contest name, game type, entry fee, prize pool, current and maximum entries, entries allowed per user, start time, whether the prize pool is guaranteed, and the contest link.

Sports: NFL, NBA, MLB, NHL, college football and basketball, MMA, golf, tennis, League of Legends, Counter-Strike, NASCAR, soccer, Formula 1 and CFL. Sports that are out of season return no rows.

#### DFS Player Salaries

Player salary on each Classic slate: player name, position, team, game, start time, salary and fantasy points per game, with the slate (draft group) id so you can join players to contests.

### Input

| Field      | Type    | Description                                                                            |
|------------|---------|----------------------------------------------------------------------------------------|
| `dataType` | string  | `odds`, `dfs_contests` or `dfs_players`. Default `odds`                                |
| `leagues`  | array   | Sportsbook leagues for odds. Empty means all of them                                   |
| `sports`   | array   | DFS sports for contests and player salaries. Empty means every sport currently offered |
| `maxItems` | integer | Maximum rows returned across everything selected                                       |

Example:

```json
{
  "dataType": "odds",
  "leagues": ["NFL", "NBA", "NHL", "MLB", "UFC", "EPL"],
  "maxItems": 100
}
```

### Notes on the data

- Odds are a snapshot of what DraftKings is showing at run time. Schedule the actor to build a line-movement history.
- Odds rows carry the featured lines for each game (spread, total, moneyline). Player props and alternate lines are not included.
- American odds are integers, with the minus sign normalised to a plain `-`.
- Everything is the public US sportsbook and lobby view. No account data is collected.

### Output

Results are available as JSON, CSV, Excel or via the Apify API. Separate table views are provided for odds, DFS contests and DFS players.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `resumeCursor` (type: `string`):

Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs).

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

Maximum number of rows to return across all selected leagues or sports.

## `dataType` (type: `string`):

What to collect. Sportsbook Odds returns one row per betting selection (spread, total and moneyline sides) with American, decimal and fractional odds. DFS Contests returns the daily fantasy contest lobby. DFS Player Salaries returns each player salary and fantasy points per game for Classic slates.

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

Leagues to collect odds for when Data Type is Sportsbook Odds. Leave empty for all of them. A league with no games posted returns no rows.

## `sports` (type: `array`):

Sports to collect when Data Type is DFS Contests or DFS Player Salaries. Leave empty for all sports DraftKings is currently offering. Sports that are out of season return no rows.

## Actor input object example

```json
{
  "sp_contact": "Share your email here...",
  "maxItems": 100,
  "dataType": "odds",
  "leagues": [
    "NFL",
    "NBA",
    "NHL",
    "MLB",
    "UFC",
    "EPL"
  ],
  "sports": [
    "NFL",
    "NBA",
    "NHL",
    "MLB"
  ]
}
```

# Actor output Schema

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

No description

# 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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 100,
    "dataType": "odds",
    "leagues": [
        "NFL",
        "NBA",
        "NHL",
        "MLB",
        "UFC",
        "EPL"
    ],
    "sports": [
        "NFL",
        "NBA",
        "NHL",
        "MLB"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/draftkings-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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 100,
    "dataType": "odds",
    "leagues": [
        "NFL",
        "NBA",
        "NHL",
        "MLB",
        "UFC",
        "EPL",
    ],
    "sports": [
        "NFL",
        "NBA",
        "NHL",
        "MLB",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/draftkings-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 '{
  "sp_contact": "Share your email here...",
  "maxItems": 100,
  "dataType": "odds",
  "leagues": [
    "NFL",
    "NBA",
    "NHL",
    "MLB",
    "UFC",
    "EPL"
  ],
  "sports": [
    "NFL",
    "NBA",
    "NHL",
    "MLB"
  ]
}' |
apify call jungle_synthesizer/draftkings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/draftkings-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/SBdPC8Xn0Qipxr1Wc/builds/PEBm8Onr8xR9D3Hge/openapi.json
