What is line shopping?

Line shopping means comparing every sportsbook’s price before you bet and taking the best one. Why it matters, what it is worth and how to do it with data.

Comparing prices across books to bet at the best available number.

The same bet can be −110 at one book and +100 at another. Always taking the best price is the simplest way to lower the vig you pay — and it’s exactly what an odds screen automates.

Sportsbooks do not agree on prices. On any given game, the same side of the same market can carry noticeably different odds from one book to the next, and occasionally a different number altogether. Line shopping, or shopping for the best odds, is the practice of lining those prices up side by side and identifying the best one available for each outcome. It is the core job of every odds screen and comparison widget, and from a data point of view it is a normalization and comparison problem across many sources.

Why line shopping matters

Price differences between books exist for ordinary reasons. Books set margins differently, react to news at different speeds, manage their own exposure, and run promotions on popular games. The result is a spread of prices for the same proposition at any given moment.

For users, seeing that spread makes the market transparent and shows which of their sportsbook accounts has the best number. For builders, it is the basis for a whole category of products:

Line shopping is a comparison of prices. It does not predict outcomes, and the best available price on a side tells you nothing about whether that side will win.

How line shopping works

Same line, different prices

Take an NFL point spread where three books all have the home team at -3:

BookHome -3Away +3Implied totalHold
Book A-115-105104.71%4.50%
Book B-108-112104.75%4.54%
Book C-105-115104.71%4.50%
Best of each side-105 (C)-105 (A)102.44%2.38%

Each row's implied total is the sum of both sides' implied probabilities. Book A's -115 implies 115 / 215 = 53.49% and its -105 implies 105 / 205 = 51.22%, so the two sides sum to 104.71%. The hold is 1 − 1 / 1.0471 = 4.50%.

Every individual book carries a margin of about 4.5%. Taking the best price on each side from different books gives -105 on both, which sums to 102.44% and a combined hold of 2.38%. That gap between a single book's margin and the best-of-market margin is exactly what a line-shopping view makes visible.

In decimal odds, the home side is 1.8696 at -115 versus 1.9524 at -105, a gap of about 0.083 for exactly the same proposition.

A simpler illustration

The classic example is the same side quoted at -110 at one book and +100 at another. -110 implies 52.38% and is 1.9091 in decimal; +100 implies 50% and is 2.0000 in decimal. Nothing about the game is different. Only the price is.

Different lines

Sometimes books disagree on the number itself: one has the home side at -3 -110 and another at -2.5 -120. Those are different propositions, because a 3-point win lands differently on each. A comparison should either group prices by line, showing -3 and -2.5 as separate rows, or convert between lines with an explicit, sport-specific model. Treating -2.5 -120 and -3 -110 as the "same" market is one of the most common errors in comparison tools.

Margins and reference prices

Line shopping pairs naturally with no-vig fair odds. De-vigging a reference book, often a sharp book such as Pinnacle, gives an estimate of fair probability to set next to the best available price. The sportsbook hold comparison shows how margins differ by book and market.

How line shopping shows up in data

A comparison is only as good as the alignment of its inputs:

How the PreciseAPI API helps

/v1/best-lines: the comparison, done for you

/v1/best-lines returns, for every comparable market, the best price per outcome, every book offering that price (ties included) and how many books are quoting the market. Prices are grouped by market key, period and line, so -3 and -3.5 never get mixed, and a group needs at least two books quoting it to appear. Suspended markets, alternate ladders and DFS apps are excluded. It defaults to the main markets (moneyline, spread, total) for the full game and costs 3 credits per request on every paid plan. See the best lines reference.

curl "https://api.preciseapi.com/v1/best-lines?league=nfl&markets=spread&books=pinnacle,draftkings,fanduel,betmgm,caesars" \
  -H "Authorization: Bearer $PRECISEAPI_KEY"
{
  "data": [
    {
      "id": "evt_0uuc6p2dsqa",
      "league": "nfl",
      "start_time": "2026-10-18T17:00:00.000Z",
      "home": { "id": "nfl_jax", "name": "Jacksonville Jaguars", "abbr": "JAX" },
      "away": { "id": "nfl_hou", "name": "Houston Texans", "abbr": "HOU" },
      "markets": [
        {
          "key": "spread",
          "period": "full_game",
          "line": -3,
          "books_quoting": 4,
          "outcomes": [
            { "name": "Jacksonville Jaguars", "side": "home", "point": -3, "best_price": -105, "best_books": ["fanduel"] },
            { "name": "Houston Texans", "side": "away", "point": 3, "best_price": -105, "best_books": ["draftkings", "betmgm"] }
          ]
        }
      ]
    }
  ]
}

/v1/odds: the full board

When you need every book's price rather than just the best one, /v1/odds returns each event with a bookmakers array. Use books= (or bookmakers=) to choose sources, markets= and periods= to narrow the request, and format=decimal if your comparison logic works in decimal odds. It costs 2 credits per request.

const res = await fetch(
  'https://api.preciseapi.com/v1/odds?league=nfl&markets=spread&books=pinnacle,draftkings,fanduel,betmgm',
  { headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` } },
);
const { data } = await res.json();

for (const event of data) {
  const rows = new Map(); // line -> [{ book, home, away, updated_at }]
  for (const bk of event.bookmakers) {
    for (const m of bk.markets) {
      const home = m.outcomes.find((o) => o.side === 'home');
      const away = m.outcomes.find((o) => o.side === 'away');
      if (!home || !away) continue;
      const list = rows.get(m.line) ?? [];
      list.push({ book: bk.id, home: home.price, away: away.price, updated_at: m.updated_at });
      rows.set(m.line, list);
    }
  }
  console.log(`${event.away.abbr} @ ${event.home.abbr}`, Object.fromEntries(rows));
}

Matching outcomes by side rather than by array position keeps the comparison correct even if books list outcomes in a different order.

Keep it live

An odds screen that refreshes every few minutes will show prices books have already moved. The WebSocket stream pushes only the markets that change, so a screen can update one cell at a time. It is available on the Syndicate plan, with 10 concurrent sockets. For notifications when a specific book moves a main-market price past a threshold, line-move webhooks send a signed line.moved event.

Wide coverage

PreciseAPI tracks 36 sources, including 23 sportsbooks, 7 exchanges and 6 DFS apps, across 17 leagues. Exchanges arrive in the same schema as sportsbooks, with their exchange liquidity, so they can sit in the same comparison table. The best lines API page summarises the feature.

Common mistakes in code

Frequently asked questions

What is the difference between line shopping and an odds screen?

Line shopping is the comparison itself: finding the best available price for each outcome across books. An odds screen is the product that automates it, displaying every book's numbers side by side and highlighting the best one.

Does /v1/best-lines compare different spreads, like -3 and -3.5?

No. It groups prices by market, period and line, so each distinct number is its own group with its own best prices. This avoids presenting a different proposition as a better price.

How many books does PreciseAPI compare?

The catalog covers 36 sources across 17 leagues. /v1/best-lines compares sportsbooks and exchanges and excludes DFS apps. You can restrict any request to a subset with books.

Why does the best price change so often?

Books move at different times and for different reasons, so the book offering the best price can change several times before an event. On busy game days, streaming is the practical way to keep a comparison current.

Can I compare prices in decimal or probability format?

Yes. Add format=decimal or format=probability to /v1/odds or /v1/best-lines. Lines and points are unaffected; only prices change format.

Related reading