# Draftkings Predictions (`hypebridge/draftkings-predictions`) Actor

Scrape prediction markets, odds, and pricing data from DraftKings Predictions platform across sports (NFL, NBA, NHL, CFB, CBB) and financial categories (Economics, Stock Market, Crypto, Commodities)

- **URL**: https://apify.com/hypebridge/draftkings-predictions.md
- **Developed by:** [Hypebridge](https://apify.com/hypebridge) (community)
- **Categories:** Automation, E-commerce, Integrations
- **Stats:** 21 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## DraftKings Predictions Scraper

Scrape prediction markets, odds, and pricing data from [DraftKings Predictions](https://predictions.draftkings.com/) platform.

### Features

- **Multi-Category Support**: Scrape sports (NFL, NBA, NHL, CFB, CBB) and financial markets (Economics, Stock Market, Crypto, Commodities)
- **Flexible Subcategories**: Sports support Games/Futures; financial categories have specific market types (S&P, Bitcoin, Gold, etc.)
- **More Markets**: Scrape additional alternate lines from event detail pages (enabled by default)
- **Complete Market Data**: Extract spreads, totals, and moneyline odds for sports; threshold lines for financial markets
- **Live & Upcoming Events**: Capture both live in-progress events and upcoming matches
- **Team Information**: Team names, logos, and live scores when available

### Supported Categories

#### Sports Categories

| Category | Subcategories  | Description                             |
| -------- | -------------- | --------------------------------------- |
| Featured | -              | Featured/highlighted prediction markets |
| NFL      | games, futures | National Football League                |
| CFB      | games, futures | College Football                        |
| NBA      | games, futures | National Basketball Association         |
| NHL      | games, futures | National Hockey League                  |
| CBB      | games, futures | College Basketball                      |

#### Financial Categories

| Category     | Subcategories                           | Description                       |
| ------------ | --------------------------------------- | --------------------------------- |
| Economics    | -                                       | Economic indicators and forecasts |
| Stock Market | s&p, nasdaq, dow, russell               | Stock index predictions           |
| Crypto       | bitcoin                                 | Cryptocurrency predictions        |
| Commodities  | oil-gas, gold, silver, copper, currency | Commodity market predictions      |

### Input

| Parameter            | Type    | Default  | Description                                                                                                                           |
| -------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `sportsCategory`     | array   | [] (all) | Categories to scrape. Leave empty for all categories.                                                                                 |
| `subcategory`        | string  | ""       | Subcategory to scrape. For sports: `games` or `futures`. For financial categories, see table above. Leave empty for default behavior. |
| `includeMoreMarkets` | boolean | true     | When enabled, scrapes additional market lines from each event's detail page (e.g., alternate spreads, alternate totals).              |

#### Example Input

**Scrape NFL games only:**

```json
{
  "sportsCategory": ["nfl"],
  "subcategory": "games"
}
````

**Scrape NBA futures (outright winners):**

```json
{
  "sportsCategory": ["nba"],
  "subcategory": "futures"
}
```

**Scrape Stock Market Russell index:**

```json
{
  "sportsCategory": ["stock-market"],
  "subcategory": "russell"
}
```

**Scrape Commodities copper markets:**

```json
{
  "sportsCategory": ["commodities"],
  "subcategory": "copper"
}
```

**Scrape Crypto Bitcoin markets:**

```json
{
  "sportsCategory": ["crypto"],
  "subcategory": "bitcoin"
}
```

**Scrape all categories (default settings):**

```json
{
  "sportsCategory": []
}
```

### Output

The scraper produces two types of output based on the category type.

#### Sports Output

Each sports record includes:

- **Event Info**: eventId, homeTeam, awayTeam, eventStatus, eventTime
- **Market Data**: marketType (Spread/Total/Moneyline), line, homeOdds, awayOdds
- **Team Details**: homeTeamLogo, awayTeamLogo, homeScore, awayScore (if live)
- **Metadata**: category, subcategory, type, marketGroupId, marketId, url, isMoreMarkets, scrapedAt

```json
{
  "category": "nfl",
  "subcategory": "games",
  "type": "sport",
  "eventId": "896217",
  "homeTeam": "NE Patriots",
  "awayTeam": "DEN Broncos",
  "homeTeamLogo": "https://dkn.gs/sports/images/nfl/teams/helmets-right-non-ip/160/18415.png",
  "awayTeamLogo": "https://dkn.gs/sports/images/nfl/teams/helmets-right-non-ip/160/18342.png",
  "homeScore": null,
  "awayScore": null,
  "marketType": "Spread",
  "line": "-5.5",
  "homeOdds": "-5.5-104",
  "awayOdds": "+5.5-113",
  "marketGroupId": "DKP2-FHDKOFMM2E6YED",
  "marketId": "DKP2-FHDKOFMM2E6YED-NEXM-5.5",
  "eventStatus": "Upcoming",
  "eventTime": "Sun 3:00 PM",
  "url": "https://predictions.draftkings.com/en/nfl/events/896217",
  "isMoreMarkets": false,
  "scrapedAt": "2026-01-19T12:00:00.000Z"
}
```

#### Financial Output

Each financial record includes:

- **Market Info**: marketTitle, marketIcon, marketGroupId
- **Lines**: Array of threshold lines with description, marketId, yesOdds, noOdds
- **Metadata**: category, subcategory, type, url, isMoreMarkets, scrapedAt

```json
{
  "category": "stock-market",
  "subcategory": "russell",
  "type": "financial",
  "marketTitle": "CME E-mini Russell futures at 10AM ET on Jan. 20th, 2026",
  "marketIcon": "https://predictions.draftkings.com/assets/fallback-images/flame-graph.webp",
  "marketGroupId": "DKP2-ECR10F620",
  "lines": [
    {
      "description": "Above $2,650.00",
      "marketId": "DKP2-ECR10F620-M2650",
      "yesOdds": "-270",
      "noOdds": "+213"
    },
    {
      "description": "Above $2,675.00",
      "marketId": "DKP2-ECR10F620-M2675",
      "yesOdds": "+257",
      "noOdds": "-335"
    }
  ],
  "url": "https://predictions.draftkings.com/en/stock-market/market-group-details/DKP2-ECR10F620",
  "isMoreMarkets": false,
  "scrapedAt": "2026-01-20T05:44:30.377Z"
}
```

### Notes

- Odds are displayed in American format (e.g., -104, +113)
- Sports lines include the point spread value (e.g., -5.5, +2.5)
- Total markets show Over/Under with the line (e.g., "O 42.5-104", "U 42.5-113")
- Live sports events include current scores when available
- Financial markets show Yes/No odds for threshold predictions (e.g., "Above $2,650.00")
- The `type` field distinguishes between `sport` and `financial` records
- When `includeMoreMarkets` is enabled, additional lines are scraped from detail pages and marked with `isMoreMarkets: true`

# Actor input Schema

## `sportsCategory` (type: `array`):

Select which sports or categories to scrape. Leave empty for all categories.

## `subcategory` (type: `string`):

Subcategory to scrape. For sports: 'games' (head-to-head matchups) or 'futures' (outright winners). For financial categories, use specific market types: stock-market (s\&p, nasdaq, dow, russell), commodities (oil-gas, gold, silver, copper, currency), crypto (bitcoin). Leave empty for default behavior.

## `maxResults` (type: `integer`):

Maximum number of items to return. Set to 0 for unlimited results.

## `includeMoreMarkets` (type: `boolean`):

When enabled, scrapes additional market lines from each event's detail page (e.g., alternate spreads, alternate totals). Charged per event detail page scraped.

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

Proxy settings. DraftKings requires residential proxies for sports pages. Financial pages may work with datacenter proxies.

## Actor input object example

```json
{
  "sportsCategory": [
    "crypto"
  ],
  "subcategory": "bitcoin",
  "maxResults": 20,
  "includeMoreMarkets": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `overviewView` (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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hypebridge/draftkings-predictions").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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    } }

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

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

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

```

## CLI example

```bash
echo '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call hypebridge/draftkings-predictions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=hypebridge/draftkings-predictions",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Draftkings Predictions",
        "description": "Scrape prediction markets, odds, and pricing data from DraftKings Predictions platform across sports (NFL, NBA, NHL, CFB, CBB) and financial categories (Economics, Stock Market, Crypto, Commodities)",
        "version": "0.0",
        "x-build-id": "1SKr0dJKoxF7Q6c1N"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/hypebridge~draftkings-predictions/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-hypebridge-draftkings-predictions",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/hypebridge~draftkings-predictions/runs": {
            "post": {
                "operationId": "runs-sync-hypebridge-draftkings-predictions",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/hypebridge~draftkings-predictions/run-sync": {
            "post": {
                "operationId": "run-sync-hypebridge-draftkings-predictions",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "sportsCategory"
                ],
                "properties": {
                    "sportsCategory": {
                        "title": "Sports / Category",
                        "type": "array",
                        "description": "Select which sports or categories to scrape. Leave empty for all categories.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "featured",
                                "nfl",
                                "cfb",
                                "nba",
                                "nhl",
                                "cbb",
                                "economics",
                                "stock-market",
                                "crypto",
                                "commodities"
                            ],
                            "enumTitles": [
                                "Featured",
                                "NFL",
                                "College Football (CFB)",
                                "NBA",
                                "NHL",
                                "College Basketball (CBB)",
                                "Economics",
                                "Stock Market",
                                "Crypto",
                                "Commodities"
                            ]
                        },
                        "default": [
                            "crypto"
                        ]
                    },
                    "subcategory": {
                        "title": "Subcategory",
                        "type": "string",
                        "description": "Subcategory to scrape. For sports: 'games' (head-to-head matchups) or 'futures' (outright winners). For financial categories, use specific market types: stock-market (s&p, nasdaq, dow, russell), commodities (oil-gas, gold, silver, copper, currency), crypto (bitcoin). Leave empty for default behavior.",
                        "default": "bitcoin"
                    },
                    "maxResults": {
                        "title": "Maximum Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of items to return. Set to 0 for unlimited results.",
                        "default": 20
                    },
                    "includeMoreMarkets": {
                        "title": "Include More Markets",
                        "type": "boolean",
                        "description": "When enabled, scrapes additional market lines from each event's detail page (e.g., alternate spreads, alternate totals). Charged per event detail page scraped.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. DraftKings requires residential proxies for sports pages. Financial pages may work with datacenter proxies.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
