BestBook APIv1
Get a keybestbook.app

Event lines

GET/v1/events/{event}/lines

Returns a game's priced lines with every book's prices.

Path parameters

ParameterTypeRequiredDescription
eventstringYesEvent id.

Query parameters

ParameterTypeRequiredDescription
typesstringNoComma-separated market types. Default all.
booksstringNoComma-separated book ids. Default all.

Returns

FieldTypeDescription
seqintegerBoard change count.
livebooleanfalse while the feed is stale.
eventobjectEvent object.
linesarrayLine objects.

A full game can be about 9 MB. Filter with types and books.

Request

bash

curl --compressed -H "Authorization: Bearer $BESTBOOK_KEY" \
  "https://api.bestbook.app/v1/events/nba:2026-12-01-LAC-PHX/lines?types=player_points&books=dk,kalshi"

Response

json

{
  "event": {
    "away": {
      "id": "LAC",
      "name": "Los Angeles Clippers"
    },
    "date": "2026-12-01",
    "home": {
      "id": "PHX",
      "name": "Phoenix Suns"
    },
    "id": "nba:2026-12-01-LAC-PHX",
    "league": "nba",
    "lines": 4736,
    "start": "2026-12-02T02:10:00Z"
  },
  "lines": [
    {
      "event": "nba:2026-12-01-LAC-PHX",
      "id": "nba:2026-12-01-LAC-PHX/player_points/1q/brandon ingram/9.5",
      "line": 9.5,
      "outcomes": [
        {
          "name": "Over 9.5",
          "side": "yes"
        },
        {
          "name": "Under 9.5",
          "side": "no"
        }
      ],
      "period": "1q",
      "player": {
        "id": "brandon ingram",
        "name": "Brandon Ingram",
        "team": "LAC"
      },
      "prices": [
        {
          "american": 920,
          "book": "dk",
          "book_ts": null,
          "decimal": 10.2,
          "fee": null,
          "line": "nba:2026-12-01-LAC-PHX/player_points/1q/brandon ingram/9.5",
          "prob": 0.098,
          "side": "yes",
          "since": 1796156929237,
          "size": null
        }
      ],
      "team": null,
      "type": "player_points"
    }
  ],
  "live": true,
  "seq": 38
}