How does line movement work?
How does line movement work? Why odds move from the opening line to the close, what sharp money, injuries and liability do to a line, and how to track it.
How a betting line changes between opening and the event start.
Lines move on betting action, news (injuries, weather) and books copying each other. Tracking movement over time shows where money is going and is essential for CLV.
How does line movement work? Start with the fact that a betting line is not a fixed number. From the moment a book posts an opener until the event starts, and again once it goes in-play, the spread, total and prices on each side get adjusted over and over. Line movement is the record of those adjustments. For anyone building with odds data, it is less a betting idea than a time series: a sequence of timestamped values per book, per market, that you can store, chart, compare and alert on.
Why line movement matters
A single snapshot of odds tells you where the market is. Movement tells you how it got there, and that context is what most odds products are built on:
- Odds screens highlight which numbers changed in the last few minutes so users can see the market reacting.
- Alert services notify users when a spread crosses a key number or a price shifts by more than a threshold.
- Models and research tools use opening and closing lines to measure how a market's view of a game changed, and to compute closing line value.
- Media sites chart a game's spread from open to kickoff next to a preview.
- Trading desks watch how quickly each book reacts to changes elsewhere, which is the raw material for spotting a steam move.
All of these need the same thing underneath: every change, with a reliable timestamp, in a shape that makes a line move distinguishable from a price move.
Why odds move
Part of the answer to "how does line movement work?" is what makes lines move in the first place. Books adjust numbers for a handful of reasons, and they show up differently in the data:
- Information. Injury reports, lineup confirmations, weather and starting-pitcher changes. News tends to move many books within a short window.
- Action. Books respond to the money they take. A sharp book that accepts large limits from professional bettors will often move first and furthest.
- Copying. Many soft books take their cue from the market leaders, so their moves lag by seconds or minutes.
- Balancing exposure. A book may shade a price on a popular side without any new information about the game.
- In-play state. Once the event starts, every score, possession and clock change can move the live number.
Line moves versus price moves
Any answer to "how does line movement work?" in code starts with one modelling decision: treat the line and the price as separate fields. Take a full-game NFL point spread with the home team at -3:
| Time (UTC) | Home line | Home price | Away price | What changed |
|---|---|---|---|---|
| 14:00:00 | -3 | -110 | -110 | Opening value |
| 15:12:40 | -3 | -120 | +100 | Price only |
| 16:05:18 | -3.5 | -105 | -115 | Line and price |
Between the first two rows the number stayed at 3, but the home price went from -110 to -120. In implied probability terms, -110 is 110 / 210 = 52.38% and -120 is 120 / 220 = 54.55%, so the book now asks more to back the favorite at the same number. Football books often prefer this kind of price adjustment to moving off 3, because so many games land on a 3-point margin. In the third row the book finally moved the line to -3.5 and reset the home price to -105, which implies 105 / 205 = 51.22%. The home side now has to cover a bigger number at a cheaper price.
If your schema has a single "odds" column, those three states blur together. Keep line (and each outcome's point) separate from each outcome's price, and record both on every change.
Totals behave the same way. An over/under moving from 47.5 to 48.5 is a line move; the over moving from -110 to -118 at 47.5 is a price move. Moneylines have no line at all, so every moneyline change is a price move.
Measuring the size of a move
"Ten cents" is a common shorthand, but raw cents are uneven across the price range: -105 to -115 is about 2.3 points of implied probability, while +300 to +310 is about 0.6. For comparing moves across markets or books, convert both sides to no-vig fair odds and track the change in fair probability. A moneyline going from -150 / +130 to -165 / +145 moves the favorite's fair probability from 57.98% to 60.40%, a change of 2.4 points. Cents still have a place as a simple alerting threshold, as long as you know what they are and are not measuring.
How does line movement work in odds data?
In PreciseAPI responses, every market object carries:
line: the main number, from the home team's perspective for spreads, or the total.outcomes[]: each withside,point(where relevant) andprice.suspended: true when the source has stopped reporting the market.updated_at: the time of the last price or line change to that market. It is not a "last checked" time. If a book keeps reposting the same numbers, or only the liquidity behind them changes,updated_atstays put, which is exactly what you want when you are measuring how long a price has been stable.
Each bookmaker block in /v1/odds also reports its own updated_at, which is the latest change across the markets returned for that book.
Suspensions deserve their own handling. When a book stops reporting, or an event finishes, the market is flagged suspended and REST responses drop it unless you pass include_suspended=true. A suspension is not a line move: the last numbers before it are still the last numbers the book offered. When the market comes back, compare the new values with the pre-suspension values, not with nothing.
How the PreciseAPI API helps
Line history for full-game main markets
/v1/history returns the opening value, the current value and every recorded change in between for a book's full-game moneyline, spread or total. You can pass a market_id from any odds response, or an event_id plus book, market and period. Each call costs 3 credits, and history is included on the Edge, Sharp and Syndicate plans. The line history reference lists every parameter.
curl "https://api.preciseapi.com/v1/history?event_id=evt_0uuc6p2dsqa&book=pinnacle&market=spread" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
{
"data": {
"market_id": "mkt_14ivq762bz0",
"open": { "t": "2026-10-18T14:00:00.000Z", "line": -3, "prices": [-110, -110] },
"current": { "t": "2026-10-18T16:05:18.000Z", "line": -3.5, "prices": [-105, -115] },
"points": [
{ "t": "2026-10-18T14:00:00.000Z", "line": -3, "prices": [-110, -110] },
{ "t": "2026-10-18T15:12:40.000Z", "line": -3, "prices": [-120, 100] },
{ "t": "2026-10-18T16:05:18.000Z", "line": -3.5, "prices": [-105, -115] }
]
}
}
prices are listed in the same order as the market's outcomes, so read the outcome names and sides from an odds response for the same market before you label a chart. Pass format=decimal or format=probability to get prices in another format; lines are unaffected.
Real-time movement over the stream
Polling history is fine for charts and backtests. For a live view, the WebSocket stream pushes a snapshot and then delta messages containing only the markets that changed, batched every 250 ms and numbered with a per-connection seq. The stream is available on the Syndicate plan (10 concurrent sockets) and is metered at one credit when the connection opens plus one per minute while it stays open.
import WebSocket from 'ws';
const ws = new WebSocket('wss://api.preciseapi.com/v1/stream', {
headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` },
});
const last = new Map(); // event|book|market|period -> { line, prices }
ws.on('open', () => ws.send(JSON.stringify({ type: 'subscribe', leagues: ['nfl'], markets: ['spread', 'total'] })));
ws.on('message', (raw) => {
const msg = JSON.parse(raw);
if (msg.type !== 'delta') return;
for (const { event_id, book, market } of msg.changes) {
const key = `${event_id}|${book}|${market.key}|${market.period}`;
const prev = last.get(key);
const prices = market.outcomes.map((o) => o.price);
if (prev && !market.suspended) {
const kind = prev.line !== market.line ? 'line' : 'price';
console.log(market.updated_at, event_id, book, market.key, kind, prev.prices, '->', prices);
}
last.set(key, { line: market.line, prices });
}
});
Line-move webhooks
If you only care about moves above a threshold, let PreciseAPI do the watching. A line-move alert rule, set up under Alerts in the dashboard, sends a signed line.moved event to your webhook endpoint when a full-game main-market price moves by at least your threshold in cents, or when a spread or total line changes. Rules can be narrowed to leagues, books and markets, each market fires at most once every 10 minutes per rule, and each delivered alert costs one credit. The payload includes move (outcome, from, to, cents) and, for number changes, line (from, to).
Current numbers across books
/v1/odds with books= (or bookmakers=) returns the current state for the books you choose, so you can compare a book's latest updated_at against the rest of the market. The historical odds API page summarises how history fits together with the live feed.
Common mistakes in code
- Treating every update as a move. A new history point or delta can reflect a suspension flag or another field changing while line and prices stay the same. Compare values before counting a move.
- Mixing up outcome order.
pricesin history follow the market's outcome order. Map them by position to the outcomes you read from an odds response rather than assuming home is always first. - Caching a market id across a line change. When a spread or total moves to a new number, look the market up again by
event_id,bookandmarketinstead of assuming an id you stored earlier still points at the current line. - Counting suspensions as movement. A market disappearing and reappearing at the same number has not moved.
- Using
currentas the closing value. History keeps recording after the event goes live, so find the last point beforestart_timeif you want the pre-game close. - Comparing raw cents across price ranges. Convert to fair probability when moves need to be comparable.
Related terms and guides
- Steam move: a fast, market-wide move across many books.
- Closing line value: comparing a recorded price with the final pre-game number.
- Line shopping: comparing current numbers across books.
- Sharp book and soft book: why some books move first.
For worked projects, read detecting steam moves with real-time odds, backtesting with line history and the NFL odds data guide.
Frequently asked questions
What is the difference between a line move and a price move?
A line move changes the number itself, such as a spread going from -3 to -3.5 or a total from 47.5 to 48.5. A price move changes the odds attached to the same number, such as -110 becoming -120 at -3. PreciseAPI keeps line and each outcome's price in separate fields so you can detect each one independently.
Does PreciseAPI provide historical line movement?
Yes. /v1/history returns the opening value, the current value and every recorded change for full-game moneyline, spread and total markets. It costs 3 credits per call and is included on Edge, Sharp and Syndicate.
What does updated_at mean on a market?
It is the time of the last price or line change to that market. If a book keeps sending identical numbers, or only the liquidity, links or suspension change, updated_at does not advance, so it tells you how long the current numbers have been in place.
How can I get notified when a line moves?
Create a line-move alert rule in the dashboard and point it at a webhook endpoint. PreciseAPI sends a signed line.moved event when a main-market price moves by your threshold in cents or the spread or total line changes. The odds alerts use case shows how teams build on it.
Should I poll or stream to track line movement?
Polling /v1/odds every few minutes works for slow pre-game markets. For live games or anything time-sensitive, the WebSocket stream pushes each change as it happens without spending a request per check. The polling versus WebSockets guide compares the two in detail.
Related reading
- NFL Odds Data: How Lines Move From Open to Kickoff: The weekly NFL market lifecycle from a data perspective: lookahead lines, openers, key numbers 3 and 7, injury news and the close, plus how to store and query line history.
- How to Detect Steam Moves with Real-Time Odds Data: What a steam move is, how to detect synchronized moves across sportsbooks in real time, a working JavaScript detector, and the false positives to filter out.
- Backtesting Betting Models with Line History (Without Fooling Yourself): Backtest a betting model on timestamped odds with decision-time snapshots, sharp closing lines, CLV grading and no look-ahead bias, plus a pandas sketch.