Odds API data model and ids
Data model & ids: Events, markets, selections and the ids that tie them together. PreciseAPI sports odds API documentation.
Everything in the API is built from five objects. Ids are opaque strings with a type prefix and never change.
| Object | Id prefix | Description |
|---|---|---|
| Event | evt_ | A game, match, fight or golf matchup. Carries league, start time, status, teams, score and clock. A game that sources list under more than one id is one event; the other ids are in alternate_ids and keep resolving to it. |
| Team / competitor | {league}_ | e.g. nba_lal. Individual sports use slugged names, e.g. tennis_carlos_alcaraz. |
| Player | name slug | e.g. josh_allen: the player's name, lower-cased with accents and punctuation removed, the same id in every source's props. /v1/players lists every player seen in a prop, with team_id when a source or the game places them on a team. |
| Market | mkt_ | One source's offer for a market key and period on an event (and player or team where relevant). |
| Selection | sel_ | One outcome. The same outcome at the same line shares a selection id across every source. |
Event
{
"id": "evt_1iazqk4srnb",
"league": "nba",
"sport": "basketball",
"competition": "National Basketball Association",
"start_time": "2026-10-14T23:50:00.000Z",
"start_time_tbd": false,
"start_time_disputed": false,
"status": "scheduled",
"home": {
"id": "nba_phx",
"name": "Phoenix Suns",
"abbr": "PHX"
},
"away": {
"id": "nba_sas",
"name": "San Antonio Spurs",
"abbr": "SAS"
},
"score": null,
"clock": null,
"score_status": null,
"state_updated_at": null,
"state_sources": null,
"alternate_ids": [],
"sources": [
"fanduel",
"draftkings",
"betmgm",
"caesars"
],
"markets": [
"moneyline",
"spread",
"total"
]
}Score and game clock
score—{ home, away }, ornulluntil a score is known.score_status— live games:provisionalwhile one source reports the score,confirmedonce a second source agrees.clock— live games only:period,display(Q4 7:05,P2 3:52,Top 5th) and, in basketball, football and hockey,seconds_leftandrunning. A running clock counts down between updates.state_updated_atandstate_sources— when the sources read the score and clock, and how many had the game.
Every field, the clock formats by sport and how to show a running clock are in Live scores & game clock.
Status lifecycle
scheduled → live → final. Event ids are preserved across the transition. Player props stay on the feed in-play for as long as each source keeps posting them; final events remain queryable via /v1/scores for at least four hours.
When no source reports the result, a game is marked final once it has run past its sport's shortest real length and no source has posted it for 10 minutes, once it has run past its sport's usual length (football 3.5 h, basketball 2.75 h, hockey 3 h, baseball 3.5 h, soccer 2.5 h, tennis 3 h) and no source has quoted it for 10 minutes, and in any case 12 hours after the start. A game that a source posts live again, or prices again with a new price, goes back to live. score is null whenever no score is known; it is never a placeholder 0–0.
Event ids and kickoffs
- Event ids look like
evt_evt0123456789aborevt_7f3k2m9q1xz. Treat them as opaque strings. When two ids turn out to be the same game (same league and teams, kickoffs within the sport's window), the event keeps the id most sources use and the other ids are listed inalternate_ids. Requests and stream subscriptions with an alternate id return the game. start_time_tbd— the source shows a placeholder kickoff;start_timewill change.start_time_disputed— sources list kickoffs more than 15 minutes apart.start_timeis the one most sources use.- Pro leagues (
nfl,nba,wnba,mlb,nhl,cfl) only carry their own teams, under the roster's id (nba_lal).ncaabandncaafcarry men's games only.
Market and outcomes
{
"id": "mkt_14r1od1l1vw",
"key": "moneyline",
"period": "full_game",
"outcomes": [
{
"id": "sel_2d3ja0zugwd",
"name": "Phoenix Suns",
"side": "home",
"price": -230
},
{
"id": "sel_1pojklgy6cc",
"name": "San Antonio Spurs",
"side": "away",
"price": 180
}
],
"suspended": false,
"updated_at": "2026-10-14T23:33:15.863Z"
}key— market key, e.g.spread. See coverage.period—full_game,1h,1q,1porf5.line— the main line of the market from the home team's perspective (spreads) or the total.outcomes[].side—home,away,draw,overorunder.outcomes[].point— the handicap or total for that outcome.outcomes[].liquidity— available size in USD (exchanges only).outcomes[].multiplier— a verified standalone cash-return multiplier, when the source provides one. Only this cash-return quantity can be converted into odds.payout_model—entry_dependentmeans the DFS payout depends on the complete lineup and its rules. These outcomes haveprice: nullin every format.outcomes[].pick_multiplier— a source-verified factor that adjusts a lineup payout. It can be below, equal to, or above1; it is not decimal odds. Absent when the source does not establish a factor.variant— DFS source classification:standard,goblinordemon. Whenvariant_scopeisprojection, the class describes the source projection, not necessarily both directions. Outcomes include only the directions explicitly offered by the source.variant: "milestone"— a sportsbook player prop offered as one Over and no Under (300+ passing yards, a rung of an alternate ladder). It is not an over/under line and is not compared with one in best lines.varianton Betr Picks also carries Betr's own projection classes (anchor,boosted,boosted_4,mini_boosted,super_boosted,edge_1–edge_4,nuke,special,free_pick), with the class in capitals insource_odds_type; on Pick6, promotional lines carrypromo_gimme,promo_stat_sliceorpromo_boosted_multiplier. To find promotions, filter onpromotion.type, notvariant: see Finding promotions.outcomes[].payout_model— set per outcome too, when a side's payout depends on the lineup and the other's doesn't.- DFS source fields — DFS markets and outcomes also pass through what the app itself publishes, unchanged and only when it publishes it:
source_projection_id(same assource_id),source_odds_type,source_variant,source_variant_scope,source_stat_key(the app's name for the stat),source_player_position,source_player_name(the app's spelling, when it differs fromplayer.name;player_identity_sourcesays how the player was matched),source_wager_type,source_allowed_wager_types,source_pricing,entry_payout_packagesandpick_group_id(Pick6's pick group). On outcomes:pick_multiplier_source,pick_multiplier_typeandpick_multiplier_raw(wherepick_multipliercame from), and the app's own price labelsprice_type,price_source,source_price,source_price_raw,source_price_source,source_odds,payout_multiplier,payout_multiplier_type,payout_multiplier_sourceandpayout_multiplier_raw. These are the app's values, never converted into odds; their contents differ between apps, so read them defensively and don't depend on any one being present. player.team_id— the team the player plays for in this game, when a source names it or another source did for the same player.suspended— true when the source has stopped reporting; excluded unless you passinclude_suspended=true.
Timestamps
All times are ISO 8601 in UTC. A market carries up to five clocks:
updated_at— when PreciseAPI stored the current price: the last change to a price, point or line. New exchange liquidity, new links or a suspension are delivered like any other change but don't move it. Each bookmaker block reports its latest.source_changed_at— the source's clock when the current price was first seen: the best estimate of when the book moved it. It follows the same rule asupdated_at.source_observed_at— the source's clock at the latest read sent to PreciseAPI that still showed this price. Books are read every few seconds, but a price that hasn't changed is re-sent only every few minutes, so on a quiet market this can be a few minutes old while the price is still current.received_at— when PreciseAPI last received the market from the collector, changed or not.source_expires_at— only withmax_source_age_ms: when the quote stops counting as fresh.
source_* clocks are absent when the source gives no reliable time for a read. updated_at trails source_changed_at by the collection delay, typically a few seconds and up to a minute on the slowest sources.
Every market also carries a version: an integer that grows with every change PreciseAPI delivers for it (a new price or line, a suspension or its lifting), the same number on REST, in stream snapshots and in stream deltas for the same state. A re-read that only renews source_observed_at keeps it. Removals on the stream carry a version too, and REST answers give theirs in meta.version: every change up to that version is in the answer (a game built later in a large answer can hold later ones). See Versions for merging REST and the stream.
Prices that are refused
A market is refused, and the version already held is suspended, when a price is a placeholder (±50000 or longer), when its sides add up to a book above 140% or below 90% (one side was read at another moment), or when, before the game, a main spread or total is far from the line at least three other sportsbooks use (it is an alternate, team total or part-game line sent as the main line). Exchange outcomes with no liquidity behind them are left out.
Previous: Key controls, teams & 2FA · Next: Odds formats