Guides / Spotting arbitrage between books

Spotting arbitrage between books

By the dino.markets team · Updated 25 Nov 2026

Arbitrage is when the best prices on the two sides of a game, taken from different books, add up to less than 100%. A bet on both sides then returns more than the total staked, if both bets are accepted and settle alike.

Test a pair of prices

Add 1 / price for the two sides. On 25 Nov 2026 at 03:33 UTC the best Cardinals price was 4.348 at Kalshi and the best Commanders price was 1.330 at Betfair Exchange. 23.00% and 75.19% make 98.19%.

Split the stake

Each side’s share is its implied chance divided by the total. Of 100, that is 23.42 on the Cardinals and 76.58 on the Commanders. Either result returns 101.85, before fees.

Run the script

Export your key as DINO_API_KEY and run this with Python 3.

import json
import os
from datetime import datetime, timezone
from urllib.request import Request, urlopen

now = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
games = []

for league in ["nfl", "nba", "nhl"]:
    url = f"https://api.dino.markets/v2/odds?league={league}&markets=moneyline&limit=25"
    request = Request(url, headers={"Authorization": f"Bearer {os.environ['DINO_API_KEY']}"})
    with urlopen(request, timeout=30) as response:
        events = json.load(response)["events"]

    for event in events:
        if event["start_time"] <= now:  # only games that have not started
            continue
        best = {}  # side -> (decimal, book, team, updated_at)
        for book in event["books"]:
            for market in book["markets"]:
                for o in market["outcomes"]:
                    offer = (float(o["price"]), book["name"], o["name"], market["updated_at"])
                    if o["side"] not in best or offer[0] > best[o["side"]][0]:
                        best[o["side"]] = offer
        if set(best) == {"home", "away"}:
            total = sum(1 / offer[0] for offer in best.values())
            games.append((total, league, best))

games.sort(key=lambda g: g[0])
print(f"{len(games)} games checked, {sum(g[0] < 1 for g in games)} under 100%")
for total, league, best in games[:3]:
    print(f"{league}: {100 * total:.2f}%")
    for price, book, team, updated in best.values():
        stake = 100 * (1 / price) / total
        print(f"  {team} {price:.3f} at {book}, stake {stake:.2f} of 100, returns {stake * price:.2f} (since {updated})")

The output of that run:

Output
71 games checked, 16 under 100%
nfl: 98.19%
  Arizona Cardinals 4.348 at Kalshi, stake 23.42 of 100, returns 101.85 (since 2026-11-25T01:56:08Z)
  Washington Commanders 1.330 at Betfair Exchange, stake 76.58 of 100, returns 101.85 (since 2026-11-25T03:16:52Z)
nba: 99.00%
  Indiana Pacers 2.273 at Kalshi, stake 44.44 of 100, returns 101.01 (since 2026-11-25T01:56:20Z)
  Philadelphia 76ers 1.818 at Polymarket, stake 55.56 of 100, returns 101.01 (since 2026-11-25T01:57:15Z)
nfl: 99.17%
  Minnesota Vikings 1.360 at Smarkets, stake 74.14 of 100, returns 100.84 (since 2026-11-25T03:01:50Z)
  Atlanta Falcons 3.900 at Matchbook, stake 25.86 of 100, returns 100.84 (since 2026-11-25T01:56:51Z)

Check before you trust a gap

All three examples use an exchange or a prediction market. Their commissions and fees are not in the price and can be larger than the gap.

  • Price. since is when the price was first seen. Confirm both prices at the books.
  • Size. The API does not say how much can be staked at a price.
  • Rules. Two places may settle a tie, a postponement or a cancelled game differently.
  • Access. A book may not be open where you are, and it can limit or close an account.

Questions

Does this cover spreads and totals?

No, only moneylines. For totals, compare Over and Under at the same point.

How many credits does a run cost?

At most 3: the script makes one call for each of three leagues, and a league with no games is free.

Can I run it for soccer?

A soccer moneyline has three sides. Ask for moneyline_3way and require home, draw and away.

Is this betting advice?

No. It shows how to compare prices with code.