# Sportsbook Odds Aggregator: Pinnacle, Bovada, Unibet & Smarkets (`confidential_gnat/sportsbook-odds-aggregator-scraper`) Actor

Compare pre-match and live odds from Pinnacle, Bovada, Unibet, Paf and Smarkets: moneyline, spread and total for tennis, soccer, basketball, hockey and more, with no-vig fair prices, best-price flags, edge vs Pinnacle, line movement, plus alternate lines, periods and props.

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

## Pricing

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

## Sportsbook Odds Aggregator: Pinnacle, Bovada, Unibet, Paf & Smarkets Odds Scraper

![Sportsbook Odds Aggregator cover: the best price across Pinnacle, Bovada, Unibet, Paf and Smarkets with no-vig fair prices, one row per price](https://i.postimg.cc/sgBx9NQc/Gemini-Generated-Image-a0nrgla0nrgla0nr.jpg)

**Scrape and compare sports betting odds from Pinnacle (pinnacle.com), Bovada (bovada.lv), Unibet, Paf and Smarkets** in one dataset: pre-match and live moneyline, spread and total prices for tennis, soccer, basketball, American football, ice hockey, baseball and MMA. Every price comes with its **no-vig fair price**, a **best-price flag** across bookmakers, the **edge against Pinnacle** and the **line movement** since your last run, ready to export as **JSON, CSV or Excel** or to call as an **API**. Pick the bookmakers and sports, press Start.

**Target websites:** [pinnacle.com](https://www.pinnacle.com/), [bovada.lv](https://www.bovada.lv/), [unibet.co.uk](https://www.unibet.co.uk/), [paf.com](https://www.paf.com/), [smarkets.com](https://smarkets.com/)

### ✨ Features of this sportsbook odds scraper

- **Odds from five bookmakers** — Pinnacle (the sharp reference), Bovada, Unibet, Paf and the Smarkets betting exchange.
- **Moneyline, spread and total** — the main lines of each game, in decimal and American odds with the implied probability.
- **Alternate lines** — on request, the other spreads and totals (Pinnacle, Bovada, and Unibet and Paf for the busiest games; Smarkets totals and handicaps for the first games).
- **Parts of the game** — on request, the first set (tennis), half, quarter or period lines (Pinnacle, Bovada, Unibet and Paf), tagged in `period`.
- **Props** — on request, Bovada's and Unibet and Paf's prop markets (total sets, set betting, tiebreaks, odd/even, correct scores, player totals and more), tagged in `propName`.
- **Pre-match and live** — read games that have not started, games in play, or both.
- **No-vig fair price** — each market's overround is removed to give a fair probability and fair price for every outcome.
- **Best price across books** — the same side of the same game is compared across bookmakers and the best price is flagged.
- **Edge against Pinnacle** — how far a bookmaker's price is above or below Pinnacle's fair price.
- **Line movement** — with tracking on, each price is compared with the previous run: previous price, change, direction and first price seen.
- **Exchange prices** — for Smarkets the best lay price and the liquidity at the best back price; for Pinnacle the maximum stake.
- **Proxy support** — optional; runs work without one.
- **No browser required** — plain requests keep runs fast and cheap.

### 🚀 How to scrape sportsbook odds in 5 steps

1. [Sign up](https://apify.com/sign-up) for a free Apify account — includes **$5 monthly credit**.
2. Open the actor page and click **Try for free**.
3. Fill in the **Input** fields (the defaults compare tennis across four bookmakers).
4. Click **Start** and wait for the run to complete.
5. Download results from the **Output** tab in JSON, CSV, or Excel format.

You can also run this actor via the [Apify API](https://docs.apify.com/api/v2) or integrate it directly into your workflows using [Zapier](https://zapier.com/apps/apify), [Make](https://www.make.com/), or [n8n](https://n8n.io/).

### 💰 Pricing for the sportsbook odds scraper

This actor uses **pay-per-result** billing based on the compute units a run consumes.

- New Apify accounts include **$5 of free monthly credit**.
- The actor uses plain HTTP requests instead of a browser, so it costs significantly less to run than browser-based scrapers.
- The proxy is off by default, which keeps runs cheapest.

### 🔧 Sportsbook odds scraper input configuration

The input form starts with the bookmakers, sports and markets, then the mode and the limits, and line movement tracking. The proxy settings are last. There are no start URLs: the bookmakers and sports you choose decide what is read.

![Sportsbook Odds Aggregator input form in Apify Console with the first 7 fields numbered 1 to 7: bookmakers, sports, markets, include alternate lines, pre-match or live, max games per sport and track line movement](https://i.postimg.cc/CxZ5HQB1/Gemini-Generated-Image-vmjq14vmjq14vmjq.jpg)

1. **Bookmakers** - which books to compare (Pinnacle, Bovada, Unibet, Paf, Smarkets)
2. **Sports** - which sports to read (here basketball and tennis)
3. **Markets** - moneyline, spread or total
4. **Include alternate lines** - adds the other spread and total lines, not only the main one
5. **Pre-match or live** - pre-match games, live games or both
6. **Max games per sport** - how many games to read for each sport
7. **Track line movement** - adds the price change since the previous run

The parts of the game, props and the max prices per bookmaker follow below these fields, and the proxy configuration comes last.

| Field | Type | Required | Default | Description |
| ----- | ---- | -------- | ------- | ----------- |
| Bookmakers (`books`) | array | — | Pinnacle, Bovada, Unibet, Smarkets | `pinnacle`, `bovada`, `unibet`, `paf` or `smarkets`. Unibet and Paf share one price feed. |
| Sports (`sports`) | array | — | tennis | `tennis`, `basketball`, `soccer`, `american-football`, `ice-hockey`, `baseball` or `mma`. |
| Markets (`markets`) | array | — | all three | `moneyline`, `spread` or `total`. |
| Include alternate lines (`includeAlternateLines`) | boolean | — | false | Also the alternate spreads and totals. |
| Include parts of the game (`includePeriods`) | boolean | — | false | Also first-set, half, quarter and period lines. |
| Include props (`includeProps`) | boolean | — | false | Also Bovada's, Unibet's and Paf's prop markets. |
| Pre-match or live (`mode`) | string | — | `both` | `both`, `pre_match` or `live`. |
| Max games per sport (`maxEventsPerSport`) | integer | — | 20 | Games kept for each sport. Games more bookmakers carry come first, then the soonest. |
| Max prices per bookmaker (`maxItems`) | integer | — | 5 | Maximum prices (one per outcome) saved for each bookmaker. |
| Track line movement (`includeLineMovement`) | boolean | — | false | Compares every price with the previous run. Use the same books, sports and mode on every run. |
| Proxy configuration (`proxyConfiguration`) | object | — | no proxy | Turn on Apify Proxy if your runs get blocked. |

### 📦 Sportsbook odds scraper output data

The output is one flat record per price (one outcome of one market of one game at one bookmaker) with these fields: `book`, `sport`, `league`, `eventId`, `eventKey`, `eventName`, `homeName`, `awayName`, `startTime`, `isLive`, `market`, `scope`, `period`, `isAlternate`, `propName`, `line`, `selection`, `participant`, `priceDecimal`, `priceAmerican`, `impliedProbability`, `overround`, `fairProbability`, `fairPriceDecimal`, `isBestPrice`, `bestPriceBook`, `edgePercent`, `maxRiskStake`, `exchangeLayPrice`, `exchangeLiquidity`, `previousPrice`, `priceChange`, `moveDirection`, `firstSeenPrice` and `scrapedAt`. Every record has every field; what does not apply is `null`.

The dataset has 1 view, **Odds**, a compact table with the bookmaker, sport, league, game, start, market, line, side, price, fair price, best-price flag and edge.

- `eventKey` is the same for the same game at every bookmaker (sport, both names in any order, start date); group by it to compare books.
- `selection` is `home`, `away`, `draw`, `over` or `under`; `participant` is the team or player. For a spread, `line` is that side's own handicap; for a total, it is the total.
- `period` is `match` for the whole game or `1st_set`, `1st_half`, `1st_quarter`, `1st_period` and so on; `isAlternate` is true for lines other than the main one; `propName` names a prop market (market `prop`, side in `participant`).
- `scope` is `full_game` (overtime included) or `regular_time`; prices of different scopes are never compared.
- `overround` is the bookmaker's margin in that market; `fairProbability` and `fairPriceDecimal` have it removed in proportion.
- `isBestPrice` and `bestPriceBook` compare the same side, market, scope and line across the bookmakers that carry it; they are `null` when only one does.
- `edgePercent` is the price times Pinnacle's fair probability, minus one, in percent; `null` for Pinnacle itself or when Pinnacle does not carry the line.
- `exchangeLayPrice` and `exchangeLiquidity` are Smarkets only (the price to lay, and the money available at the back price); `maxRiskStake` is Pinnacle only.

**Output at a glance:**

| Book | Game | Side | Price | Fair price | Best price | Edge % |
| ---- | ---- | ---- | ----- | ---------- | ---------- | ------ |
| bovada | Alexandra Eala vs Diana Shnaider | Alexandra Eala | 2.05 | 2.1389 | no | -5.68 |
| pinnacle | Alexandra Eala vs Diana Shnaider | Alexandra Eala | 2.12 | 2.1735 | no | — |
| smarkets | Alexandra Eala vs Diana Shnaider | Alexandra Eala | 2.28 | 2.3178 | yes | 4.9 |
| unibet | Alexandra Eala vs Diana Shnaider | Alexandra Eala | 2 | 2.105 | no | -7.98 |
| bovada | Alexandra Eala vs Diana Shnaider | Diana Shnaider | 1.8 | 1.878 | no | -2.81 |
| pinnacle | Alexandra Eala vs Diana Shnaider | Diana Shnaider | 1.8065 | 1.8521 | no | — |

**Sample output (raw JSON):**

```json
[
  {
    "book": "pinnacle",
    "sport": "tennis",
    "league": "WTA Tokyo - QF",
    "eventId": "1639418514",
    "eventKey": "tennis|alexandra eala~diana shnaider|2026-10-30",
    "eventName": "Alexandra Eala vs Diana Shnaider",
    "homeName": "Alexandra Eala",
    "awayName": "Diana Shnaider",
    "startTime": "2026-10-30T08:00:00Z",
    "isLive": false,
    "market": "moneyline",
    "scope": "full_game",
    "line": null,
    "selection": "home",
    "participant": "Alexandra Eala",
    "priceDecimal": 2.12,
    "priceAmerican": 112,
    "impliedProbability": 0.471698,
    "overround": 0.025255,
    "fairProbability": 0.460079,
    "fairPriceDecimal": 2.1735,
    "isBestPrice": false,
    "bestPriceBook": "smarkets",
    "edgePercent": null,
    "maxRiskStake": 6000,
    "exchangeLayPrice": null,
    "exchangeLiquidity": null,
    "previousPrice": 2.12,
    "priceChange": 0,
    "moveDirection": "same",
    "firstSeenPrice": 2.12,
    "scrapedAt": "2026-10-30T08:03:36.785Z"
  },
  {
    "book": "bovada",
    "sport": "tennis",
    "league": "Tokyo",
    "eventId": "32891190",
    "eventKey": "tennis|alexandra eala~diana shnaider|2026-10-30",
    "eventName": "Alexandra Eala vs Diana Shnaider",
    "homeName": "Alexandra Eala",
    "awayName": "Diana Shnaider",
    "startTime": "2026-10-30T08:00:00.000Z",
    "isLive": true,
    "market": "spread",
    "scope": "full_game",
    "line": 1.5,
    "selection": "home",
    "participant": "Alexandra Eala",
    "priceDecimal": 1.833333,
    "priceAmerican": -120,
    "impliedProbability": 0.545455,
    "overround": 0.069264,
    "fairProbability": 0.510122,
    "fairPriceDecimal": 1.9603,
    "isBestPrice": false,
    "bestPriceBook": "pinnacle",
    "edgePercent": -8.73,
    "maxRiskStake": null,
    "exchangeLayPrice": null,
    "exchangeLiquidity": null,
    "previousPrice": 1.833333,
    "priceChange": 0,
    "moveDirection": "same",
    "firstSeenPrice": 1.833333,
    "scrapedAt": "2026-10-30T08:03:36.785Z"
  }
]
```

### 🐍 How to scrape sportsbook odds with Python, JavaScript or the API

Run the actor programmatically with the official Apify clients. Replace `<YOUR_API_TOKEN>` with the token from your [Apify Console](https://console.apify.com/account/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("confidential_gnat/sportsbook-odds-aggregator-scraper").call(run_input={
    "books": ["pinnacle", "bovada", "unibet", "smarkets"],
    "sports": ["tennis", "basketball"],
    "markets": ["moneyline"],
    "maxEventsPerSport": 20,
    "maxItems": 200,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('confidential_gnat/sportsbook-odds-aggregator-scraper').call({
    books: ['pinnacle', 'bovada', 'unibet', 'smarkets'],
    sports: ['tennis', 'basketball'],
    markets: ['moneyline'],
    maxEventsPerSport: 20,
    maxItems: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** — start a run and wait for the dataset:

```bash
curl -X POST "https://api.apify.com/v2/acts/confidential_gnat~sportsbook-odds-aggregator-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"books": ["pinnacle", "bovada", "unibet", "smarkets"], "sports": ["tennis", "basketball"], "markets": ["moneyline"], "maxEventsPerSport": 20, "maxItems": 200}'
```

### 💡 What you can use sportsbook odds data for

- Odds comparison and line shopping: find the best price for a side across bookmakers.
- Value betting models that measure soft-book prices against Pinnacle's no-vig fair price.
- Line-movement tracking and closing-line studies by running on a schedule with tracking on.
- Arbitrage and market-making research using exchange back and lay prices from Smarkets.
- Datasets of odds and implied probabilities for sports analytics and machine learning.

Typically used by bettors, sports analysts, quants and odds comparison sites.

### ⚠️ Limitations of the sportsbook odds scraper

- **Main lines by default** — alternate lines, parts of the game and props are off unless you switch them on; Unibet and Paf (Kambi) read these only for the 25 games per sport with the most offers, one request each, so those runs are slower and use more bandwidth.
- **Props** — Bovada and Unibet/Paf offer them. They carry no fair price or edge, because a prop's selections are not a complete set; player props name the player in `propName`.
- **Smarkets lines** — Smarkets totals and handicaps are read for the first 40 games of a sport, and only when alternate lines are on.
- **Matching games across books** — games are matched by team or player names and start time; extra words, accents, country tags and common club words are ignored. Nicknames and abbreviations (for example "Man City" and "Manchester City") are not matched, so their prices are not compared.
- **Tennis lines** — spreads and totals are in games at every bookmaker.
- **Bovada depth** — Bovada returns up to 50 pre-match games per sport, and a run with props reads a much larger feed.
- **Betting terms** — bookmaker terms may restrict automated reading; only prices that are public on the sites are collected.

### ❓ Sportsbook odds scraper FAQ

#### Can I scrape sportsbook odds legally?

The actor only collects odds that are already publicly visible on the bookmakers' sites and feeds, with no login, account or private content. Scraping publicly available data is generally considered lawful (see *hiQ Labs v. LinkedIn*), and you remain responsible for following each site's Terms of Service and the laws that apply to you, including betting regulations in your country.

#### What data does the sportsbook odds scraper return?

One record per price with the game, league, start time, live flag, market, line, side, decimal and American price, implied probability, overround, no-vig fair price, best-price flag, edge against Pinnacle and, with tracking on, the line movement. Smarkets rows also carry the lay price and liquidity, and Pinnacle rows the maximum stake.

#### How many prices can I scrape in one run?

`maxEventsPerSport` keeps that many games for each sport (the ones most bookmakers carry first) and `maxItems` limits the prices saved for each bookmaker. With alternate lines, parts of the game or props on, a game has many more prices, so raise `maxItems`.

#### Do I need a proxy to scrape these odds?

No. The proxy is off by default and the feeds answer plain requests. Turn on Apify Proxy in the input if your runs get blocked.

#### How do I scrape sportsbook odds with Python?

Use the Python example above: start the actor with the Apify client and iterate over the dataset items.

#### Can I run this odds scraper on a schedule?

Yes. Use Apify Schedules to run it as often as you need and switch on **Track line movement**: the actor keeps a snapshot of each run in a named key-value store and compares the next run with it. Keep the bookmakers, sports and mode the same between runs.

#### What output formats are supported?

JSON, CSV, Excel, XML and RSS, either from the **Output** tab or through the Apify API.

#### How is the best price decided across bookmakers?

Prices are compared for the same side of the same game, market, scope and line. If two bookmakers offer a different spread or total, those prices are not compared with each other.

### 🔗 Relevant actors for sportsbook odds data

| Scraper | Description |
| ------- | ----------- |
| [📈 Action Network Odds & Public Betting Scraper](https://apify.com/confidential_gnat/action-network-odds-scraper) | Sportsbook odds, public betting splits, opening lines and line movement. |
| [🎰 DraftKings Sportsbook Odds & Player Props Scraper](https://apify.com/confidential_gnat/draftkings-odds-scraper) | DraftKings odds for NBA, NFL, MLB, NHL, UFC, soccer and more, with player props. |
| [🏈 FanDuel Odds, Player Props & Same Game Parlay Scraper](https://apify.com/confidential_gnat/fanduel-odds-sgp-scraper) | FanDuel Sportsbook odds, player props and same game parlays. |
| [📊 Covers.com Odds, Line History & Betting Trends Scraper](https://apify.com/confidential_gnat/covers-odds-trends-scraper) | Covers.com odds, line history and betting trends for the major US leagues. |
| [🔮 Kalshi Markets Scraper](https://apify.com/confidential_gnat/kalshi-markets-scraper) | Kalshi prediction market prices, implied probability, spread and volume. |

### 🔗 Other actors you may find useful

| Scraper | Description |
| ------- | ----------- |
| [✈️ Kiwi.com Flight Scraper](https://apify.com/confidential_gnat/kiwi-flight-scraper) | Flight prices and schedules from Kiwi.com with airline and flight details. |
| [🚗 Copart Search Scraper](https://apify.com/confidential_gnat/copart-search-scraper) | Salvage and used vehicle auction lots from Copart search pages. |
| [📰 Sydney Morning Herald (SMH) News Scraper](https://apify.com/confidential_gnat/smh-news-scraper) | News articles from The Sydney Morning Herald with headline, author and date. |
| [🔎 WHOIS Domain Lookup Scraper](https://apify.com/confidential_gnat/whois-com) | Bulk WHOIS lookups for domains and URLs. |
| [🛒 Google Shopping Scraper](https://apify.com/confidential_gnat/google-shopping-scraper) | Google Shopping product listings, prices and deals for any search query. |

### 💬 Support & contact

If you encounter any issues or have questions, please [open an issue](https://apify.com/confidential_gnat/sportsbook-odds-aggregator-scraper/issues/open).

You can also find more of our actors on the [Actor Flow](https://apify.com/confidential_gnat) page.

# Actor input Schema

## `books` (type: `array`):

Which bookmakers to read. Unibet and Paf share one price feed. Empty means Pinnacle, Bovada, Unibet and Smarkets.

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

Which sports to read. Empty means tennis.

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

Which main-line markets to keep: moneyline (winner), spread (handicap) and total (over/under). Empty means all three. Smarkets offers the moneyline only.

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

Also read the alternate spreads and totals (Pinnacle, Bovada, Unibet and Paf), not only the main line.

## `includePeriods` (type: `boolean`):

Also read moneylines, spreads and totals of the first set (tennis), half, quarter or period (Pinnacle, Bovada, Unibet and Paf).

## `includeProps` (type: `boolean`):

Also read Bovada's, Unibet's and Paf's prop markets (total sets, set betting, tiebreaks, odd/even, correct scores and more). One row per selection, with the prop name in propName.

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

Read games that have not started, games in play, or both.

## `maxEventsPerSport` (type: `integer`):

How many games to keep for each sport. Games that more bookmakers carry come first, then the soonest, so a small number gives games you can compare.

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

Maximum prices (one per outcome) saved for each bookmaker.

## `includeLineMovement` (type: `boolean`):

Compares every price with the previous run and adds the previous price, the change, the direction and the first price seen. Needs the same books, sports and mode on every run; the first run has nothing to compare with.

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

No proxy is needed in normal use. Turn on Apify Proxy if your runs get blocked.

## Actor input object example

```json
{
  "books": [
    "pinnacle",
    "bovada",
    "unibet",
    "smarkets"
  ],
  "sports": [
    "tennis"
  ],
  "includeAlternateLines": false,
  "includePeriods": false,
  "includeProps": false,
  "mode": "both",
  "maxEventsPerSport": 20,
  "maxItems": 5,
  "includeLineMovement": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "books": [
        "pinnacle",
        "bovada",
        "unibet",
        "smarkets"
    ],
    "sports": [
        "tennis"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("confidential_gnat/sportsbook-odds-aggregator-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 = {
    "books": [
        "pinnacle",
        "bovada",
        "unibet",
        "smarkets",
    ],
    "sports": ["tennis"],
}

# Run the Actor and wait for it to finish
run = client.actor("confidential_gnat/sportsbook-odds-aggregator-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 '{
  "books": [
    "pinnacle",
    "bovada",
    "unibet",
    "smarkets"
  ],
  "sports": [
    "tennis"
  ]
}' |
apify call confidential_gnat/sportsbook-odds-aggregator-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,confidential_gnat/sportsbook-odds-aggregator-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/gUjhtxSlfmiUA3XDs/builds/LhbeafyL5geSMD0Aq/openapi.json
