/
Goalscorer Odds

Goalscorer Odds

Goalscorer odds data is sent in the file <players_odds_change>. The list of markets can be retrieved from the following API Player Markets. Each player is sent under a different tag with the Player ID, Market ID and Odds. Below you can find an example:

 

<players_odds_change event_id="match:27751682" product="3" status="1" timestamp="1649165869104"> <player player_id="13630"> <market id="1" odd="32.0"/> <market id="2" odd="10.0"/> <market id="3" odd="32.0"/> <market id="4" odd="100.0"/> <market id="5" odd="500.0"/> <market id="7" odd="16.0"/> <market id="17" odd="60.0"/> <market id="18" odd="23.0"/> </player> <player player_id="45853"> <market id="1" odd="8.5"/> <market id="2" odd="3.5"/> <market id="3" odd="8.5"/> <market id="4" odd="15.0"/> <market id="5" odd="95.0"/> <market id="7" odd="4.75"/> <market id="17" odd="23.0"/> <market id="18" odd="7.0"/> </player> <player player_id="53825"> <market id="1" odd="2.85"/> <market id="2" odd="1.45"/> <market id="3" odd="2.85"/> <market id="4" odd="2.8"/> <market id="5" odd="9.0"/> <market id="7" odd="1.76"/> <market id="17" odd="7.0"/> <market id="18" odd="2.55"/> </player> <player player_id="70996"> <market id="1" odd="7.5"/> <market id="2" odd="3.0"/> <market id="3" odd="7.5"/> <market id="4" odd="11.0"/> <market id="5" odd="65.0"/> <market id="7" odd="4.25"/> <market id="17" odd="19.0"/> <market id="18" odd="6.0"/> </player> <player player_id="138892"> <market id="1" odd="29.0"/> <market id="2" odd="9.0"/> <market id="3" odd="29.0"/> <market id="4" odd="85.0"/> <market id="5" odd="400.0"/> <market id="7" odd="14.5"/> <market id="17" odd="60.0"/> <market id="18" odd="20.0"/> </player> <player player_id="143697"> <market id="1" odd="6.0"/> <market id="2" odd="2.4"/> <market id="3" odd="6.0"/> <market id="4" odd="7.0"/> <market id="5" odd="40.0"/> <market id="7" odd="3.25"/> <market id="17" odd="14.0"/> <market id="18" odd="4.5"/> </player> </players_odds_change>

 

Several players/markets can be sent together or even just one market. So if an existing player/market is missing in the following xml files, that player/market should not be removed from the offer. When a player/market needs to be deactivated we will send the player with the market with odds 0.0, as follows:

 

<players_odds_change event_id="match:27751682" product="3" status="1" timestamp="1649166937309"> <player player_id="70996" team_id="17"> <market id="1" odd="0.0"/> <market id="2" odd="0.0"/> <market id="3" odd="0.0"/> <market id="4" odd="0.0"/> <market id="5" odd="0.0"/> <market id="7" odd="0.0"/> <market id="17" odd="0.0"/> <market id="18" odd="0.0"/> </player> </players_odds_change>