BoxerbookAI

Developers

Boxing odds API: the market as a probability

Short answer. In the Boxerbook API each priced bout has a market block: p_a, the consensus implied probability of side a with the margin removed (the median across quoting firms), books, the reading time, and opening, the first reading. It is in /v1/schedule without a key and in /v1/bouts/{id} with a free key. Individual firms' prices are not served; history is available by a data licence.

json · part of /v1/bouts/193203
"forecast": { "p_a": 0.9627, "as_of": "2026-11-30" },
"market":   { "favourite": "a", "p_a": 0.8772, "books": 19, "snapshot_at": "2026-11-30T12:30Z",
              "opening": { "p_a": 0.8887, "snapshot_at": "2026-10-30T12:30Z" } }

Use it

python · model_vs_market.py
"""Model against market for the next cards: where do the Boxerbook forecast and the market consensus differ?
One request, no key.

    python3 model_vs_market.py
"""
import json, urllib.request

URL = "https://boxerbook.com/v1/schedule?when=30d"
with urllib.request.urlopen(urllib.request.Request(URL, headers={"User-Agent": "model-vs-market-example"}), timeout=30) as r:
    schedule = json.load(r)

# forecast.p_a is the model, market.p_a the consensus with the margin removed; both are the probability of side a.
rows = [b for event in schedule["events"] for b in event["bouts"] if b.get("forecast") and b.get("market")]
rows.sort(key=lambda b: -abs(b["forecast"]["p_a"] - b["market"]["p_a"]))

print("%-10s %-42s %6s %7s %5s" % ("date", "bout", "model", "market", "gap"))
for b in rows:
    model, market = b["forecast"]["p_a"], b["market"]["p_a"]
    name = "%s vs %s" % (b["a"]["name"], b["b"]["name"])
    print("%-10s %-42s %5.0f%% %6.0f%% %+5.0f" % (b["date"], name[:42], 100 * model, 100 * market, 100 * (model - market)))
print("Source: Boxerbook, %s (as of %s)" % (schedule["attribution"]["url"], schedule["as_of"]))

How good is the number

On 1,723 decided bouts from 2023 to 2026 the market favourite won 83.6%. Probabilities from 60% to 80% were calibrated; heavy favourites won more often than priced. Full tables: How accurate are boxing odds? To turn raw prices into probabilities yourself: the odds converter.

More: developer quickstart · fields and files · keys and plans on boxerbook.com