# 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:** 125 total users, 42 monthly users, 98.8% runs succeeded, 1 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/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 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">11 sports, 43+ leagues. Spreads, moneylines, totals, player props, futures.<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:#E8F5E9;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="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="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="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-09TtSjF9Uzs5qfvLc-f9HhMKXsLt-underdog-fantasy-picks-api-logo.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/underdog-player-props" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">Underdog Props</a><br>
<span style="color:#78716C;font-size:12px">Lines and odds</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 (basketball|football|baseball|hockey|soccer|tennis|golf|cricket|motorsports|rugby|snooker), 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). 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 EPL=40253 Champions League=40685 La Liga=40031 Bundesliga=40481 Serie A=40030 F1=84896. 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": [
        {
          "name": "Spread",
          "type": "spread",
          "isMain": true,
          "selections": [
            {
              "label": "WAS Wizards",
              "odds": "+1400",
              "decimalOdds": 15.0,
              "fractionalOdds": "14/1",
              "points": 14.5,
              "outcome": "home"
            },
            {
              "label": "OKC Thunder",
              "odds": "-2800",
              "decimalOdds": 1.04,
              "fractionalOdds": "1/28",
              "points": -14.5,
              "outcome": "away"
            }
          ]
        },
        {
          "name": "Moneyline",
          "type": "moneyline",
          "isMain": true,
          "selections": [
            {
              "label": "WAS Wizards",
              "odds": "+1200",
              "decimalOdds": 13.0,
              "outcome": "home"
            },
            {
              "label": "OKC Thunder",
              "odds": "-2500",
              "decimalOdds": 1.04,
              "outcome": "away"
            }
          ]
        },
        {
          "name": "Total",
          "type": "total",
          "isMain": true,
          "selections": [
            {
              "label": "Over",
              "odds": "-110",
              "decimalOdds": 1.91,
              "points": 226.5,
              "outcome": "over"
            },
            {
              "label": "Under",
              "odds": "-110",
              "decimalOdds": 1.91,
              "points": 226.5,
              "outcome": "under"
            }
          ]
        }
      ]
    }
  ],
  "scrapedAt": "2026-03-21T14:30:00Z"
}
```

#### 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
{
  "name": "Shai Gilgeous-Alexander Over/Under Points",
  "type": "player_prop",
  "selections": [
    {
      "label": "Over",
      "odds": "-115",
      "decimalOdds": 1.87,
      "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. Call `GET /leagues` for the full list.

| 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 |
| Formula 1 | `84896` | Motorsports |
| College Basketball | `92483` | Basketball |
| College Football | `87637` | Football |

### 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)

# Actor input Schema

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

Pick a sport.<br><br><b>Basketball</b> — 3 leagues (NBA, College, ACB)<br><b>Soccer</b> — 20+ leagues (EPL, La Liga, Bundesliga, etc.)<br><b>Hockey</b> — 3 leagues (NHL, SM Liiga, College)

## `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": "basketball",
  "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 = {};

// 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 = {}

# 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("💾 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 '{}' |
apify call zen-studio/draftkings-odds --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "DraftKings Odds API - Real-Time Lines & Player Props",
        "description": "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.",
        "version": "0.0",
        "x-build-id": "58PMP8YSyPKkQpO6V"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/zen-studio~draftkings-odds/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-zen-studio-draftkings-odds",
                "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/zen-studio~draftkings-odds/runs": {
            "post": {
                "operationId": "runs-sync-zen-studio-draftkings-odds",
                "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/zen-studio~draftkings-odds/run-sync": {
            "post": {
                "operationId": "run-sync-zen-studio-draftkings-odds",
                "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",
                "properties": {
                    "sport": {
                        "title": "Sport",
                        "enum": [
                            "basketball",
                            "football",
                            "baseball",
                            "hockey",
                            "soccer",
                            "tennis",
                            "golf",
                            "cricket",
                            "motorsports",
                            "rugby",
                            "snooker"
                        ],
                        "type": "string",
                        "description": "Pick a sport.<br><br><b>Basketball</b> — 3 leagues (NBA, College, ACB)<br><b>Soccer</b> — 20+ leagues (EPL, La Liga, Bundesliga, etc.)<br><b>Hockey</b> — 3 leagues (NHL, SM Liiga, College)",
                        "default": "basketball"
                    },
                    "market": {
                        "title": "Market Type",
                        "enum": [
                            "game_lines",
                            "player_props",
                            "futures",
                            "all"
                        ],
                        "type": "string",
                        "description": "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",
                        "default": "game_lines"
                    },
                    "propTypes": {
                        "title": "Prop Types",
                        "type": "string",
                        "description": "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": {
                        "title": "Max Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "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.",
                        "default": 500
                    },
                    "dayPassPurchase": {
                        "title": "Purchase 24h Day Pass",
                        "type": "boolean",
                        "description": "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.",
                        "default": false
                    },
                    "monthlyPassPurchase": {
                        "title": "Purchase 30-Day Monthly Pass",
                        "type": "boolean",
                        "description": "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.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
