I bookmaker prezzano la stessa scommessa in modo diverso, e fare line shopping significa prendere il prezzo migliore. Questo script confronta tutte le linee NFL dei bookmaker USA.
Chiedi più bookmaker insieme
Una richiesta restituisce tutti i bookmaker di una partita, quindi non c’è nulla da unire. region=us tiene i bookmaker USA e limit=3 chiede le prossime tre partite. La chiamata costa 1 credito.
Esegui lo script
Esporta la chiave come DINO_API_KEY ed esegui questo con Python 3.
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"]: 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=str): 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)")
La prima partita dell’output, eseguito il 25 nov 2026 alle 03:33 UTC:
Green Bay Packers at Los Angeles Rams moneyline Green Bay Packers: +120 at FanDuel, worst +112 at Bally Bet, 8.00 more per 100 staked (5 books) moneyline Los Angeles Rams: -134 at DraftKings, worst -142 at FanDuel, 4.20 more per 100 staked (5 books) spread Green Bay Packers +2.5: -108 at FanDuel, worst -110 at DraftKings, 1.70 more per 100 staked (5 books) spread Los Angeles Rams -2.5: -109 at DraftKings, worst -112 at FanDuel, 2.40 more per 100 staked (5 books) total Over 43.5: -114 at betPARX, worst -121 at DraftKings, 5.40 more per 100 staked (4 books) total Under 43.5: +101 at DraftKings, worst -106 at Bally Bet, 7.00 more per 100 staked (4 books)
Leggi lo scarto
Una puntata vincente di 100 sui Packers restituisce 220 a quota 2,20 (+120) e 212 a quota 2,12 (+112). La scommessa e il rischio sono gli stessi, e il bookmaker migliore paga 8 in più.
Confronta cose uguali
Uno spread o un totale si confrontano solo sulla stessa linea. Lo script raggruppa i prezzi per mercato, esito e linea, quindi un totale di 44 è elencato separatamente da 43,5. Salta le linee offerte da un solo bookmaker e quelle in cui tutti hanno lo stesso prezzo.
Domande
Sono inclusi exchange e mercati di previsione?
Non con region=us. Si trovano in region=us_ex, oppure puoi indicarli in books.
Perché non ci sono linee alternative?
L'API fornisce la linea principale di ogni bookmaker per spread e totali.
Posso ancora prendere il prezzo migliore quando lo vedo?
Controlla prima sul bookmaker. updated_at dice quando un prezzo è stato visto per la prima volta, e un prezzo può cambiare in qualsiasi momento.
Funziona per altri sport?
Sì. Cambia league con qualsiasi lega di partite restituita da GET /v2/leagues.