prediction-market-results
The exchange counterpart of sportsbook-market-results: one row per side of every classified contract on a game, with its outcome and its closing prices. Roughly 100 to 2,000 rows per game.
Fetching
Section titled “Fetching”betflux get prediction-market-results --game NBA_LAL_DET_20261108 --outcome WONrows = bf.prediction_market_results.rows( league="NFL", date_from="2026-11-01", date_to="2026-11-10", operator="POLYMARKET",)Settlement
Section titled “Settlement”An exchange settles its own contracts, so the outcome comes from the exchange’s reported payout rather than from the game’s box score:
| Payout per $1 contract | outcome |
|---|---|
| 1 | WON |
| 0 | LOST |
| between 0 and 1 (a fair-price or 50-50 settlement) | PARTIAL |
| not reported yet | INDETERMINATE |
stake_won_fractionis the payout itself, so aPARTIALrow says how much it paid.stake_refunded_fractionis always 0: an exchange pays out, it does not refund.settlement_ruleisoperator_result, orfair_pricefor a Kalshi contract settled at its fair price.settlement_sourceis alwaysoperator_reported.- The exchange’s own fields ride along:
payout,exchange_result(Kalshi),resolution_statusandfallback_resolution_type(Polymarket) andexchange_settled_at. - An
INDETERMINATErow is retried, and the game rebuilt, once the exchange settles the contract.
The closing columns (closing_odds, closing_implied, closing_mid,
closing_microprice, closing_ts) are the close from
prediction-market-closing-lines,
null when the contract never had an executable quote before the start.
Columns
Section titled “Columns”| Column | Type | Nullable | Description |
|---|---|---|---|
game_id | string | no | |
league | string | no | |
game_date | string | no | Calendar date (Parquet date, YYYY-MM-DD). |
game_start | string | no | UTC timestamp (Parquet timestamptz). |
home_team | string | yes | |
away_team | string | yes | |
operator | string | no | Exchange code: KALSHI or POLYMARKET. |
operator_event_id | string | yes | The exchange event the binding names: the Kalshi game-winner ticker or the Polymarket event slug. |
market_external_id | string | no | Kalshi contract ticker, or Polymarket condition id (`0x…`). |
operator_market_type | string | yes | |
operator_category | string | yes | The prediction-market family id the contract was classified under, e.g. `kalshi/NBA:1Q`. |
market_type | string | no | Market type, classified as sportsbook-market-results classifies a book's market. |
period | string | no | |
structure | string | no | |
market_name | string | yes | |
selection_external_id | string | no | Kalshi `<ticker>:yes` or `<ticker>:no`; Polymarket the outcome token id. |
selection_name | string | yes | |
side | string[] | yes | |
spread | number | yes | |
total | number | yes | |
market_metric | string[] | yes | |
selection_metric | string | yes | |
market_player_ids | string[] | yes | |
selection_player_ids | string[] | yes | |
market_team_ids | string[] | yes | |
selection_team_ids | string[] | yes | |
market_min_amount | number | yes | |
market_max_amount | number | yes | |
selection_min_amount | number | yes | |
selection_max_amount | number | yes | |
closing_odds | integer | yes | American form of the closing all-in price: the last executable quote before game_start; null when the contract never had one. |
closing_implied | number | yes | All-in cost of one contract at the close: ask plus taker_fee. |
closing_ts | string | yes | UTC timestamp (Parquet timestamptz). |
closing_mid | number | yes | (bid + ask) / 2 of the closing book; null without a two-sided book. |
closing_microprice | number | yes | Size-weighted mid of the closing book; null without both sizes. |
outcome | string | no | WON, LOST or PARTIAL from the exchange's payout; INDETERMINATE when the exchange has not settled the contract. |
settled_value | number | yes | The payout the outcome was settled from, dollars per $1 contract. |
settled_value_bool | integer | yes | |
settled_at | string | no | When this row was settled. |
stake_won_fraction | number | yes | The exchange's payout per $1 contract: 1 won, 0 lost, between for a fair-price or 50-50 settlement. |
stake_refunded_fraction | number | yes | Always 0: an exchange pays out, it does not refund. |
settlement_rule | string | yes | operator_result, or fair_price for a Kalshi contract settled at its fair price (`result` scalar). |
settlement_source | string | yes | Always operator_reported: the exchange's own settlement. |
payout | number | yes | The exchange's settlement value for this selection, dollars per $1 contract; null until settled. |
exchange_result | string | yes | Kalshi `result` as reported (yes, no, scalar); null on Polymarket. |
resolution_status | string | yes | Polymarket UMA resolution status as reported; null on Kalshi. |
fallback_resolution_type | string | yes | Polymarket fallback rule as reported, e.g. equal_split. |
exchange_settled_at | string | yes | When the exchange settled the contract. |
market_key | string | no | Global market identity: `OPERATOR:market_external_id`, as in the sportsbook datasets. |
is_mainline | boolean | yes | The closing quote's main-line flag, as prediction-market-lines sets it. |
outcome_key | string | yes | Same-result key: a 16-character hash shared by every quote, at any book or exchange, that pays on the same game result (same game, player or team, stat, period, clock window, and the range in outcome_min, outcome_max and outcome_push, or the parity in outcome_parity). Null for markets without a single range of results: either-team margin bands, quarter lines (x.25, x.75), Tie No, and first-scorer, most-of, race-to and method markets. Null on games built before v2. |
settlement_key | string | yes | Same-price key: outcome_key plus the venue's rules for the unusual cases that can change this bet (overtime, a player who does not take part, a shortened game, a result on the line), read for a straight bet at the time of the quote. Quotes sharing it are the same contract, so their prices compare directly. Null when outcome_key is null, when a rule it needs is not stated (terms_status unknown), and for venues without registered rules. Null on games built before v2. |
outcome_min | number | yes | The lowest result that wins, in whole steps of the stat: Over 25.5 is 26. For moneylines, spreads and winning margins the result is the score margin between the game's two teams, ordered by team id. For overtime markets the result is the number of overtime periods (extra innings in MLB) played: 'reaches overtime' Yes is 1, No has outcome_max 0. Null when unbounded below or unkeyed. |
outcome_max | number | yes | The highest result that wins, as outcome_min. Null when unbounded above or unkeyed. |
outcome_push | number | yes | The result that neither wins nor loses: a whole-number line, or a level score on a two-way moneyline. Null when there is none. |
terms_status | string | yes | How the rules in settlement_key are known: verified (the venue's own text), inferred (a general clause or other venues' text), unknown (a needed rule is not stated; settlement_key is null). Null on games built before v2. |
outcome_parity | string | yes | For odd/even markets, the result that wins: odd or even, on the game's combined score or the one team's score (0 counts as even). outcome_min, outcome_max and outcome_push are then null. Null for every other market and when unkeyed. Null on games built before v5. |
offer_key | string | yes | Same-offer key: a 16-character hash of market_key, selection_external_id and the line the venue quoted (its own line field, else spread, else total), so it names one bet at one line at one venue. Some books keep a selection id while the line moves under it (FanDuel main and period lines, team totals and player over/unders; Pinnacle player props); each line is then a new offer_key under one selection_external_id. Null on games built before v6. |
dataset_version | string | yes | Version of the dataset this game's file was built at, e.g. `v5`. Games in one pull can differ: versions of a compatibility line only add columns or carry documented changes (see `versions` on /v1/datasets). Columns added after a game's version read null for it. Files built before this column existed lack it entirely (null when read with DuckDB `union_by_name = true`); the `X-Betflux-Dataset-Version` response header still names their version. |