# US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM (`mrdoe/us-sportsbook-odds-line-movement`) Actor

Moneyline, spread and total prices from DraftKings, FanDuel, BetMGM, Caesars, BetRivers and bet365 for NFL, NBA, MLB, NHL, college and MLS games, with the opening line, consensus line and movement since open on every row.

- **URL**: https://apify.com/mrdoe/us-sportsbook-odds-line-movement.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

![US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM - One table of US sportsbook lines with the opening price and the move since open on every row.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/us-sportsbook-odds-line-movement--hero.png)

### What does US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM do?

US Sportsbook Odds & Line Movement returns the current moneyline, point spread and total from the major US sportsbooks (DraftKings, FanDuel, BetMGM, Caesars, BetRivers, bet365) for NFL, NBA, MLB, NHL, college football and basketball, WNBA and MLS. Each row is one bookmaker for one game, in decimal and American odds, and carries the opening line, the market consensus line and how far the spread and total have moved since open. The rows feed straight into the odds comparison and value-bet Actors.

### Why use US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM?

- Six US sportsbooks in one Actor.
- Opening and consensus lines on every row.
- Spread and total movement since open.
- Decimal and American odds side by side.
- Plugs into the odds comparison and value-bet Actors.

### What makes this different

Sportsbook sites show only their own current price and hide the opening line. This Actor puts every major US book next to the open and the market consensus for the same game, so line shopping and steam detection need no extra joins.

### How it works

![US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/us-sportsbook-odds-line-movement--how-it-works.png)

1. **Your input** — choose the leagues and, if you like, the bookmakers.
2. **The Actor collects it** — the Actor reads the current board for each league.
3. **Your output** — you get one row per game and bookmaker with the line movement attached.

### What data can you extract?

The dataset has 20 fields per row:

| Field | Type | Description |
|---|---|---|
| `matchId` | string | Game ID. |
| `bookmaker` | string | Bookmaker the prices belong to. |
| `sport` | string | League code in lower case. |
| `league` | string | League code. |
| `home` | string | Home team. |
| `away` | string | Away team. |
| `homeAbbr` | string | Home team abbreviation. |
| `awayAbbr` | string | Away team abbreviation. |
| `startTime` | string | Scheduled start (ISO 8601). |
| `status` | string | scheduled, inprogress or complete. |
| `isLive` | boolean | True while the game is in play. |
| `week` | integer | Week number where the league uses weeks. |
| `odds` | object | Decimal odds: moneyline, spread (with line) and total (with line). |
| `oddsAmerican` | object | The same prices in American format. |
| `openLine` | object | Opening line: moneyline, spread and total. |
| `consensusLine` | object | Market consensus line. |
| `movement` | object | Points the spread and total have moved since the open. |
| `bettors` | integer | Number of bettors tracking the game. |
| `lineUpdatedAt` | string | When this bookmaker's line last changed. |
| `scrapedAt` | string | ISO timestamp of collection. |

### How to use US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM

![US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/us-sportsbook-odds-line-movement--input.png)

1. Open the Actor and go to the **Input** tab.
2. Pick one or more **Leagues** and press Start. Filter **Bookmakers** if you only want some. Set **Max results** to 0 for every game on the board.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `leagues` | array | No | `["nfl"]` | Leagues to collect: nfl, nba, mlb, nhl, ncaaf, ncaab, wnba, mls. Leagues out of season return nothing. |
| `bookmakers` | array | No | `[]` | Only keep these bookmakers, for example DraftKings, FanDuel, BetMGM, Caesars, BetRivers, bet365. Leave empty for all available. |
| `includeCompleted` | boolean | No | `false` | Also return games that have already been played, with their closing lines. |
| `maxResults` | integer | No | `5` | Maximum number of rows (one row per game and bookmaker) returned. Default is 5 for a quick test; set 0 to return everything available. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Optional. The data is public and works without a proxy. |

### Output Data

![US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/us-sportsbook-odds-line-movement--output.png)

`odds` holds decimal prices for `moneyline`, `spread` and `total` (with their `line`); `oddsAmerican` holds the same in American format. `openLine` and `consensusLine` show the opening and consensus numbers, and `movement` shows how many points the spread and total have moved since the open.

![US Sportsbook Odds & Line Movement: DraftKings, FanDuel, BetMGM field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/us-sportsbook-odds-line-movement--fields.png)

A real dataset item:

```json
{
  "matchId": "290872",
  "bookmaker": "DraftKings",
  "sport": "nfl",
  "league": "NFL",
  "home": "Los Angeles Rams",
  "away": "New York Giants",
  "homeAbbr": "LA",
  "awayAbbr": "NYG",
  "startTime": "2026-09-22T00:15:00.000Z",
  "status": "scheduled",
  "isLive": false,
  "week": 2,
  "odds": {
    "moneyline": {
      "home": 1.345,
      "away": 3.35,
      "draw": null
    },
    "spread": {
      "line": -6.5,
      "home": 1.87,
      "away": 1.952
    },
    "total": {
      "line": 47.5,
      "over": 1.909,
      "under": 1.909
    }
  },
  "oddsAmerican": {
    "moneyline": {
      "home": -290,
      "away": 235,
      "draw": null
    },
    "spread": {
      "line": -6.5,
      "home": -115,
      "away": -105
    },
    "total": {
      "line": 47.5,
      "over": -110,
      "under": -110
    }
  },
  "openLine": {
    "moneylineHome": -380,
    "moneylineAway": 300,
    "spreadHome": -8.5,
    "total": 48.5
  },
  "consensusLine": {
    "moneylineHome": -305,
    "moneylineAway": 243,
    "spreadHome": -6.5,
    "total": 47.5
  },
  "movement": {
    "spread": 2,
    "total": -1
  },
  "bettors": 58857,
  "lineUpdatedAt": "2026-09-21T12:31:18.271808+00:00",
  "scrapedAt": "2026-09-21T13:52:54.348Z"
}
```

### Usage Examples

#### This week's NFL lines

```json
{
  "leagues": [
    "nfl"
  ],
  "maxResults": 0
}
```

#### DraftKings and FanDuel MLB

```json
{
  "leagues": [
    "mlb"
  ],
  "bookmakers": [
    "DraftKings",
    "FanDuel"
  ],
  "maxResults": 0
}
```

#### Several leagues at once

```json
{
  "leagues": [
    "nfl",
    "ncaaf",
    "mlb",
    "nhl"
  ],
  "maxResults": 0
}
```

### Tips for Best Results

- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Only games currently on the board are returned, so a league out of season returns nothing.
- Books shown are the New Jersey lines; other states can differ slightly.
- Betting-percentage splits are not included.
- Lines move constantly; a row is a snapshot at collection time.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it need an account or API key?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed results?

No. You are only charged for results that are written to the dataset.

#### Do I need an account or login?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for using the data in line with the source's terms and applicable law. The Actor collects publicly available data only and is not affiliated with the source.

# Actor input Schema

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

Leagues to collect: nfl, nba, mlb, nhl, ncaaf, ncaab, wnba, mls. Leagues out of season return nothing.

## `bookmakers` (type: `array`):

Only keep these bookmakers, for example DraftKings, FanDuel, BetMGM, Caesars, BetRivers, bet365. Leave empty for all available.

## `includeCompleted` (type: `boolean`):

Also return games that have already been played, with their closing lines.

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

Maximum number of rows (one row per game and bookmaker) returned. Default is 5 for a quick test; set 0 to return everything available.

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

Optional. The data is public and works without a proxy.

## Actor input object example

```json
{
  "leagues": [
    "nfl"
  ],
  "bookmakers": [],
  "includeCompleted": false,
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "leagues": [
        "nfl"
    ],
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/us-sportsbook-odds-line-movement").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 = {
    "leagues": ["nfl"],
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/us-sportsbook-odds-line-movement").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 '{
  "leagues": [
    "nfl"
  ],
  "maxResults": 5
}' |
apify call mrdoe/us-sportsbook-odds-line-movement --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/us-sportsbook-odds-line-movement"
        }
    }
}
```

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/i1ty8bbcx0Lg1xJeH/builds/l7fGJDA8HTwoycSme/openapi.json
