Sport Event Status
Sport_event_status Element
The element sport_event_status
is provided in the odds_change message. Status is the only required attribute for this element, and this attribute describes the current status of the sport-event itself (not started, live, ended, closed).
Additional attributes are live-only attributes, and only provided while the match is live; additionally, which attributes are provided depends on the sport.
XML Example
<sport_event_status away_score="0" home_score="0" match_status="13" reporting="1" status="1"> </sport_event_status>
<results> elements in the feed
<odds_change product="1" event_id="sr:match:18233409" timestamp="1568082413409">
<sport_event_status status="3" match_status="100" home_score="1" away_score="0">
<period_scores>
<period_score match_status_code="6" number="1" home_score="1" away_score="0"/>
<period_score match_status_code="7" number="2" home_score="0" away_score="0"/>
</period_scores>
<results>
<result match_status_code="100" home_score="1" away_score="0"/>
</results>
<statistics>
<yellow_cards home="3" away="3"/>
<red_cards home="0" away="0"/>
<yellow_red_cards home="0" away="0"/>
<corners home="1" away="2"/>
</statistics>
</sport_event_status>
</odds_change>
'Clock' element in sport_event_status
The sport_event_status may contain a clock element. This clock element includes various clock/time attributes that are sports specific. The following table lists these attributes.
match_time
The playing minute of the match (or minute:second if available).
Also, please note that match_time is also sent based on live coverage of the match for the selected sport
mm:ss (42:10)
Soccer, Basketball, Ice Hockey, Handball, Rugby, Aussie rules, Football, Field Hockey, Futsal, eSoccer, eBasketBall, Basketball 3x3, eIce Hockey
stoppage_time
How far into stoppage time is the match in minutes
mm:ss
Soccer
stoppage_time_announced
Set to what the announce stoppage time is
mm:ss
Soccer
remaining_time
How many minutes remains of the match
mm:ss
Basketball, eBasketball, Handball, Hockey, e- Ice Hockey, Soccer, eSoccer, Football, Aussie Rules, Field Hockey, Futsal, Basketball 3X3
remaining_time_in_period
How much time remains in the current period
mm:ss
Basketball, eBasketball, Handball, Hockey, e- Ice Hockey, Soccer, eSoccer, Football, Aussie Rules, Field Hockey, Futsal, Basketball 3X3
stopped
true if the match clock is stopped otherwise false
True or False
Ice Hockey, Basketball, Futsal, Handball
XML example
<sport_event_status match_status="1st half" away_score="0" away_suspend="0" home_score="6" home_suspend="0" match_status="6" reporting="1" status="1">
<clock match_time="3:56" remaining_time="56:04" remaining_time_in_period="26:04" stopped="true"/>
<period_scores>
<period_score away_score="0" home_score="6" match_status_code="6" number="1"/>
</period_scores>
</sport_event_status>
Period_scores' in sport_event_status
In the sport_event_status element you can find the period_scores element that lists the individual period scores for a match. "Period" is a generic name for the sport-specific equivalent, so in soccer the 1st half, 2nd half, overtime and penalties are periods. In basketball the periods are the basketball quarters and in tennis it is the tennis sets, etc.
The period_scores element has a variable number of period_score sub-elements depending on how many periods this particular match had/currently has.

Each period_score has the following attributes:
home_score
The number of points/goals/games the competitor designated as "home" has scored for this period.
away_score
The number of points/goals/games the competitor designated as "away" has scored for this period.
number
Indicates what regular period this is.
match_status_code
Provides a match_status_code that can be used to find a descriptive/display friendly name for this period (see match_status for more details).
type
Provides information about what type of period the scores were made.
Period_scores are available both in the Sports API where available, and in odds_change messages for live odds (games that are live). Whether there is a period_scores attribute depends on the coverage level of the match, and if we don’t have period level coverage, no period_scores will be available.
XML example
<sport_event_status status="closed" match_status="ended" home_score="2" away_score="2" status_code="4" match_status_code="100">
<period_scores>
<period_score home_score="2" away_score="2" type="regular_period" number="1" match_status_code="6"/>
<period_score home_score="0" away_score="0" type="regular_period" number="2" match_status_code="7"/>
</period_scores>
</sport_event_status>
Statistics' element in the sport_event_status
There is a statistics element within the sport_event_status that list the most common statistics as counters for both home and away team:
XML example
<statistics>
<yellow_cards home="1" away="0"/>
<red_cards home="0" away="0"/>
<yellow_red_cards home="0" away="0"/>
<corners home="2" away="3"/>
</statistics>
Green cards are also supported
<statistics>
<yellow_cards away="1" home="0"/>
<red_cards away="1" home="1"/>
<green_cards away="1" home="0"/>
</statistics>
corners
Number of corners for the team
green_cards
Number of green cards for the team (home or away)
red_cards
Number of red cards for the team (home or away)
yellow_cards
Number of yellow cards for the team (home or away)
yellow_red_cards
Number of red cards as a result of a previous yellow card for the team (home or away)
Tries' element in the sport_event_status
Number of tries in regular time for rugby matches
XML Example
<sport_event_status status="3" match_status="100" home_score="23" away_score="11">
<period_scores>
<period_score match_status_code="6" number="1" home_score="6" away_score="5"/>
<period_score match_status_code="7" number="2" home_score="17" away_score="6"/>
</period_scores>
<statistics>
<tries home="2" away="1"/>
</statistics>
</sport_event_status>
Last updated
Was this helpful?