<<<<<<< HEAD ======= >>>>>>> origin/main NHL Odds API · Real-Time Lines, Player Props & Historical Data | ParlayAPI

NHL odds API with real-time lines, player props, and closing odds back to 2007

Moneylines, puck lines, totals, and player props for every NHL game, served from a platform of 30+ sportsbooks and sources - with sub-5-second freshness on the major books. The 2026-27 season opens September 29, and books are already posting opening-night lines and Stanley Cup futures. Same response shape as the-odds-api, so an existing integration migrates in one URL change. Free tier, no card required.

45+
Sources, last 24h
4,000+
Prop markets (all sports)
sub-5s
Freshness, major books
1,000
Free credits / month

What the API covers for the NHL

One sport key - icehockey_nhl - the same key the-odds-api uses. Platform-wide figures below are measured across all 90+ sports we carry; the NHL is served by the same pipeline.

Game linesMoneylines, puck lines & totals

Full-game h2h, puck line (spread), and total prices. Opening-night lines for September 29 are already flowing from FanDuel, with DraftKings and BetMGM writing NHL markets alongside. In season, the NHL rides the same pipeline that processes 100k+ game-line updates per hour platform-wide.

GET /v1/sports/icehockey_nhl/odds GET /v1/sports/icehockey_nhl/events

Player propsGoals, points, assists & season markets

NHL player props on canonical market keys: player_goals, player_points, player_assists and more. Measured in the last 24 hours, six sources - DraftKings, Bovada, Pinnacle, FanDuel and BetMGM among them - wrote 21,000+ NHL prop rows across 30 distinct market keys, including season goal totals and team point totals.

GET /v1/sports/icehockey_nhl/props

Real timeStreaming & live odds

REST polling on every tier with sub-5-second freshness on major books. Business tier and above adds WebSocket streaming, so line moves are pushed to you instead of burning credits on polls. See /pricing for which tiers include streaming.

wss: /ws/odds/icehockey_nhl

HistoricalNHL closing lines back to 2007

34,000+ NHL closing game lines back to 2007, inside a platform archive of 1.7M+ closing game lines with continuous coverage from 2005 and 30M+ prop closing lines since June 2022 - the raw material for CLV tracking and backtesting NHL models.

GET /v1/historical/sports/icehockey_nhl/odds GET /v1/historical/sports/icehockey_nhl/closing-odds

Where NHL coverage stands today

The NHL is between seasons, so today's board (measured 2026-08) is opening-night game lines, 2026-27 Stanley Cup and conference futures from Pinnacle, and early season player markets - thinner than mid-season NHL depth, and it ramps sharply toward September 29. If you need full per-book NHL depth today, verify it yourself on the live NHL coverage page before you subscribe - it reads from live ingest.

Check the data before you sign up

Claims are cheap. These pages read from the same live API you'd be buying, so you can verify NHL coverage yourself, right now, without an account.

Live odds board

The current board, straight from the API - the same rows an /odds call returns.

parlay-api.com/live →

Coverage explorer

Which books are writing which sports and markets, measured from live ingest - including the NHL detail page.

parlay-api.com/coverage →

Status & freshness

Per-source ingest health and data freshness, updated continuously. If a book goes quiet, you'll see it here before we do a postmortem.

parlay-api.com/status →

Already on the-odds-api? Migrate in one URL change

ParlayAPI mirrors the-odds-api's v4 REST shape for NHL data: same icehockey_nhl sport key, same paths, same query parameters, same response JSON. Swap the base URL and your existing code keeps working. Full guide: /migrate-from-the-odds-api.

the one-line change
# before
curl "https://api.the-odds-api.com/v4/sports/icehockey_nhl/odds?regions=us&markets=h2h,spreads,totals&apiKey=YOUR_TOA_KEY"

# after
curl "https://parlay-api.com/v4/sports/icehockey_nhl/odds?regions=us&markets=h2h,spreads,totals&apiKey=YOUR_PARLAY_KEY"

Where the-odds-api is the better pick

the-odds-api is older, simpler, and more battle-tested, with a much larger base of tutorials, Stack Overflow answers, and community wrappers to copy from. If your NHL needs are basic - one region, game lines only, no streaming - its smaller surface area is a genuine advantage. Our honest roundup of the-odds-api alternatives compares seven providers side by side, us included.

Quickstart

Endpoint shapes below are the real ones from the API docs. Auth is either the-odds-api-style apiKey= query param or an X-API-Key header.

curl - NHL game lines
curl "https://parlay-api.com/v1/sports/icehockey_nhl/odds?regions=us&markets=h2h,spreads,totals&bookmakers=draftkings,fanduel,betmgm" \
  -H "X-API-Key: YOUR_KEY"

# player props - one call returns all books for the sport
curl "https://parlay-api.com/v1/sports/icehockey_nhl/props" \
  -H "X-API-Key: YOUR_KEY"
Python - pip install parlay-api
from parlay_api import ParlayAPI

client = ParlayAPI(api_key="YOUR_KEY")

# Tonight's board: moneylines, puck lines, totals
odds = client.odds("icehockey_nhl", regions="us", markets="h2h,spreads,totals")

# Player props on canonical market keys
props = client.props("icehockey_nhl", markets=["player_goals", "player_points"])

# De-vig a two-way prop into fair probabilities
fair_over, fair_under = ParlayAPI.devig(over_price=-110, under_price=-110)

SDK on GitHub: JacobiusMakes/parlay-api-python (MIT-licensed). Building with an AI agent instead? There's an official MCP server with 22 tools: pip install parlayapi-mcp.

NHL odds API - frequently asked

Is there a free NHL odds API?

Yes. ParlayAPI's free tier includes 1,000 credits per month with no credit card required, and it covers NHL game lines the same as paid plans. One call to /v1/sports/icehockey_nhl/odds returns moneyline, puck line, and total prices. Current paid tiers are listed at /pricing.

Does the NHL odds API include player props?

Yes. GET /v1/sports/icehockey_nhl/props returns NHL player props - goals, points, assists and more - on canonical market keys (player_goals, player_points, player_assists). Measured in the last 24 hours (2026-08, pre-season), six sources wrote 21,000+ NHL prop rows across 30 distinct market keys, including season goal totals and 2026-27 Stanley Cup futures. Depth increases sharply once the season opens September 29.

Can I get historical NHL odds and closing lines?

Yes. The archive holds 34,000+ NHL closing game lines back to 2007, inside a platform archive of 1.7M+ closing game lines with continuous coverage back to 2005, plus 30M+ prop closing lines since June 2022. Query /v1/historical/sports/icehockey_nhl/odds for snapshots or /v1/historical/sports/icehockey_nhl/closing-odds for closing lines - useful for CLV tracking and model backtests.

Is ParlayAPI compatible with the-odds-api for NHL data?

Yes - ParlayAPI mirrors the-odds-api's v4 REST shape: the same icehockey_nhl sport key, the same endpoint paths, the same query parameters, and the same JSON response shape. Migrating an existing integration is a base-URL change from api.the-odds-api.com/v4 to parlay-api.com/v4 - see the migration guide. To be fair, the-odds-api is older and simpler with a larger base of tutorials; if you don't need props depth, streaming, or prediction-market signals, it remains a solid choice.

Does the API have NHL odds before the 2026-27 season starts?

Yes. Books are already posting 2026-27 NHL markets: opening-night game lines from FanDuel, Stanley Cup and conference futures from Pinnacle, and season player goal markets from DraftKings - all measured in the last 24 hours (2026-08). Pre-season depth is thinner than mid-season depth and ramps toward September 29. In season, REST polling has sub-5-second freshness on major books, and Business tier and above adds WebSocket streaming at /ws/odds/icehockey_nhl. You can watch the live board at /live before signing up.

Ready before puck drop.

The 2026-27 NHL season opens September 29. Sign up free - 1,000 credits a month, no card required - and have NHL lines flowing before opening night.