# NHL odds — moneyline, puck line & totals from 3 books

**Use case:** 

NHL games from Bovada, Unibet (Kambi) and the Smarkets betting exchange side by side: full-game moneyline, puck line and total, with the best price flagged where two or more books quote the same outcome and line. Smarkets rows also carry the money resting behind each price. Up to 8 games per book, at most 144 rows (~$1.49 with the run fee). Keyless, no login.

## Input

```json
{
  "leagues": [
    "NHL"
  ],
  "books": [
    "bovada",
    "kambi",
    "smarkets"
  ],
  "sports": [],
  "leagueFilter": [],
  "marketTypes": [
    "h2h",
    "spreads",
    "totals"
  ],
  "maxEventsPerSport": 8,
  "includeFairOdds": false,
  "mode": "pre_match_only",
  "includeLineMovement": true,
  "includeBestPriceFlag": true,
  "includeAlternateLines": false,
  "deduplicationWindowSeconds": 30,
  "priceFormat": "decimal",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  },
  "book": {
    "label": "Book",
    "format": "string"
  },
  "sport": {
    "label": "Sport",
    "format": "string"
  },
  "league": {
    "label": "League",
    "format": "string"
  },
  "homeTeam": {
    "label": "Home",
    "format": "string"
  },
  "awayTeam": {
    "label": "Away",
    "format": "string"
  },
  "commenceTime": {
    "label": "Commence",
    "format": "string"
  },
  "isLive": {
    "label": "Live",
    "format": "boolean"
  },
  "matchClock": {
    "label": "Clock",
    "format": "string"
  },
  "matchScore": {
    "label": "Score",
    "format": "object"
  },
  "marketType": {
    "label": "Market",
    "format": "string"
  },
  "marketLine": {
    "label": "Line",
    "format": "number"
  },
  "outcomeKey": {
    "label": "Outcome",
    "format": "string"
  },
  "outcomeLabel": {
    "label": "Label",
    "format": "string"
  },
  "playerName": {
    "label": "Player",
    "format": "string"
  },
  "propStat": {
    "label": "Prop stat",
    "format": "string"
  },
  "parentEventId": {
    "label": "Game ID",
    "format": "string"
  },
  "propDescription": {
    "label": "Prop",
    "format": "string"
  },
  "price": {
    "label": "Decimal",
    "format": "number"
  },
  "priceAmerican": {
    "label": "American",
    "format": "number"
  },
  "priceFractional": {
    "label": "Fractional",
    "format": "string"
  },
  "impliedProbability": {
    "label": "Implied %",
    "format": "number"
  },
  "isBestPriceAcrossBooks": {
    "label": "Best",
    "format": "boolean"
  },
  "eventId": {
    "label": "Event ID",
    "format": "string"
  },
  "snapshotId": {
    "label": "Snapshot ID",
    "format": "string"
  },
  "overround": {
    "label": "Overround",
    "format": "number"
  },
  "noVigProb": {
    "label": "No-vig prob",
    "format": "number"
  },
  "noVigFairPrice": {
    "label": "No-vig fair price",
    "format": "number"
  },
  "noVigSource": {
    "label": "No-vig source",
    "format": "string"
  },
  "sharpFairPrice": {
    "label": "Sharp fair price",
    "format": "number"
  },
  "sharpSource": {
    "label": "Sharp source",
    "format": "string"
  },
  "edgePct": {
    "label": "Edge %",
    "format": "number"
  },
  "crossBookMarginPct": {
    "label": "Cross-book margin %",
    "format": "number"
  },
  "exchangeLiquidity": {
    "label": "Exchange depth",
    "format": "number"
  },
  "exchangeLayPrice": {
    "label": "Exchange lay",
    "format": "number"
  },
  "maxRiskStake": {
    "label": "Pinnacle max stake",
    "format": "number"
  },
  "previousPrice": {
    "label": "Prev price",
    "format": "number"
  },
  "priceChange": {
    "label": "Change",
    "format": "number"
  },
  "priceChangePct": {
    "label": "Change %",
    "format": "number"
  },
  "impliedProbChange": {
    "label": "Prob change",
    "format": "number"
  },
  "moveDirection": {
    "label": "Direction",
    "format": "string"
  },
  "secondsSincePreviousPrice": {
    "label": "Secs since prev",
    "format": "number"
  },
  "previousPriceAt": {
    "label": "Prev price at",
    "format": "string"
  },
  "firstSeenPrice": {
    "label": "First seen price",
    "format": "number"
  },
  "firstSeenPriceAt": {
    "label": "First seen at",
    "format": "string"
  },
  "moveSinceFirstSeen": {
    "label": "Move since first",
    "format": "number"
  },
  "moveSinceFirstSeenPct": {
    "label": "Move since first %",
    "format": "number"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Sports Betting Odds Scraper — NFL, NBA, NHL, Soccer & Props Actor is ready to run with the inputs already set for "NHL odds — moneyline, puck line & totals from 3 books". [Sign up or log in](https://console.apify.com/create-task-from-example/JuN6x0fbA6VcY6wjs) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "NHL odds — moneyline, puck line & totals from 3 books" task

The Sports Betting Odds Scraper — NFL, NBA, NHL, Soccer & Props Actor will start running based on the input automatically. You can also change all the input fields, like leagues, sportsbooks, and more, to match your specific use case.

### 3. Receive the "NHL odds — moneyline, puck line & totals from 3 books" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as scraped at, book, sport, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "NHL odds — moneyline, puck line & totals from 3 books" task via API](https://apify.com/zhorex/sports-odds-aggregator.md).

## About this Actor

This example demonstrates how to use [Sports Betting Odds Scraper — NFL, NBA, NHL, Soccer & Props](https://apify.com/zhorex/sports-odds-aggregator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhorex/sports-odds-aggregator.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhorex/sports-odds-aggregator.md

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`).
