Don Best Sports

In Play Data Service

Matchup Score

Simple score messages used to update Matchup Events (events involving two participants). The two participants are referred to as Away and Home.

The format for MLB is slighly different, it includes strikes, balls, outs and base situation code:
0 = no men on base
1 = man on first
2 = man on second
3 = man on third
4 = man on first and second
5 = man on first and thrid
6 = man on second and third
7 = bases are loaded (man on each)

<matchup_score event_id="383878" away_rotation="557" away_score="71" home_rotation="558" home_score="100" sequence="4" period="4th Q" description="00:10" final="false" timestamp="2014-07-17T00:22:01+0000" league_id="3" sport_id="2"/>

<matchup_score event_id="433875" away_rotation="915" away_score="0" home_rotation="916" home_score="0" sequence="7" period="TOP 4th" description="TOP" final="false" timestamp="2015-04-08T17:44:16+0000" strikes="1" balls="0" outs="0" bases="0" league_id="5" sport_id="3"/>

<matchup_score event_id="462280" away_rotation="403" away_score="0" home_rotation="404" home_score="0" sequence="1" period="1st Q" description="15:00" final="False" timestamp="2015-08-21T00:06:41+0000" field_pos="10" field_side="OWN" down="1" first_down="10" possession="A" league_id="1" sport_id="1"/>
name description notes
event_id unique event id @int unique event identifier
away_rotation away team identifier @int participant rotation number
home_rotation home team identifier @int participant rotation number
away_score current away score @int score
home_score current home score @int score
sequence period sequence (1q = 1, 2q=2 etc) @int period sequence #
period period name @str period name description
final final flag game has concluded @bool true / false if game has finished
league_id league id @int league identifier
sport_id sport id @int sport identifier
strikes strike count * mlb only @int strike count
balls ball count * mlb only @int ball count
outs player outs * mlb only @int out count
bases base situation code * mlb only @int base situation 0-7
field_pos start of down ball position (field_side indicates side of field) * nfl only @int yard line 0-50
field_side indicates side of field * nfl only @string OWN | OPPONENT
down period of action * nfl only @int down
first_down distance to first down * nfl only @int yards
possession side with possession * nfl only @str A | H