/
Matches

Matches

Odds for a match are sent inside odds_change tag, in the following format:

<odds_change event_id="match:27751662" product="3" status="1" timestamp="1611588127387"> <odds> <market id="259" status="1"> <outcome active="1" id="1" odd="1.34"/> <outcome active="1" id="3" odd="3.25"/> <outcome active="0" id="2" odd="20.0"/> </market> <market id="9220" spread="38.5" status="1"> <outcome active="1" id="6" odd="1.54"/> <outcome active="1" id="7" odd="2.2"/> </market> <market id="9220" spread="40.5" status="0"/> <market id="261" spread="-6.5" status="1"> <outcome active="1" id="1" odd="2.14"/> <outcome active="1" id="3" odd="1.63"/> </market> </odds> </odds_change>

Attributes of odds_change tags are event_id, product, status and timestamp.

Tag event_id represents ID of event for which the odds are for.

Tag product represents type of feed that message belongs.

Product ID

Product Description

Product Status

Product ID

Product Description

Product Status

3

Pre-match

Available

1

Live odds

Not available

Tag status represents if match is active or not. ‘1' if match is active and '0’ if match is disabled.

Tag timestamp represents the time of the the file created

Inside main tag there is the odds tag containing odds data per market.

For each market there is separated market tag with attributes of:

  1. id - indicating the id of the market (name can be taken from the the api call /get_all_markets_per_sport)

  2. spread - the value which indicates the spread of the market. (Not all markets contain this attribute)

  3. status - this indicates if the market should be actived or not. ‘1' if market is active and '0’ if market is inactive.

Inside the odds tag there is the market tag containing a seperate outcome child tag. Attributes of that tag are:

  1. active - this indicates if the outcome should be active or not. ‘1' if outcome is in active and '0’ if outcome is inactive.

  2. id - indicating the id of the outcome for that market

  3. odd - This indicates the odd for the specific outcome of a market.

Related content

Fixture change
Fixture change
More like this
Alive Messages
Alive Messages
Read with this
Outright Odds
Outright Odds
More like this
Match Fixture
Match Fixture
Read with this
Player Odds
Player Odds
More like this
Match Odds Request
Match Odds Request
Read with this