Pinnacle NHL puck line odds API
Answer: the puck line is market spread on sport hockey. Each spread market carries a numeric line (the home team's handicap, usually -1.5 or +1.5 on the main NHL line) and home/away outcomes with decimal, american, fair and fairProb. Use main=true for the main line only; alternate puck lines arrive with alternate: true.
REST#
export PINNFEED_KEY="ps_live_..."
curl -sS -H "x-api-key: $PINNFEED_KEY" \
"https://pinnfeed.io/v1/odds?sport=hockey&market=spread&main=true&limit=30"
WebSocket#
{
"type": "subscribe",
"sports": ["hockey"],
"markets": ["spread", "moneyline", "total"],
"main": true,
"live": true
}
Connect to wss://pinnfeed.io/v1/stream with x-api-key on Builder. A puck-line move arrives as a delta for that market: the line, the prices or maxStake changed.
Reading a puck line market#
| Field | Meaning |
|---|---|
type | spread |
line | Home handicap (e.g. -1.5) |
outcomes[].name | home / away, each with its own points |
fair, fairProb | No-vig price and probability for each side |
alternate | true for alternate puck lines |
period | 0 for the full-game market |
maxStake | Limit on that line (maxStake) |
How overtime counts toward settlement is set by the bookmaker's rules, not by the feed; check them before you model it.
Isolating the NHL#
NHL shares the hockey slug with other leagues. Filter events whose league.name contains "NHL". Broader page: NHL / hockey odds API.
Plans#
Free shows delayed REST if you pick hockey as one of your 2 sports: sign up. Builder (€99/mo) for live push and closing lines. 3-day trial; card required, charged after day 3 unless cancelled. Same pattern in baseball: run line.
Educational content for adults (18+). No picks or guaranteed profit.
Questions people ask#
Is there a market called puck_line?#
No. Use spread; the line value is the puck line.
How do I get alternate puck lines?#
Drop main=true and keep markets where type is spread and alternate is true.
Can I get the closing puck line for CLV?#
On Builder or higher, GET /v1/closing/{eventId} returns the closing prices: closing lines for CLV.