# Sports Betting Odds Scraper: DraftKings, FanDuel, bet365 (`cliqtomedia/sports-odds-scraper`) Actor

Compare current odds from DraftKings, FanDuel, bet365, BetMGM, Caesars and 6 more sportsbooks for NBA, NFL, NHL, MLB, college, soccer, UFC and golf. Best price, no-vig, arbitrage, +EV. No login.

- **URL**: https://apify.com/cliqtomedia/sports-odds-scraper.md
- **Developed by:** [Cliqto Media](https://apify.com/cliqtomedia) (community)
- **Categories:** Sports
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.86 / 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

Get current betting odds from DraftKings, FanDuel, bet365, BetMGM, Caesars and 6 more US sportsbooks for NBA, NFL, NHL, MLB, college, soccer, UFC and golf, and save them as one clean odds table.
Use it to compare prices, find the best line, no-vig fair odds, arbitrage and +EV bets: pick a sport and a league, click **Start**, and in about 5 seconds you get one row per book and price.

[![Sports Betting Odds Scraper: pick games, compare DraftKings, FanDuel, bet365 and more in one odds table, export JSON or CSV. Best price, no-vig fair odds, arbitrage and +EV.](https://api.apify.com/v2/key-value-stores/tbLiY7H6l25xybxZB/records/readme-banner-20261121.png)](https://console.apify.com/actors/do7KxatcdoUsekJef/input)

### Table of contents

- [What it does](#what-it-does)
- [How it works](#how-it-works)
- [Quick start](#quick-start)
- [Use cases](#use-cases)
- [Input](#input)
- [Output](#output)
- [Pricing](#pricing)
- [Limits](#limits)
- [API, export and integrations](#api-export-and-integrations)
- [Troubleshooting](#troubleshooting)
- [FAQ](#faq)
- [Support](#support)

### What it does

The Actor reads public odds pages and returns the **current price of each bet at each sportsbook**. One row is one price: one game, one book, one market (moneyline, spread, total, player prop and more) and one side.

Each row also tells you:

- the price as American odds (`odds`) and decimal odds (`oddsDecimal`);
- if this book has the **best price** for this bet (`isBestPrice`);
- the **no-vig fair probability** (`fairProbability`) and how far the price is from it (`edgePercent`);
- the opening price (`openOdds`) and, if you want, the full price history.

There are four modes:

| Mode | What you get |
| --- | --- |
| `odds` (default) | One row per book, market and side |
| `events` | One record per game, with all markets and books inside |
| `arbitrage` | Bets where you can back every side at different books and still win (sure bets) |
| `valueBets` | Prices above the fair no-vig price (+EV) |

The Actor does not place bets and does not need a login.

#### Good fit

- Compare NBA, NFL, NHL or MLB odds across books before you bet.
- Find the best line for a team or a player prop.
- Feed a betting model, a spreadsheet or a dashboard with fresh odds.
- Track line moves with a schedule and get only changed prices.
- Scan books for arbitrage and +EV bets.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### How it works

1. You choose sports, leagues, books and bet types. Empty fields use safe defaults (NBA, 7 big books plus the consensus line, moneyline, spread and total).
2. The Actor reads the public odds pages of [Action Network](https://www.actionnetwork.com/nba/odds), which list all books at once. For Bovada, or when that page does not answer, it reads the public sportsbook sites (DraftKings, BetRivers, Pinnacle, Bovada) directly. FanDuel prices come from the odds comparison page.
3. It matches the same game across books, marks the best price, works out no-vig fair odds, and finds arbitrage and value bets when you ask.
4. It saves the rows to the dataset and a short run report (`RUN_SUMMARY`) to the key-value store. If a league has no games, you get one free status row that says why.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Quick start

[![Input form: box 1 Sports, box 2 Leagues, box 3 Markets](https://api.apify.com/v2/key-value-stores/tbLiY7H6l25xybxZB/records/quick-start-form-20261121.png)](https://console.apify.com/actors/do7KxatcdoUsekJef/input)

1. Open the **Input** tab. **Sports** is already set to Basketball (box 1).
2. **Leagues** is set to NBA (box 2). Add more leagues if you want, for example NHL.
3. **Markets** is set to Moneyline (box 3). Add Spread or Total if you need them. Keep **Sportsbooks** empty to get the 7 main books and the consensus line.
4. Click **Start**.
5. Open the **Output** tab. Each row is one game and one book (box 5).
6. Check **Odds** and **Best**: a green tick marks the best price for that side (box 6).

   [![Output table: game, book, odds and best price columns](https://api.apify.com/v2/key-value-stores/tbLiY7H6l25xybxZB/records/output-table-20261121.png)](https://api.apify.com/v2/key-value-stores/tbLiY7H6l25xybxZB/records/output-table-20261121.png)

Expected result: on a normal NBA day with 6 games you get about 96 moneyline rows (6 games × 2 sides × 8 books) in about 5 seconds.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Use cases

| Buyer job | Input path | Output entity | Key fields | Next integration |
| --- | --- | --- | --- | --- |
| Compare today's NBA odds | `leagues: ["NBA"]` | odds row | `bookmaker`, `odds`, `isBestPrice` | Google Sheets, CSV |
| Find the best price for player props | `markets: ["props"]`, `propTypes`, `players` | odds row | `player`, `propType`, `line`, `odds` | Spreadsheet, betting model |
| Find sure bets | `mode: "arbitrage"` | arbitrage row | `profitPercent`, `legs` | Slack or Notion alert |
| Find +EV bets | `mode: "valueBets"`, `minEdgePercent` | odds row | `edgePercent`, `fairProbability` | Model, alert |
| Watch line moves | `onlyChanged: true` + schedule | odds row | `odds`, `openOdds`, `updatedAt` | Webhook, Slack |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Input

#### Input fields

| Field | Plain name | Type | Default / prefill | Allowed values | Effect |
| --- | --- | --- | --- | --- | --- |
| `mode` | What to return | string | `odds` | `odds`, `events`, `arbitrage`, `valueBets` | Shape of the result (see What it does) |
| `sports` | Sports | array | prefill `["basketball"]` | `basketball`, `football`, `hockey`, `baseball`, `soccer`, `mma`, `golf` | A sport without a league loads its main pro leagues |
| `leagues` | Leagues | array | prefill `["NBA"]`; empty with no sport = NBA | `NBA`, `WNBA`, `NCAAB`, `NFL`, `NCAAF`, `NHL`, `MLB`, `EPL`, `LaLiga`, `SerieA`, `Bundesliga`, `Ligue1`, `MLS`, `UFC`, `PGA` | Which leagues to load |
| `bookmakers` | Sportsbooks | array | empty = DraftKings, FanDuel, bet365, BetMGM, Caesars, BetRivers, Fanatics + consensus | also `hardrock`, `ballybet`, `pinnacle`, `bovada`, `open` (opening line) | Which books to compare |
| `markets` | Markets | array | prefill `["moneyline"]`; empty = moneyline, spread, total (golf: outright) | `moneyline`, `spread`, `total`, `teamTotal`, `props`, `outright`, `matchup` | Bet types |
| `region` | US state | string | `NJ` | 25 states, for example `NY`, `PA`, `AZ` | Books show this state's prices; a book that is not legal there uses NJ prices |
| `date` | Date | string | empty = today | `2026-11-21` or `2026-11-21..2026-11-23`, up to 14 days, US Eastern time | Game day |
| `daysAhead` | Days from today | integer | `1` | 1–14 | Used when `date` is empty; 3 = today and the next 2 days |
| `maxItems` | Max results | integer | `1000` | 1 to 30,000 | Upper limit of saved and charged rows |
| `propTypes` | Prop types | array | empty = main props of the sport | for example `points`, `rebounds`, `passing yards`, `shots on goal` | Only with `props` |
| `periods` | Game parts | array | `fullGame` | `firstHalf`, `firstQuarter`, `firstPeriod`, `firstFiveInnings` and more | Halves, quarters, periods, innings |
| `teams` | Teams | array | empty | for example `Lakers`, `Celtics` | Only games of these teams |
| `players` | Players | array | empty | for example `LeBron` | Only props or golfers with this name |
| `includeLive` | Live games | boolean | `true` | | Keep in-play prices |
| `includeFinished` | Finished games | boolean | `false` | | Add closing prices and final scores of the day |
| `includeAlternateLines` | Alternate lines | boolean | `false` | | Add alternate spreads, totals and milestone props (20+ points) |
| `includeLineHistory` | Line history | boolean | `false` | | Add the full price movement of each row |
| `minEdgePercent` | Min edge % | integer | `0` | 0 to 100 | `valueBets` mode only |
| `minArbitrageProfit` | Min arbitrage profit % | integer | `0` | 0 to 100 | `arbitrage` mode only |
| `onlyChanged` | Only changed prices | boolean | `false` | | Save only new or changed prices since the last run with the same `monitorKey` |
| `monitorKey` | Monitor name | string | `default` | letters, digits, dashes | One memory per schedule |
| `source` | Source | string | `auto` | `auto`, `aggregator`, `direct` | Where to read prices (see How it works) |
| `deliveryConnector`, `deliveryTarget` | Send summary | string | empty | your MCP connector, a Notion page link or Slack channel ID | See Send results to Slack or Notion |

Empty input works: you get today's NBA moneyline, spread and total from 8 books. Repeated values are used once. Field names that other odds Actors use (`maxEvents`, `onlyArbitrage`, `onlyValueBets`, `"nba"` in lower case) are also accepted.

#### Interacting settings

| When | Input A | Input B | Effective behavior |
| --- | --- | --- | --- |
| You set a sport and no league | `sports` | `leagues` | The main pro leagues of the sport load. College leagues (`NCAAB`, `NCAAF`) load only when you name them in `leagues`. |
| You set a date | `date` | `daysAhead` | `date` wins; `daysAhead` is ignored. |
| Player props | `markets: ["props"]` | `propTypes`, `players` | Empty `propTypes` = main props of the sport. Each prop type is one more page to read, so the run takes longer. |
| Monitoring | `onlyChanged` | `monitorKey` | Each `monitorKey` keeps its own memory. Use a different key for each schedule. |
| Row limit | `maxItems` | Apify "Max charged results" | The run stops at the lower of the two. |

#### Input examples

##### Today's NBA moneyline (prefill)

```json
{
  "sports": ["basketball"],
  "leagues": ["NBA"],
  "markets": ["moneyline"]
}
```

Expected output: about 96 odds rows for 6 games, with `bookmaker`, `odds`, `isBestPrice`. Run time about 5 seconds.

##### NFL player props for one player

```json
{
  "leagues": ["NFL"],
  "markets": ["props"],
  "propTypes": ["passing yards"],
  "players": ["Mahomes"],
  "bookmakers": ["draftkings", "fanduel", "betmgm"]
}
```

Expected output: over and under rows with `player`, `propType`, `line` and `odds` per book.

##### Sure bets across several leagues

```json
{
  "mode": "arbitrage",
  "leagues": ["NBA", "NHL"],
  "markets": ["moneyline", "spread", "total", "props"],
  "minArbitrageProfit": 1
}
```

Expected output: arbitrage rows with `profitPercent` and the stake split in `legs`. Often there are none: then you get a free status row.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Output

#### Output fields

The main fields of an odds row (the **Odds** view). The **Full table** view shows every field.

| Field | Meaning | Type | Can be empty? | Example |
| --- | --- | --- | --- | --- |
| `eventId` | Game ID from the source | string | no | `an:295475` |
| `sport`, `league` | Sport and league | string | no | `basketball`, `NBA` |
| `startTime` | Game start, UTC | string | no | `2026-11-21T18:00:00.000Z` |
| `status` | `scheduled`, `live` or `finished` | string | no | `scheduled` |
| `homeTeam`, `awayTeam` | Teams | string | no for games | `Philadelphia 76ers` |
| `bookmaker` | Book ID | string | no | `bet365` |
| `market` | Bet type | string | no | `moneyline` |
| `period` | Game part | string | no | `fullGame` |
| `selection` | Side: `home`, `away`, `draw`, `over`, `under` or a name | string | no | `away` |
| `team`, `player`, `propType` | Who the bet is on | string | yes, when not used | `Milwaukee Bucks`, `null`, `null` |
| `line` | Spread, total or prop line | number | yes, for moneyline | `null` |
| `odds` | American odds | number | no | `475` |
| `oddsDecimal` | Decimal odds | number | no | `5.75` |
| `impliedProbability` | Probability in the price | number | no | `0.1739` |
| `isBestPrice` | Best price among the chosen books | boolean | yes, for consensus/open | `true` |
| `fairProbability` | No-vig fair probability | number | yes, if a side is missing | `0.1701` |
| `edgePercent` | Price vs fair price, % | number | yes | `-2.2` |
| `openOdds`, `openLine` | Opening price and line | number | yes, if the source has none | `475`, `null` |
| `publicBetsPercent`, `publicMoneyPercent` | Share of public bets and money | number | yes | `4`, `13` |
| `updatedAt` | When the book last changed this price | string | yes | `2026-11-21T04:24:00.669854Z` |
| `sourceUrl` | Public page of the source | string | no | `https://www.actionnetwork.com/nba/odds` |

`null` means the source did not give the value. It never means 0.

#### Output entities and surfaces

| Situation | Where | Shape | What to do |
| --- | --- | --- | --- |
| Normal run | Dataset, view **Odds** | `type: "odds"` rows | Open, filter or export |
| `events` mode | Dataset, view **Events** | `type: "event"`, markets and books inside | Use for one record per game |
| `arbitrage` mode | Dataset, view **Arbitrage** | `type: "arbitrage"` with `profitPercent` and `legs` | Check `legs` before you bet |
| No games or no matches | Dataset | one `type: "status"` row, `status: "not_found"` (free) | Check league season, date or filters |
| Bad input | Dataset + run fails with a clear message | `status: "invalid_input"` (free) | Fix the named field |
| Source did not answer | Dataset + `RUN_SUMMARY` | `status: "error"` row (free), other books still saved | Run again later |
| Run report | Key-value store `RUN_SUMMARY` | counts, limits, warnings | Check why a run has fewer rows |

#### Output example

One odds row from the prefill run (trimmed):

```json
{
  "type": "odds",
  "eventId": "an:295475",
  "sport": "basketball",
  "league": "NBA",
  "startTime": "2026-11-21T18:00:00.000Z",
  "status": "scheduled",
  "homeTeam": "Philadelphia 76ers",
  "awayTeam": "Milwaukee Bucks",
  "bookmaker": "bet365",
  "market": "moneyline",
  "period": "fullGame",
  "selection": "away",
  "team": "Milwaukee Bucks",
  "player": null,
  "line": null,
  "odds": 475,
  "oddsDecimal": 5.75,
  "impliedProbability": 0.1739,
  "isBestPrice": true,
  "fairProbability": 0.1701,
  "edgePercent": -2.2,
  "openOdds": 475,
  "updatedAt": "2026-11-21T04:24:00.669854Z",
  "source": "actionnetwork"
}
```

One arbitrage row (trimmed):

```json
{
  "type": "arbitrage",
  "league": "NBA",
  "homeTeam": "Sacramento Kings",
  "awayTeam": "Boston Celtics",
  "market": "prop",
  "propType": "rebounds",
  "player": "Paul George",
  "line": 5.5,
  "profitPercent": 4.68,
  "legs": [
    { "selection": "under", "bookmaker": "fanduel", "odds": 104, "stakePercent": 51.31 },
    { "selection": "over", "bookmaker": "bet365", "odds": 115, "stakePercent": 48.69 }
  ]
}
```

Odds change fast. Each row is a snapshot at `scrapedAt`. Check the price at the book before you bet.

#### Send results to Slack or Notion

Pick your connector in the optional `deliveryConnector` field. After the run saves its data, the Actor posts a short summary (up to 25 rows and a link to the full dataset) there. Put a Notion page link or a Slack channel ID in `deliveryTarget`: in Notion every run is added on top of that one page, so your workspace does not fill up with new pages. Without a page link, Notion delivery is skipped and the log says so. A delivery error never fails the run and costs nothing extra. Connect a service once in Apify Console → MCP connectors.

#### Use case → fields

| Buyer job | Input path | Output entity | Key fields | Next integration |
| --- | --- | --- | --- | --- |
| Best line for a bet | `mode: "odds"` | odds row | `isBestPrice`, `bookmaker`, `odds` | Sheet filter `isBestPrice = true` |
| No-vig model input | `mode: "odds"` | odds row | `fairProbability`, `impliedProbability`, `oddsDecimal` | Betting model |
| One record per game | `mode: "events"` | event record | `markets`, `selections`, `best` | App or database |
| Sure bets | `mode: "arbitrage"` | arbitrage row | `profitPercent`, `legs` | Slack or Notion alert |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Pricing

#### Pricing unit

You pay per event:

| Event | Price |
| --- | ---: |
| Run start | $0.0065 per run (per 1 GB of memory; the default is 512 MB, so one start) |
| Result (one saved row) | $2.65 per 1,000 rows on the Free plan; less on paid Apify plans ($2.385 Bronze, $2.12 Silver, $1.855 Gold and higher) |

- One result is one saved row: an odds row, an event record or an arbitrage row.
- Status rows (`not_found`, `skipped`, `invalid_input`, `error`) are free.
- A run with no games, a filter with no matches, or a monitoring run where nothing changed costs only the start fee.
- The developer pays the Apify platform usage (compute, proxy, storage). You pay only the events above.
- `maxItems` and Apify's **Max charged results** stop the run at your limit.

#### Cost examples

Free plan prices:

| Scenario | Input scope | Rows | Start fee | Result fee | Total | Stop/cap behavior |
| --- | --- | ---: | ---: | ---: | ---: | --- |
| No games | WNBA out of season | 0 (+1 free status row) | $0.0065 | $0 | $0.0065 | Free status row explains why |
| Tiny | `maxItems: 1` | 1 | $0.0065 | $0.00265 | $0.0092 | Stops at 1 row |
| Small | one game, moneyline and total, `maxItems: 10` | 10 | $0.0065 | $0.0265 | $0.033 | Stops at 10 rows |
| Normal | NBA day, moneyline, 8 books (prefill) | about 96–100 | $0.0065 | $0.265 | $0.27 | All rows of the day |
| Large | NBA + NHL, 3 markets | 1,000 | $0.0065 | $2.65 | $2.66 | Stops at `maxItems` (default 1000) |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Limits

- US sportsbooks and US state prices only. bet365, BetMGM, Caesars, Fanatics, Hard Rock and Bally Bet come from the odds comparison page; there is no direct route for them.
- A sport without `leagues` does not load college leagues. Add `NCAAB` or `NCAAF` by name.
- Dates up to 14 days, in US Eastern time.
- Up to 30,000 rows per run (tested: 33,333 rows in about 3 minutes). For more, split the run by league or date.
- Not every book has every market. Props and alternate lines depend on the book and the league.
- If a source stops answering, the Actor skips it for the rest of the run and saves what the other sources gave. After 3 such sources it stops and saves what it has.
- Prices are a snapshot. The Actor does not place bets, does not log in and does not get around region blocks.
- Arbitrage and value bets are calculations on public prices. They are not betting advice.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### API, export and integrations

- **API:** start a run with `POST https://api.apify.com/v2/acts/cliqtomedia~sports-odds-scraper/runs` and the input JSON; read rows from the run's dataset (`/items?view=odds`).
- **Export:** download the dataset as JSON, CSV, Excel, XML or HTML from the **Output** tab or the API.
- **Scheduling:** add a schedule in Apify Console, for example every 15 minutes, with `onlyChanged: true` and its own `monitorKey`. Each run then saves only new or changed prices.
- **Webhooks / no-code:** send run results to Make, Zapier, n8n, Google Sheets or your webhook with Apify integrations.

#### Use with AI agents (MCP)

- MCP server URL with only this Actor: `https://mcp.apify.com?tools=cliqtomedia/sports-odds-scraper`
- Smallest useful input: `{"sports": ["basketball"], "leagues": ["NBA"], "markets": ["moneyline"]}`
- Key output fields: `bookmaker` (book), `odds` (American odds), `isBestPrice` (best price for this side), `fairProbability` (no-vig probability), `edgePercent` (price vs fair price).
- Typical run: about 5 seconds and about $0.27 for 100 rows. Set `maxItems` to cap rows and cost.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Troubleshooting

#### I got only a status row with not_found

Symptom: one row with `status: "not_found"`.
Likely reason: the league is out of season, there are no games on this date, or your `teams`/`players` filter matches nothing.
Check: the message in the row; it names the league, date and filter.
Action: change `date` or `daysAhead`, or remove the filter.

#### A book is missing

Symptom: rows for some books, none for one book.
Likely reason: the book has no price for this game or market yet, or it is not legal in your `region` (then NJ prices are used).
Check: `RUN_SUMMARY` → `bookmakersResolved` and `warnings`.
Action: try a later run or another market.

#### The run stopped early

Symptom: fewer rows than expected, `RUN_SUMMARY` shows `limitReached` or `stopReason`.
Saved rows are always kept. The reasons:

| `stopReason` / `limitReached` | When | Action |
| --- | --- | --- |
| `MAX_ITEMS` | `maxItems` (1 to 30,000) or **Max charged results** reached | Raise the limit |
| `CHARGE_LIMIT` | your maximum cost for the run reached | Raise the maximum cost |
| `DEADLINE` | 12 seconds before the run timeout (default 600 s) | Give the run more time |
| `REQUEST_LIMIT` | 400 page requests or 256 MB of downloaded pages in one run | Ask for fewer leagues, days or markets |
| `SOURCE_ERROR` | a source did not answer; after 3 such sources the run stops | Run again in a few minutes |

One page larger than 16 MB is skipped as a source error.

#### A status row with `status: "error"`

Symptom: `status: "error"` row, `RUN_SUMMARY.stopReason` is `SOURCE_ERROR`.
Likely reason: a public page did not answer. The run still saves rows from other sources.
Action: run again in a few minutes.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### FAQ

#### Do I need a sportsbook account or login?

No. The Actor reads only public prices. It never logs in and never places bets.

#### How fresh are the odds?

Each run reads the prices at that moment. `updatedAt` shows when the book last changed the price, and `scrapedAt` shows when the Actor read it. For live tracking, use a schedule.

#### What is the consensus line?

`consensus` is the market average line from the odds comparison page. `open` is the opening line. Both are not books, so `isBestPrice` is empty for them.

#### Why is fairProbability empty for some rows?

No-vig needs a price for every side of the bet. If one side is missing, the Actor does not guess and leaves it `null`.

#### What do empty runs cost?

Only the start fee, $0.0065. Status rows are free.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

### Support

For a bug, question or feature request, open the Actor's **Issues** tab on Apify. Include the run ID, your input and the error text. Never send tokens, passwords or cookies.

⭐ Found it useful? [Rate this Actor](https://apify.com/cliqtomedia/sports-odds-scraper/reviews).
Something wrong? [Report a problem](https://apify.com/cliqtomedia/sports-odds-scraper/issues) — we fix reported problems.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/do7KxatcdoUsekJef/input)**

# Changelog

This Actor's version history is a separate document: https://apify.com/cliqtomedia/sports-odds-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Odds table: one row per bookmaker, market and outcome. Events: one record per game with every market and book nested. Arbitrage and value bets compare the books in this run.

## `sports` (type: `array`):

Sports to load. A sport without a league below loads its main leagues.

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

Leagues to load. Empty with no sport = NBA.

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

Books to compare. Empty = DraftKings, FanDuel, bet365, BetMGM, Caesars, BetRivers, Fanatics and the consensus line.

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

Bet types. Empty = moneyline, spread and total (outrights for golf). Player props make one extra request per prop type.

## `region` (type: `string`):

Books show the prices of this state. If a book is not legal there, its New Jersey prices are used.

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

Game day in US Eastern time: 2026-11-21, or a range 2026-11-21..2026-11-23 (up to 14 days). Empty = today.

## `daysAhead` (type: `integer`):

Used when Date is empty: 1 = today only, 3 = today and the next two days.

## `maxItems` (type: `integer`):

Upper limit of saved and charged results, 1 to 30,000. One NBA day with 8 books and 3 markets gives about 500 odds rows.

## `propTypes` (type: `array`):

Only with Player props: points, rebounds, assists, passing yards, shots on goal... Empty = the main props of the sport.

## `periods` (type: `array`):

Game parts. Empty = full game.

## `teams` (type: `array`):

Only games of these teams, for example Lakers or Celtics.

## `players` (type: `array`):

Only props or golfers whose name contains one of these words.

## `includeLive` (type: `boolean`):

Keep in-play prices of games that already started.

## `includeFinished` (type: `boolean`):

Keep closing prices and final scores of finished games of the day.

## `includeAlternateLines` (type: `boolean`):

Add alternate spreads, totals and milestone props (20+ points).

## `includeLineHistory` (type: `boolean`):

Add the full price movement of each row. Opening price and line are always included when the source has them.

## `minEdgePercent` (type: `integer`):

Value bets mode: only prices at least this % above the no-vig fair price (Pinnacle when present, else the average of the books).

## `minArbitrageProfit` (type: `integer`):

Arbitrage mode: only opportunities with at least this guaranteed return.

## `onlyChanged` (type: `boolean`):

Monitoring: save only prices that are new or changed since the previous run with the same monitor name. Good for schedules.

## `monitorKey` (type: `string`):

Separate memory for each schedule: letters, digits and dashes.

## `source` (type: `string`):

Auto reads a public odds aggregator for all books and the sportsbook sites for Bovada or when the aggregator fails.

## `deliveryConnector` (type: `string`):

Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors.

## `deliveryTarget` (type: `string`):

Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why.

## Actor input object example

```json
{
  "mode": "odds",
  "sports": [
    "basketball"
  ],
  "leagues": [
    "NBA"
  ],
  "markets": [
    "moneyline"
  ],
  "region": "NJ",
  "daysAhead": 1,
  "maxItems": 1000,
  "includeLive": true,
  "includeFinished": false,
  "includeAlternateLines": false,
  "includeLineHistory": false,
  "minEdgePercent": 0,
  "minArbitrageProfit": 0,
  "onlyChanged": false,
  "monitorKey": "default",
  "source": "auto"
}
```

# Actor output Schema

## `odds` (type: `string`):

Main table of prices.

## `all` (type: `string`):

Every field, including events, arbitrage and status rows.

## `runSummary` (type: `string`):

Run status, row counts and any source error.

# 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 = {
    "sports": [
        "basketball"
    ],
    "leagues": [
        "NBA"
    ],
    "markets": [
        "moneyline"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/sports-odds-scraper").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 = {
    "sports": ["basketball"],
    "leagues": ["NBA"],
    "markets": ["moneyline"],
}

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/sports-odds-scraper").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 '{
  "sports": [
    "basketball"
  ],
  "leagues": [
    "NBA"
  ],
  "markets": [
    "moneyline"
  ]
}' |
apify call cliqtomedia/sports-odds-scraper --silent --output-dataset

```

## MCP server setup

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

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/do7KxatcdoUsekJef/builds/Vc9ZUVeLRVLrkr6kG/openapi.json
