BestBook APIv1
Get a keybestbook.app

Lines and prices

A line is one bet: a market type, a period, a team or player, and a number. It has two sides, yes and no, and one price per book and side.

json

{
  "id": "nba:2026-12-01-LAC-PHX/player_points/full/brandon ingram/9.5",
  "event": "nba:2026-12-01-LAC-PHX",
  "type": "player_points",
  "period": "full",
  "team": null,
  "player": { "id": "brandon ingram", "name": "Brandon Ingram", "team": "LAC" },
  "line": 9.5,
  "outcomes": [
    { "side": "yes", "name": "Over 9.5" },
    { "side": "no", "name": "Under 9.5" }
  ],
  "prices": [
    { "line": "nba:2026-12-01-LAC-PHX/player_points/full/brandon ingram/9.5", "book": "dk", "side": "yes",
      "american": -1480, "decimal": 1.0676, "prob": 0.9367, "fee": null, "size": null,
      "book_ts": null, "since": 1796156928863 },
    { "line": "nba:2026-12-01-LAC-PHX/player_points/full/brandon ingram/9.5", "book": "kalshi", "side": "yes",
      "american": -900, "decimal": 1.1111, "prob": 0.9, "fee": 0.0063, "size": 3269.76,
      "book_ts": 1796162162182, "since": 1796161968784 },
    { "line": "nba:2026-12-01-LAC-PHX/player_points/full/brandon ingram/9.5", "book": "kalshi", "side": "no",
      "american": 809, "decimal": 9.0909, "prob": 0.11, "fee": 0.0069, "size": 34.0,
      "book_ts": 1796162162182, "since": 1796161926704 }
  ]
}

The line object

FieldTypeDescription
idstringUnique id. Don't parse it.
eventstringEvent id.
typestringMarket type.
periodstringfull or a period, below.
teamstring or nullTeam code, for team lines.
playerobject or nullid, name, team, for player lines.
linenumber or nullThe number. null for moneylines and yes/no markets.
outcomesarrayNames of the yes and no sides.
pricesarrayPrice objects.

The price object

FieldTypeDescription
linestringLine id.
bookstringBook id.
sidestringyes or no.
americanintegerAmerican odds.
decimalnumberDecimal odds.
probnumberImplied probability, before fees.
feenumber or nullExchanges: fee per $1 of payout.
sizenumber or nullExchanges: contracts available at this price.
book_tsinteger or nullExchanges: when the order book last changed, by BestBook's clock, ms. Use it to judge freshness.
sinceintegerWhen this price was first seen, ms. Approximate on exchanges.

Exchange prices are the best ask that fills at least $1.

Sides

Marketyesno
Totals and player statsOver lineUnder line
Spreadteam at linethe other team
Moneylineaway teamhome team
Yes/no marketsYesNo

Player counts are Over N - 0.5: "10+ points" is Over 9.5.

Periods

Periods on the board on 2026-12-01. Others can appear.

periodMeaningSeen in
fullThe whole gameall
1h, 2hFirst and second halfnfl, cfb, nba, cbb
1q–4qQuartersnfl, cfb, nba
1p–3pHockey periodsnhl
regRegulation (no overtime)nfl, nhl
rtRegulation time (no overtime)nba, cbb
t3First three quartersnba
d1, d2First and second drivenfl
eh, eqIn each half, in each quarternba, cbb
m1, m3, m4The opening 1, 3 or 4 minutesnba, cbb

New fields, books, types and periods can be added at any time. Breaking changes ship as /v2.