NHL odds API

NHL odds API: real-time lines, player props, futures and in-play odds from every book that prices NHL, in one schema over REST and WebSocket.

Hockey is a low-scoring, fast-moving sport, and its betting markets reflect that. A single goal can flip a game, a goalie announcement can move a price before puck drop, and a pulled goalie late in the third period can swing totals in seconds. If you build odds screens, alert services, media widgets or pricing models, NHL odds data needs to keep up with that pace.

The PreciseAPI NHL odds API collects moneylines, puck lines, totals, first-period markets, player props and Stanley Cup futures from 36 sources and returns them in a single normalized JSON shape with stable ids. It is a data feed for developers: PreciseAPI does not accept wagers or publish picks. Below is what the feed covers, which books price hockey, how the NHL market behaves for data purposes, and how to make your first request.

What NHL markets does the API cover?

The NHL has 4 periods in the catalog, full_game (full game), 1p (1st period), 2p (2nd period) and 3p (3rd period), and it has both player props and futures.

Market keyGroupWhat it means in hockey
moneylineMainWhich team wins, as a two-way price.
spreadMainThe puck line, usually -1.5 / +1.5.
totalMainCombined goals, over or under a number such as 5.5 or 6.5.
alternate_totalAlternateA ladder of goal totals around the main number.
team_totalTeamGoals scored by one team, over or under.
alternate_team_totalAlternateA book's other team-total lines, one market per line.
player_pointsPropsA skater's goals plus assists.
player_shots_on_goalPropsShots on goal by a skater.
outrightFuturesThe Stanley Cup winner board.

The puck line is hockey's version of a spread. Because so many games are decided by one goal, the line stays fixed at 1.5 and the price moves. A favorite at -1.5 is often priced at plus money even when its moneyline is well below even, which surprises people coming from football or basketball data. The catalog has alternate_spread for the NHL, but for the same reason the depth is in totals, where books publish several numbers around the main total.

The 1p period isolates the first 20 minutes, with its own moneyline, puck line and total. First-period totals are usually set at a low number, often 1.5, and they react to the same goalie and lineup news as the full game.

How a book settles a hockey moneyline (whether overtime and the shootout count, or whether it is a regulation-time market) is a book-level rule. Most US books grade the standard moneyline including overtime and the shootout, but check each source's terms if your product depends on it.

NHL prop keys

The catalog defines 12 player prop keys for the NHL. /v1/props returns one market per player and stat for the ones a sportsbook or DFS pick'em app has posted, so what a game carries varies:

Market keyStat
player_pointsPoints
player_assistsAssists
player_shots_on_goalShots on goal
player_hockey_hitsHockey hits
player_goalsGoals
player_savesGoalkeeper saves
player_fantasy_scoreFantasy score
player_blocked_shotsBlocked shots
player_powerplay_pointsPower play points
player_faceoffs_wonFaceoffs won
player_first_goalFirst goalscorer
player_plus_minusPlus/minus

Which sportsbooks price NHL?

36 sources price the NHL:

Circa is tagged both regulated and sharp, which makes it a useful reference column on a US-facing screen. FanDuel and the other regulated books carry the deepest menus of first-period lines, team totals and props. DFS apps such as Underdog price skater points and shots on goal as pick'em lines, returned through the same props endpoint as sportsbook props.

How the NHL betting market behaves, and what it means for your app

Schedule rhythm

The regular season runs from early October to mid-April, with each team playing 82 games, and the playoffs run from April into June. Most nights have several games, with heavier slates on some weeknights and Saturdays. Start times bunch around the evening Eastern window with a few matinees, so live and pre-match games overlap every night. Back-to-back games are common, which feeds into the next point.

Goalies are the key news

The confirmed starting goalie is the most important piece of pre-game information in hockey pricing. When a team announces its starter, or when a backup is confirmed on the second night of a back-to-back, the moneyline, puck line, total and first-period markets can all move together. Injuries and line combinations from the morning skate add more movement. That makes the last few hours before puck drop the busiest pre-match window, and the place where a fast refresh pays off for users watching line movement.

In-play patterns

Real-time NHL odds move in bursts. A goal, a major penalty or a power play produces a cluster of updates across books, and sharp books tend to update first while slower retail books follow a moment later. That lag is what a steam move detector looks for; the steam moves guide shows the logic. Late in a close game, when a trailing team pulls its goalie, the puck line and total reprice quickly because an empty-net goal becomes likely. During those moments, some sources stop updating briefly. PreciseAPI marks a market suspended: true when a source's price goes stale, and those markets are excluded by default unless you pass include_suspended=true.

Props and futures

Skater props are typically posted on game day. Stanley Cup futures are priced all year and move with trades, injuries and playoff seeding; they are most active at the start of the season, around the trade deadline and through the playoffs.

How to use the NHL odds API

Get an API key (Edge plan and up) on the get-access page and follow the quickstart. This request returns full-game and first-period lines from three books:

curl "https://api.preciseapi.com/v1/odds?league=nhl&markets=moneyline,spread,total&periods=full_game,1p&books=pinnacle,circa,fanduel&status=scheduled" \
  -H "Authorization: Bearer $PRECISEAPI_KEY"

The response groups prices by event and then by source. Each market has a key, a period, an optional line and outcomes with side, point and price. This Python script prints each book's puck line and first-period total:

import os
import requests

r = requests.get(
    "https://api.preciseapi.com/v1/odds",
    params={
        "league": "nhl",
        "markets": "spread,total",
        "periods": "full_game,1p",
        "books": "pinnacle,circa,fanduel",
    },
    headers={"Authorization": f"Bearer {os.environ['PRECISEAPI_KEY']}"},
)
r.raise_for_status()
body = r.json()

for event in body["data"]:
    print(f"{event['away']['abbr']} @ {event['home']['abbr']}  {event['status']}")
    for book in event["bookmakers"]:
        for m in book["markets"]:
            if m["suspended"]:
                continue
            if m["key"] == "spread" and m["period"] == "full_game":
                home = next(o for o in m["outcomes"] if o["side"] == "home")
                print(f"  {book['name']:<10} puck line {home['point']:+} {home['price']}")
            if m["key"] == "total" and m["period"] == "1p":
                over = next(o for o in m["outcomes"] if o["side"] == "over")
                print(f"  {book['name']:<10} 1P total {m['line']} over {over['price']}")

print("credits left:", body["meta"]["credits_remaining"])

The full parameter list is in the odds reference.

NHL player props API and futures

/v1/props?league=nhl&markets=player_shots_on_goal returns shots-on-goal lines from sportsbooks and DFS apps together, each tied to a stable player id. /v1/futures?league=nhl returns the Stanley Cup board with every source's price per team, the simplest way to show NHL futures odds side by side.

Best puck line prices

/v1/best-lines?league=nhl&markets=moneyline,spread,total returns, for every comparable market, the best price on each outcome, the best_books offering it and how many books are quoting. The puck line makes this simple: because nearly every book hangs the same 1.5, the prices compare directly, and the result is a clean best-price row per game. Totals need more care, since one book may sit at 5.5 while another is at 6.5; compare only markets with the same line, and show the number next to the price so users can see the difference. Add periods=1p to do the same for the first period.

Live odds over WebSocket

Polling 15 live games every second still lags. The NHL live odds API is the WebSocket at /v1/stream, on the Syndicate plan: subscribe once, receive a snapshot, then deltas with only the markets that changed, each message carrying a sequence number so you can detect gaps and resync.

{ "type": "subscribe", "leagues": ["nhl"], "markets": ["moneyline", "spread", "total"], "periods": ["full_game"] }

Pair the stream with /v1/scores?league=nhl&status=live if you also need the period and game clock on your screen.

Credit math for a hockey night

It helps to size usage before you pick a plan. Live NHL prices are on the Syndicate plan, which has unlimited credits, so there the question is delivery rather than budget. Polling the whole league every 2 seconds through a three-hour evening window is about 5,400 /v1/odds calls a night and still only samples the market; the stream sends every change over one connection. Most teams building an NHL betting API integration end up with REST for pre-match boards and futures, which Edge covers, and the stream for live games, which arrives with the Syndicate plan.

What you can build

NHL and team names are trademarks of their respective owners and are used here for identification only. PreciseAPI is not affiliated with or endorsed by the National Hockey League.

Frequently asked questions

Is there a free NHL odds API?

You can try the data for free. The Sandbox includes 50 credits for the Sandbox chat with no card required and covers pre-game NHL lines and props, so you can ask about the board in plain English before choosing a paid plan. The same credits work on the API with your free key, at 20 requests a minute.

How fast do NHL odds update?

In-play prices are delivered in under 500 ms and pre-match prices refresh every 1 to 2 seconds. Use the WebSocket stream on the Syndicate plan for live games rather than polling.

Does the NHL odds API include the puck line and first-period markets?

Yes. The puck line is the spread market, and first-period moneyline, puck line and total are returned when you request periods=1p.

Which books and markets are covered for the NHL?

36 sources price the NHL, from regulated US books and sharp books to betting exchanges, contract exchanges and DFS apps. Markets include moneyline, puck line, totals, alternate totals, team totals, skater points and shots on goal props, and Stanley Cup futures.

Can I see how NHL lines moved before a game?

Yes. /v1/history returns the opening price, the current price and timestamped moves for main full-game markets from each book. Line history is included on every paid plan, from Edge up.

Does the API return NHL scores?

It returns the score and game clock for live and recently finished games through /v1/scores. It is an NHL API for prices, so detailed game statistics are not part of the feed.