game-state-timeline
The reconstructed state of a game over wall-clock time — what the score was,
what period it was, what the clock read — as a flat list of timestamped
observations. Join it against odds records (e.g. sportsbook-lines
timestamp) to know the game context behind any line move.
Fetching
Section titled “Fetching”curl -s "https://api.betflux.ai/v1/games/NBA_GSW_MIA_20260401/game-state-timeline" \ -H "Authorization: Bearer $BETFLUX_API_KEY" -o timeline.parquetbetflux get game-state-timeline --game NBA_GSW_MIA_20260401Per-game only — the grain is the game, so there are no date-range pulls.
game_id is the public id. This is the one dataset that is
not history-gated: any tier can fetch any covered game.
Row shape
Section titled “Row shape”One row per observation:
tsis the observation timestamp as epoch milliseconds UTC (int64) — absolute time, directly comparable to any other timestamp you hold.- Observations are change-only: a
fieldappears when its value changed. fieldvalues are stable snake_case names such ashome_score,away_score,period,clock;valueis the observed value stringified (cast it per field), and null when the field was cleared.sourceis provenance — MSF (the stats feed) or a sportsbook operator code — worth weighing when observations disagree.
Columns
Section titled “Columns”| Column | Type | Nullable | Description |
|---|---|---|---|
game_id | string | no | Public game id: LEAGUE_AWAY_HOME_YYYYMMDD (ET date; `_2` suffix for the second game of a doubleheader). |
league | string | no | League code, e.g. NBA, NFL, MLB, NHL. |
game_date | string | no | Calendar date of the scheduled start in US Eastern time (Parquet date, YYYY-MM-DD). |
ts | integer | no | Observation timestamp, epoch milliseconds UTC (int64; renamed from the gold column ts_ms). |
field | string | no | Stable snake_case state field, e.g. home_score, period, clock. |
value | string | yes | Observed value, stringified; null when the field was cleared. |
source | string | no | Observation source, e.g. MSF or a sportsbook operator code. |
Coverage
Section titled “Coverage”MLB, NBA, NHL, and NFL (no NCAAM). Reconstruction quality varies by source
coverage for a given game — treat source as provenance when weighing
observations.