# US Sportsbook Odds: DraftKings, FanDuel, BetMGM + Kalshi (`scrapemint/us-sportsbook-odds-comparison`) Actor

Compare moneyline, spread and total odds across DraftKings, FanDuel, BetMGM, Caesars, bet365, BetRivers, Fanatics and Unibet plus Kalshi and Polymarket, by state: best price, no-vig line, opening line and arbitrage. NFL, NBA, MLB, NHL, college, soccer.

- **URL**: https://apify.com/scrapemint/us-sportsbook-odds-comparison.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Automation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## 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: DraftKings, FanDuel, BetMGM + Kalshi

Compare **moneyline, spread and total** odds across **DraftKings, FanDuel, BetMGM, Caesars, bet365, BetRivers, Fanatics and Unibet**, with **Kalshi and Polymarket** priced alongside, for the **state you bet in**. Every game comes with the **best price per side**, the **no-vig consensus probability**, the **opening line** and an **arbitrage check**. NFL, NBA, MLB, NHL, WNBA, college football and basketball, and soccer. No account, no API key.

### Why by state

US sportsbooks price the same game differently in each state, and not every book is licensed everywhere. Pick `"state": "NY"` and you get New York's DraftKings, FanDuel, BetMGM, BetRivers, Caesars and Fanatics prices, not New Jersey's.

### What you get (one row per game)

For each market (`moneyline`, `spread`, `total`) and side (`home`/`away`/`draw`, `over`/`under`):

| Field | Meaning |
| --- | --- |
| `books` | every book's line and price, e.g. `"DraftKings": { "line": -3.5, "odds": -110 }` |
| `best` | the best sportsbook price for that side (better line first, then better price) |
| `bestPredictionMarket` | the better of Kalshi and Polymarket for that side |
| `consensus`, `open` | consensus line and opening line |
| `noVigProb` | win probability from the consensus with the bookmaker margin removed |
| `sportsbooksQuoting` | how many books post the market |
| `arbitrage` | `impliedSum` of the best prices on all sides, `isArbitrage`, `profitPct` |
| `outlierBooks` | books whose price is more than 12 points of probability away from the consensus (a stale or swapped line); they are left out of `best` and the arbitrage check |

### Example (moneyline, NY)

```json
{
  "league": "nfl",
  "awayTeam": "Carolina Panthers",
  "homeTeam": "Tampa Bay Buccaneers",
  "state": "NY",
  "markets": {
    "moneyline": {
      "sides": {
        "away": { "best": { "book": "Caesars", "odds": 158 }, "bestPredictionMarket": { "market": "Polymarket", "odds": 174 }, "noVigProb": 0.3749 },
        "home": { "best": { "book": "FanDuel", "odds": -176 }, "bestPredictionMarket": { "market": "Polymarket", "odds": -174 }, "noVigProb": 0.6251 }
      },
      "arbitrage": { "impliedSum": 1.0253, "isArbitrage": false, "profitPct": null }
    }
  }
}
```

### Inputs

| Field | Default | Notes |
| --- | --- | --- |
| `leagues` | nfl, nba | nfl, nba, mlb, nhl, wnba, ncaaf, ncaab, soccer |
| `state` | NJ | any US state with legal online betting |
| `includePredictionMarkets` | true | add Kalshi and Polymarket |
| `markets` | all three | moneyline, spread, total |
| `date`, `days` | today, 1 | daily leagues |
| `week`, `season` | current | NFL and college football (weekly boards) |
| `onlyArbitrage` | false | only games where the best prices sum below 100% |
| `outputFormat` | game | `flat` = one row per game, market, side and book for spreadsheets |

### Notes on prediction markets

Kalshi and Polymarket prices are shown in American odds next to the books, but they are **left out of `best` and the arbitrage check**. They come as zero-margin midpoints (for example −174 and +174 on the same game) and their fees work differently, so mixing them in would flag arbitrages that are not there. Compare them yourself with `bestPredictionMarket`.

### Pricing

**$0.004 per game**, every book and every market included. The first game of every run is free. Off-season leagues return a free note. A full NFL Sunday costs about 6 cents; a 10-game NBA night about 4 cents.

### Related actors

- [Public Betting Splits: % of Bets vs % of Money](https://apify.com/scrapemint/public-betting-splits): where the money is on the same games
- [Sports Odds Scraper: DraftKings, Pinnacle & Bovada](https://apify.com/scrapemint/sports-odds-scraper): adds Pinnacle, the sharp book
- [Player Prop Hit Rates: Last 10 Games vs the Line](https://apify.com/scrapemint/player-prop-hit-rates)
- [Kalshi Prediction Market Scraper](https://apify.com/scrapemint/kalshi-prediction-market-scraper) and [Polymarket Trade Intelligence](https://apify.com/scrapemint/polymarket-scraper)

# Actor input Schema

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

nfl, nba, mlb, nhl, wnba, ncaaf (college football), ncaab (college basketball), soccer.

## `state` (type: `string`):

US state whose sportsbook prices you want (prices differ by state), e.g. NJ, NY, PA, OH, MI, IL, AZ, CO, VA, MA, NC.

## `includePredictionMarkets` (type: `boolean`):

Add Kalshi and Polymarket prices next to the sportsbooks, in American odds.

## `markets` (type: `array`):

Which markets to compare.

## `date` (type: `string`):

Daily leagues (NBA, MLB, NHL, WNBA, college basketball, soccer): YYYY-MM-DD. Leave empty for today.

## `days` (type: `integer`):

Daily leagues: how many days from the date.

## `week` (type: `integer`):

Football boards are weekly. Leave empty for the current week.

## `season` (type: `integer`):

Season year for the week above. Leave empty for the current season.

## `includeStarted` (type: `boolean`):

Off: only games that have not started.

## `onlyArbitrage` (type: `boolean`):

Return only games where the best prices on each side add up to less than 100% implied.

## `outputFormat` (type: `string`):

Flat format is easiest in Excel or Google Sheets. Charged per game either way.

## `maxGames` (type: `integer`):

Stop after this many games.

## Actor input object example

```json
{
  "leagues": [
    "nfl",
    "nba",
    "nhl"
  ],
  "state": "NJ",
  "includePredictionMarkets": true,
  "markets": [
    "moneyline",
    "spread",
    "total"
  ],
  "days": 1,
  "includeStarted": false,
  "onlyArbitrage": false,
  "outputFormat": "game",
  "maxGames": 500
}
```

# Actor output Schema

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

Odds comparison rows.

## `summary` (type: `string`):

State, books and games.

# 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",
        "nba",
        "nhl"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/us-sportsbook-odds-comparison").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",
        "nba",
        "nhl",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/us-sportsbook-odds-comparison").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",
    "nba",
    "nhl"
  ]
}' |
apify call scrapemint/us-sportsbook-odds-comparison --silent --output-dataset

```

## MCP server setup

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

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/kdNaxaFxcdsLP5SOz/builds/UsHPY6rR1gnFfA2dz/openapi.json
