Books quote different prices for the same line. These two short scripts compare every line of the next three games at US books and print the highest and lowest price for each.
One request returns every book
GET /v2/odds returns each game with every book's markets already attached, so there is nothing to join. region=us keeps US books and limit=3 asks for the next three games. The call costs 1 credit.
curl "https://api.dino.markets/v2/odds?league=nfl®ion=us&limit=3" \
-H "Authorization: Bearer $DINO_API_KEY"
Python
Export your key as DINO_API_KEY and run this with Python 3. It uses only the standard library.
import json
import os
from datetime import datetime, timezone
from urllib.request import Request, urlopen
URL = "https://api.dino.markets/v2/odds?league=nfl®ion=us&limit=3"
request = Request(URL, headers={"Authorization": f"Bearer {os.environ['DINO_API_KEY']}"})
with urlopen(request, timeout=30) as response:
events = json.load(response)["events"]
now = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
for event in events:
if event["start_time"] <= now: # only games that have not started
continue
prices = {} # (market, outcome, point) -> [(decimal, american, book)]
for book in event["books"]:
for market in book["markets"]:
for o in market["outcomes"]:
if o["american"] is None: # a price of 1.000 or less has no American price
continue
key = (market["key"], o["name"], o.get("point"))
prices.setdefault(key, []).append((float(o["price"]), o["american"], book["name"]))
print(" at ".join(p["name"] for p in sorted(event["participants"], key=lambda p: p["role"])))
for (market, name, point), offers in sorted(prices.items(), key=lambda kv: "|".join((kv[0][0], kv[0][1], kv[0][2] or ""))):
if len(offers) < 2: # nothing to compare at this line
continue
best, worst = max(offers), min(offers)
if best[0] == worst[0]: # every book offers the same price
continue
label = f"{market} {name}"
if point is not None:
label += f" {float(point):+g}" if market == "spread" else f" {float(point):g}"
extra = 100 * (best[0] - worst[0])
print(f" {label}: {best[1]} at {best[2]}, worst {worst[1]} at {worst[2]}, {extra:.2f} more per 100 staked ({len(offers)} books)")
JavaScript
The same script for Node 18 or later, using the built-in fetch. Save it as line_shop.mjs.
const url = "https://api.dino.markets/v2/odds?league=nfl®ion=us&limit=3";
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.DINO_API_KEY}` } });
const { events } = await res.json();
const now = new Date().toISOString();
const cmp = (x, y) => (x < y ? -1 : x > y ? 1 : 0);
for (const event of events) {
if (event.start_time <= now) continue; // only games that have not started
const prices = new Map(); // "market|outcome|point" -> [{ decimal, american, book }]
for (const book of event.books) {
for (const market of book.markets) {
for (const o of market.outcomes) {
if (o.american == null) continue; // a price of 1.000 or less has no American price
const key = [market.key, o.name, o.point ?? ""].join("|");
if (!prices.has(key)) prices.set(key, []);
prices.get(key).push({ decimal: Number(o.price), american: o.american, book: book.name });
}
}
}
const sides = [...event.participants].sort((a, b) => a.role.localeCompare(b.role));
console.log(sides.map((p) => p.name).join(" at "));
for (const key of [...prices.keys()].sort()) {
const offers = prices.get(key);
if (offers.length < 2) continue; // nothing to compare at this line
// highest price first; ties break on the American price, then the book name
const rank = (a, b) => a.decimal - b.decimal || cmp(a.american, b.american) || cmp(a.book, b.book);
offers.sort((a, b) => rank(b, a));
const best = offers[0], worst = offers[offers.length - 1];
if (best.decimal === worst.decimal) continue; // every book offers the same price
const [market, name, point] = key.split("|");
let label = `${market} ${name}`;
if (point !== "") label += market === "spread" ? ` ${Number(point) >= 0 ? "+" : ""}${Number(point)}` : ` ${Number(point)}`;
const extra = (100 * (best.decimal - worst.decimal)).toFixed(2);
console.log(` ${label}: ${best.american} at ${best.book}, worst ${worst.american} at ${worst.book}, ${extra} more per 100 staked (${offers.length} books)`);
}
}
The output
Both scripts printed the same thing. The first game, run on 30 Nov 2026 at 06:17 UTC:
Carolina Panthers at Tampa Bay Buccaneers
moneyline Carolina Panthers: +167 at Bovada, worst +138 at Bally Bet, 29.00 more per 100 staked (6 books)
moneyline Tampa Bay Buccaneers: -172 at betPARX, worst -195 at Bovada, 6.70 more per 100 staked (6 books)
spread Carolina Panthers +3: +100 at FanDuel, worst -103 at Bally Bet, 3.00 more per 100 staked (4 books)
spread Carolina Panthers +3.5: -112 at Bovada, worst -114 at DraftKings, 1.60 more per 100 staked (2 books)
spread Tampa Bay Buccaneers -3: -118 at betPARX, worst -120 at FanDuel, 1.70 more per 100 staked (4 books)
spread Tampa Bay Buccaneers -3.5: -105 at DraftKings, worst -108 at Bovada, 2.60 more per 100 staked (2 books)
total Over 43.5: -110 at Bovada, worst -115 at FanDuel, 3.90 more per 100 staked (6 books)
total Under 43.5: -105 at FanDuel, worst -110 at Bovada, 4.30 more per 100 staked (6 books)
Read the gap
A stake of 100 on the Panthers pays out 267 in total at +167 and 238 at +138 if it wins, a gap of 29.
Compare like with like
A spread or total only compares at the same point. The scripts group prices by market, outcome and point, so a spread of +3.5 is listed apart from +3. They skip lines held by one book and lines where every book has the same price.
A price can change at any time, so confirm it at the book before relying on it. updated_at on each market says when its current prices were first seen.
This is price data, not betting advice. Gambling is for adults where it is legal.
Try it
The free plan has 1,000 credits a month and needs no card. Get a key at dino.markets, and the full API reference is in the docs. The same data is also available to AI agents through an MCP server.
Top comments (0)