Line
All market update messages use the container “line” which has attributes to identify the event, period, bet type and pre-match or in play. Line objects can have a variety of formats or bet types. Lines are organized by event, period, bet type and alt ID. The same bet type can exist in multiple periods and with multiple alt ID's. Alt ID of 0 denotes the main or defulat odds variation.
<line rotation="553" timestamp="2014-07-14T15:37:41+0000" period_id="1" period="FG" event_id="383852"
sportsbook_id="408" lookup="383852:1:13" description="Current" prematch_flag=“false” league_id=“1” sport_id=“1” bet_type_id=“13” alt_id=“0”>
| name | description | notes |
|---|---|---|
event_id |
unique event id | @int unique event identifier |
rotation |
away team rotation | @int rotation identifier |
period_id |
period type id | @int period type identifier |
period |
period name description | @string period descriptor |
sportsbook_id |
sportsbook identifier | @int sportsbook identifier |
lookup |
market lookup [eventid:period:type] | @string lookup |
description |
odds description | @string OPEN | Current | CLOSE |
league_id |
league id | @int league identifier |
sport_id |
sport id | @int sport identifier |
bet_type_id |
Odds layout & type | @int bet type id |
alt_id |
Default = 0 | @int alternate id |