# DraftKings Odds API - Real-Time Lines & Player Props (`zen-studio/draftkings-odds`) Actor

Extract real-time DraftKings sportsbook odds for 11 sports and 43+ leagues. Get spreads, moneylines, totals, player props, and futures in 3 odds formats. Always-on HTTP API. Live in-play odds with scores. NBA, NFL, MLB, NHL, EPL, and more. No login required.

- **URL**: https://apify.com/zen-studio/draftkings-odds.md
- **Developed by:** [Zen Studio](https://apify.com/zen-studio) (community)
- **Categories:** Automation, Integrations, Developer tools
- **Stats:** 348 total users, 61 monthly users, 97.5% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.70 / 1,000 odds requests

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Odds API — Real-Time Lines, Player Props & Futures

<table><tr>
<td style="border-left:4px solid rgb(76,148,94);padding:12px 16px;font-weight:600">Always-on HTTP API — send a GET request, get DraftKings odds back in milliseconds.</td>
</tr></table>

<br>

<table><tr>
<td style="border-left:4px solid rgb(76,148,94);padding:12px 16px">28 sports, 280+ leagues. Spreads, moneylines, totals, player props, futures.<br>Public betting percentages: share of bets and share of money per side.<br>American, decimal, and fractional odds. Live in-play with scores. No account required.</td>
</tr></table>

<br>

<table>
<tr>
<td colspan="4" style="padding:10px 14px;background:#4C945E;border:none;border-radius:4px 4px 0 0">
<span style="color:#FAFAF9;font-size:14px;font-weight:700;letter-spacing:0.5px">Zen Studio Sports Betting</span>
<span style="color:#E8F5E9;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Real-time odds across every major sportsbook</span>
</td>
</tr>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;border-radius:0 0 0 4px;background:#D3EDD9;border-right:none;border-top:none;vertical-align:top;width:25%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-W8rOXiLSj8wrgF96k-PQehXxTEV5-draftkings-real-time-api-logo.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/draftkings-odds" style="color:#4C945E;text-decoration:none;font-weight:700;font-size:14px">DraftKings Odds</a><br>
<span style="color:#4C945E;font-size:12px;font-weight:600">&#10148; You are here</span>
</td>
<td style="background:#E8F5E9;padding:12px 16px;border:1px solid #E7E5E4;border-right:none;border-top:none;vertical-align:top;width:25%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-W8rOXiLSj8wrgF96k-PQehXxTEV5-draftkings-real-time-api-logo.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/draftkings-pick6-player-props" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">Pick6 Props</a><br>
<span style="color:#78716C;font-size:12px">DFS player props</span>
</td>
<td style="background:#E8F5E9;padding:12px 16px;border:1px solid #E7E5E4;border-right:none;border-top:none;vertical-align:top;width:25%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-4AmgQeem8dEgMEiRF-VGffbe665M-prizepicks-scraper-logo.jpeg" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/prizepicks-player-props" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">PrizePicks Props</a><br>
<span style="color:#78716C;font-size:12px">Projections and lines</span>
</td>
<td style="background:#E8F5E9;padding:12px 16px;border:1px solid #E7E5E4;border-radius:0 0 4px 0;border-top:none;vertical-align:top;width:25%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-oLjv3CSV3BhHm5dGN-62o7r64lQq-fanduel-odds-api-logo.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/fanduel-odds" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">FanDuel Odds</a><br>
<span style="color:#78716C;font-size:12px">Every market, props included</span>
</td>
</tr>
</table>

#### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start building with this API.

```
DraftKings Odds API. Base: https://zen-studio--draftkings-odds.apify.actor Auth: ?token=APIFY_TOKEN (get at https://console.apify.com/account/integrations). Endpoints: GET /sports (free, list all sports), GET /leagues?sport=X (leagues for a sport), GET /leagues/{id}?market=game_lines|player_props|futures|all (events with odds), GET /events/{id}?market=X&league={leagueId} (single event detail). Pricing: $0.01/request + $0.0002/row for PPE, or $4.99/24h day pass, or $49/30d monthly pass — free under active pass. Buy pass: POST run with body {"dayPassPurchase":true} or {"monthlyPassPurchase":true}. Batch mode inputs: sport (any slug from GET /sports, e.g. ALL|football|basketball|baseball|hockey|soccer|tennis|golf|mma|cricket|motorsports; read live, new sports work immediately), leagueIds (string, comma-separated league IDs, overrides sport), market (game_lines|player_props|futures|all), propTypes (string, comma-separated stat filter for player_props, e.g. "Strikeouts, Hits"), maxResults (int, default 500, 0=unlimited). Every selection includes odds in 3 formats, impliedProbability, and DraftKings public betting splits betsPercent (share of bets) + handlePercent (share of money) where published. Free tier: 10 lifetime batch runs (capped to 200 rows) or 50 lifetime API calls. League IDs: NBA=42648 NFL=88808 MLB=84240 NHL=42133 WNBA=94682 UFC=9034 College Football=87637 CFB FCS=154752 EPL=40253 Champions League=40685 La Liga=40031 Bundesliga=40481 Serie A=40030 F1=212334. 280+ leagues total, call /leagues for the current list. Full API spec: GET https://api.apify.com/v2/acts/zen-studio~draftkings-odds/builds/default (Bearer TOKEN). OpenAPI spec: /openapi.json?token=TOKEN
```

Also available as an [MCP server](https://mcp.apify.com/) — add `zen-studio/draftkings-odds` for natural language access.

### How to Scrape DraftKings Odds in Real Time

<table align="center" style="border:none;border-collapse:collapse;background:transparent;width:100%">
<tr>
<td align="center" style="border:none;padding:0">
<img src="https://iili.io/qZmpyI2.png" width="840" alt="DraftKings sportsbook odds scraper — NBA, NFL, MLB, NHL spreads, moneylines, and totals"/>
</td>
</tr>
<tr>
<td align="center" style="border:none;padding:8px 0">
<img src="https://iili.io/qVhQ8N9.png" width="72" alt=""/>
</td>
</tr>
<tr>
<td align="center" style="border:none;padding:0">
<a href="https://console.apify.com/actors/W8rOXiLSj8wrgF96k/input"><img src="https://iili.io/qZmynIV.png" width="840" alt="DraftKings odds API — configure sport and market type"/></a>
</td>
</tr>
<tr>
<td align="center" style="border:none;padding:8px 0">
<img src="https://iili.io/qVhQvA7.png" width="72" alt=""/>
</td>
</tr>
<tr>
<td align="center" style="border:none;padding:0">
<a href="https://console.apify.com/actors/W8rOXiLSj8wrgF96k/input"><img src="https://iili.io/qZmycIp.png" width="840" alt="DraftKings real-time API — GET request example for NBA odds"/></a>
</td>
</tr>
<tr>
<td align="center" style="border:none;padding:8px 0">
<img src="https://iili.io/qVhQ8N9.png" width="72" alt=""/>
</td>
</tr>
<tr>
<td align="center" style="border:none;padding:0">
<img src="https://iili.io/qtRw1mF.gif" width="840" alt="DraftKings odds JSON output — American, decimal, fractional odds formats"/>
</td>
</tr>
</table>

### DraftKings Odds API Endpoints

Your API base URL:

```
https://zen-studio--draftkings-odds.apify.actor?token=YOUR_APIFY_TOKEN
```

Five endpoints, all GET. `/health` and `/sports` are free. The rest are billed per request and per row.

<a href="https://console.apify.com/organization/NWYsOG96fMDy8ycdf/actors/W8rOXiLSj8wrgF96k/standby"><img src="https://iili.io/qtfu35N.png" width="840" alt="DraftKings odds API endpoints — real-time REST API with OpenAPI spec"/></a>

The `market` parameter controls what you get back: **game\_lines** (spread, moneyline, total), **player\_props** (points, rebounds, assists, combos, H2H), **futures** (championship, MVP, division winners), or **all** for everything.

### Pricing

Three ways to pay:

| Plan | Price | What you get |
|---|---|---|
| **Pay-per-request** (default) | $0.01 per request + $0.0002 per row | Cheapest for occasional use, scales with volume |
| **24-Hour Day Pass** | $4.99 | Unlimited requests and rows for 24 hours |
| **30-Day Monthly Pass** | $49.00 | Unlimited requests and rows for 30 days |

`/health` and `/sports` are always free.

**When does the pass save money?** If you pull more than 500 requests in a day, the Day Pass is cheaper. If you pull every day, the Monthly Pass is cheaper than 30 Day Passes.

**How to buy a pass:** call the actor once with the pass flag and no other input. The pass is tied to your Apify user ID and activates immediately.

```bash
## 24h Day Pass
curl -X POST "https://api.apify.com/v2/acts/zen-studio~draftkings-odds/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"dayPassPurchase": true}'

## 30-day Monthly Pass
curl -X POST "https://api.apify.com/v2/acts/zen-studio~draftkings-odds/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"monthlyPassPurchase": true}'
```

While a pass is active, **all** request and row charges are waived automatically.

### DraftKings Odds JSON Output

Every response returns the full odds structure below. Real NBA game lines example:

```json
{
  "success": true,
  "league": {
    "id": "42648",
    "name": "NBA",
    "sport": "Basketball",
    "sportId": "2"
  },
  "eventCount": 8,
  "events": [
    {
      "id": "33841191",
      "name": "OKC Thunder @ WAS Wizards",
      "startTime": "2026-03-21T21:10:00Z",
      "status": "NOT_STARTED",
      "homeTeam": {
        "id": "32962",
        "name": "WAS Wizards",
        "abbreviation": "WAS"
      },
      "awayTeam": {
        "id": "32942",
        "name": "OKC Thunder",
        "abbreviation": "OKC"
      },
      "markets": [
        {
          "id": "1_84695475",
          "name": "Spread",
          "type": "spread",
          "isMain": true,
          "selections": [
            {
              "label": "WAS Wizards",
              "odds": "+1400",
              "decimalOdds": 15.0,
              "fractionalOdds": "14/1",
              "impliedProbability": 6.7,
              "betsPercent": 23.0,
              "handlePercent": 34.0,
              "points": 14.5,
              "outcome": "home"
            },
            {
              "label": "OKC Thunder",
              "odds": "-2800",
              "decimalOdds": 1.04,
              "fractionalOdds": "1/28",
              "impliedProbability": 96.6,
              "points": -14.5,
              "outcome": "away"
            }
          ]
        },
        {
          "id": "1_84695476",
          "name": "Moneyline",
          "type": "moneyline",
          "isMain": true,
          "selections": [
            {
              "label": "WAS Wizards",
              "odds": "+1200",
              "decimalOdds": 13.0,
              "fractionalOdds": "12/1",
              "impliedProbability": 7.7,
              "outcome": "home"
            },
            {
              "label": "OKC Thunder",
              "odds": "-2500",
              "decimalOdds": 1.04,
              "fractionalOdds": "1/25",
              "impliedProbability": 96.2,
              "outcome": "away"
            }
          ]
        },
        {
          "id": "1_84695477",
          "name": "Total",
          "type": "total",
          "isMain": true,
          "selections": [
            {
              "label": "Over",
              "odds": "-110",
              "decimalOdds": 1.91,
              "fractionalOdds": "10/11",
              "impliedProbability": 52.4,
              "points": 226.5,
              "outcome": "over"
            },
            {
              "label": "Under",
              "odds": "-110",
              "decimalOdds": 1.91,
              "fractionalOdds": "10/11",
              "impliedProbability": 52.4,
              "points": 226.5,
              "outcome": "under"
            }
          ]
        }
      ]
    }
  ],
  "scrapedAt": "2026-03-21T14:30:00Z"
}
```

#### Main Lines vs Alternate Lines

One rule works on every board:

> a row is the main line when the **market** is not `isAlternate` and the **selection** `isMain`.

In batch mode that is precomputed as the **`isMainLine`** column.

- **`isAlternate`** (market) — the market is an alternate ladder (`Spread Alternate`, `Total Alternate`). Derived from the market name, so you can re-derive it yourself.
- **`isMain`** (selection) — the main rung *of its own market*. On an alternate ladder the top rung still carries it, which is why it is not sufficient alone.

Measured on a full college football board with 484 ladders: the rule leaves exactly one line
on all 484 and never more than one. On an NFL player-prop board it leaves exactly one row per
player, stat and side across 1,726 groups.

The source's own market-level main flag is deliberately not exposed. It is wrong in both
directions: set on alternate ladders, unset on 100 of those 484 ladders that do have a main
line, and on player props true almost only for combo markets such as
`Player A & Player B - Receiving Yards Total`.

#### DraftKings Public Betting Percentages

Every selection carries the share of bets and the share of money DraftKings reports for it,
wherever DraftKings publishes them (typically 50-90% of a league's board):

```json
{
  "label": "SEA Seahawks",
  "odds": "-170",
  "impliedProbability": 63.0,
  "betsPercent": 77.0,
  "handlePercent": 66.0
}
```

- **`betsPercent`** — share of bets placed on this side, the public/ticket count
- **`handlePercent`** — share of money wagered on this side

The two diverging is the signal bettors look for: a side with 77% of tickets but 34% of the
money means many small bets against fewer large ones. Both are numbers, not strings, and are
absent on selections DraftKings does not publish splits for. Available in batch mode as the
`betsPercent` and `handlePercent` columns.

#### DraftKings Live In-Play Odds

When a game is in progress, each event includes live scoring data:

```json
{
  "id": "33841191",
  "name": "OKC Thunder @ WAS Wizards",
  "status": "STARTED",
  "live": {
    "period": 3,
    "clock": "04:22",
    "clockRunning": true,
    "homeScore": 78,
    "awayScore": 95
  },
  "markets": [...]
}
```

#### DraftKings Player Props Data

Use `market=player_props` to get player-level prop lines. Use the `propTypes` parameter (batch mode) to filter by stat type.

```json
{
  "id": "1_84695478",
  "name": "Shai Gilgeous-Alexander Over/Under Points",
  "type": "player_prop",
  "selections": [
    {
      "label": "Over",
      "odds": "-115",
      "decimalOdds": 1.87,
      "fractionalOdds": "20/23",
      "impliedProbability": 53.5,
      "points": 30.5,
      "outcome": "over",
      "participant": {
        "id": "1234567",
        "name": "Shai Gilgeous-Alexander",
        "type": "Player"
      }
    }
  ]
}
```

#### Batch Mode — Prop Type Filter

In batch mode, use `propTypes` to narrow player props by stat type. Comma-separated, partial match, case-insensitive.

```json
{
  "sport": "baseball",
  "market": "player_props",
  "propTypes": "Strikeouts",
  "maxResults": 500
}
```

```json
{
  "sport": "basketball",
  "market": "player_props",
  "propTypes": "Points, Assists, Threes"
}
```

Available prop types vary by sport:

- **Baseball:** Strikeouts, Hits, Home Runs, Total Bases, Stolen Bases, RBIs, Walks, Runs
- **Basketball:** Points, Rebounds, Assists, Threes, Double-Double, Triple-Double
- **Hockey:** Goals, Shots on Goal, Assists, Saves, Blocks, Power Play Points
- **Soccer:** Goalscorer, Shots, Assists, Tackles, Saves, Cards

### DraftKings League IDs

Common leagues for quick reference. The full board covers 280+ leagues across 28 sports and tracks DraftKings as it adds and retires competitions, so call `GET /leagues` (or `GET /leagues?sport=football`) for the current list rather than hardcoding these.

| League | ID | Sport |
|--------|-----|-------|
| NBA | `42648` | Basketball |
| NFL | `88808` | Football |
| MLB | `84240` | Baseball |
| NHL | `42133` | Hockey |
| English Premier League | `40253` | Soccer |
| Champions League | `40685` | Soccer |
| La Liga | `40031` | Soccer |
| Bundesliga | `40481` | Soccer |
| Serie A | `40030` | Soccer |
| Ligue 1 | `40032` | Soccer |
| College Football | `87637` | Football |
| College Football FCS | `154752` | Football |
| College Basketball | `92483` | Basketball |
| WNBA | `94682` | Basketball |
| UFC | `9034` | MMA |
| Formula 1 | `212334` | Motorsports |

### Scheduling

| Cadence | Best For |
|---------|----------|
| Once or twice daily | Daily odds snapshots, content creation |
| Every 1-4 hours | Line comparison, data collection |
| Every 30-60 seconds | Live odds dashboards, arbitrage detection |

### Data Export

Results are available in:

- **JSON** — structured nested data for programmatic use
- **CSV** — flattened rows (batch mode) for spreadsheets
- **Excel** — download from Apify Console

Export directly from Apify Console or via API.

### FAQ — DraftKings Odds Scraper

**How do I scrape DraftKings odds?**
Use the Standby mode endpoints. Send `GET /leagues/42648` to get NBA odds instantly. No setup, no login, no browser.

**What odds formats are available?**
American (+150, -110), decimal (2.50, 1.91), and fractional (3/2, 10/11). All three in every response.

**Does this include live in-play odds?**
Yes. When a game is in progress, the response includes live scores, game clock, current period, and updated odds.

**How often are odds updated?**
Odds reflect the current DraftKings state at the time of your request. For live games, query every 30-60 seconds.

**Do I need a DraftKings account?**
No. All data is publicly available. No login, cookies, or account required.

**Can I get odds for a single event?**
Yes. Use `GET /events/{id}?league={leagueId}&market=all` to get every market for one event.

**What's the difference between Standby and Batch mode?**
Standby is an always-on HTTP API for real-time queries. Batch runs on a schedule and exports all odds to a dataset.

**Can I track line movements?**
Schedule the actor to run periodically and compare odds values across runs using event and selection identifiers.

### Legal Compliance

This Actor extracts publicly available odds data from DraftKings. Users must ensure compliance with DraftKings terms of service and applicable data protection and gambling regulations.

***

[**Start Getting DraftKings Odds Now**](https://console.apify.com/actors/W8rOXiLSj8wrgF96k)

### More Zen Studio scrapers for sports betting

**🏟️ Sportsbook odds**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-oLjv3CSV3BhHm5dGN-62o7r64lQq-fanduel-odds-api-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **FanDuel**
  - [FanDuel Odds API](https://apify.com/zen-studio/fanduel-odds)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-TjShOnNguT17e9hfQ-ntCswWAqze-betmgm-real-time-api-logo-padded.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **BetMGM**
  - [BetMGM Odds API](https://apify.com/zen-studio/betmgm-odds)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-l6JP3yaLczAdUaiSf-yDHq17ycGp-bet365-icon_lc6m4t.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Bet365**
  - [Bet365 Real-Time Odds API](https://apify.com/zen-studio/bet365-real-time-odds)
  - [Bet365 Live Scores API](https://apify.com/zen-studio/bet365-live-scores)
  - [Bet365 Sports Data Scraper](https://apify.com/zen-studio/bet365-sports-data)

**🎯 Daily fantasy & player props**

- <img src="https://api.apify.com/v2/key-value-stores/pJ7iaZsTFhR3k9tjV/records/player-props-aggregator-icon.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Player Props Aggregator**
  - [Player Props Line Shopping](https://apify.com/zen-studio/player-props-aggregator)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-4AmgQeem8dEgMEiRF-VGffbe665M-prizepicks-scraper-logo.jpeg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **PrizePicks**
  - [PrizePicks Player Props Scraper](https://apify.com/zen-studio/prizepicks-player-props)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-09TtSjF9Uzs5qfvLc-f9HhMKXsLt-underdog-fantasy-picks-api-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Underdog Fantasy**
  - [Underdog Fantasy Player Props API](https://apify.com/zen-studio/underdog-player-props)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-vZGwNIMCrwkjp76uR-6jWYFxsPSD-sleeper-fantasy-api-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Sleeper**
  - [Sleeper Player Props](https://apify.com/zen-studio/sleeper-player-props)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-otCGHYjTnE0YKgVNJ-iYqrcfxJiq-draftkings-pick6-api-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **DraftKings Pick6**
  - [DraftKings Pick6 Player Props](https://apify.com/zen-studio/draftkings-pick6-player-props)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-l6JP3yaLczAdUaiSf-yDHq17ycGp-bet365-icon_lc6m4t.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Bet365**
  - [Bet365 Player Props API](https://apify.com/zen-studio/bet365-player-props)

# Actor input Schema

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

Sport to scrape, or <b>ALL</b> for the full board.<br><br>Common values: <code>football</code>, <code>basketball</code>, <code>baseball</code>, <code>hockey</code>, <code>soccer</code>, <code>tennis</code>, <code>golf</code>, <code>mma</code>, <code>cricket</code>, <code>motorsports</code>, <code>boxing</code>, <code>darts</code>, <code>table-tennis</code>, <code>volleyball</code>, <code>handball</code>, <code>rugby</code>.<br><br>Sports are read live, so anything DraftKings adds works here immediately. Call the <code>/sports</code> endpoint for the current list.

## `leagueIds` (type: `string`):

Optional. Comma-separated league IDs to scrape instead of a whole sport, e.g. <code>88808,87637</code> for NFL and College Football. Overrides the sport selection. Look IDs up with the <code>/leagues</code> endpoint.

## `market` (type: `string`):

Which betting markets to include.<br><br><b>Game Lines</b> — spread, moneyline, total<br><b>Player Props</b> — points, rebounds, strikeouts, combos. Use <b>Prop Types</b> below to narrow.<br><b>Futures</b> — championship, MVP, division winners<br><b>All Markets</b> — everything combined

## `propTypes` (type: `string`):

Filter player props by stat type (comma-separated, partial match). Only applies when Market Type is <b>Player Props</b>. Leave empty for all props.<br><br>Matches against prop category names. Examples by sport:<br><br>• <b>Baseball:</b> <code>Strikeouts, Hits, Home Runs, Total Bases, Stolen Bases, RBIs</code><br>• <b>Basketball:</b> <code>Points, Rebounds, Assists, Threes, Double-Double</code><br>• <b>Hockey:</b> <code>Goals, Shots on Goal, Assists, Saves, Blocks</code><br>• <b>Soccer:</b> <code>Goalscorer, Shots, Assists, Tackles, Saves</code>

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

Cap the number of odds rows exported to the dataset. Keeps runs fast and predictable.<br><br>Set to <code>0</code> for unlimited. With <b>Game Lines</b>, 500 covers most sports comfortably. With <b>Player Props</b> or <b>All Markets</b>, you may want to increase this.

## `dayPassPurchase` (type: `boolean`):

Set true to purchase a 24-hour Day Pass ($4.99) for unlimited requests and rows. Run with this flag alone (no sport/market needed) to purchase.

## `monthlyPassPurchase` (type: `boolean`):

Set true to purchase a 30-day Monthly Pass ($49.00) for unlimited requests and rows. Run with this flag alone (no sport/market needed) to purchase.

## Actor input object example

```json
{
  "sport": "ALL",
  "market": "game_lines",
  "maxResults": 500,
  "dayPassPurchase": false,
  "monthlyPassPurchase": false
}
```

# 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 = {
    "sport": "ALL",
    "leagueIds": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("zen-studio/draftkings-odds").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 = {
    "sport": "ALL",
    "leagueIds": "",
}

# Run the Actor and wait for it to finish
run = client.actor("zen-studio/draftkings-odds").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 '{
  "sport": "ALL",
  "leagueIds": ""
}' |
apify call zen-studio/draftkings-odds --silent --output-dataset

```

## MCP server setup

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

```

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/W8rOXiLSj8wrgF96k/builds/c4CnShWNhk5u75cfo/openapi.json
