Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Match Odds

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

Code Block
languagexml
<odds_change event_id="match:25173632" product="3" timestamp="1611588127387">
	<odds>
		<market id="259" status="1">
			<outcome active="1" id="1" name="1" odd="1.34"/>
			<outcome active="1" id="3" name="2" odd="3.25"/>
			<outcome active="0" id="2" name="X" odd="20.0"/>
		</market>
		<market id="9220" sbv="38.5" status="1">
			<outcome active="1" id="6" name="Over" odd="1.54"/>
			<outcome active="1" id="7" name="Under" odd="2.2"/>
		</market>
		<market id="9220" sbv="40.5" status="0"/>
		<market id="261" sbv="-6.5" status="1">
			<outcome active="1" id="1" name="1" odd="2.14"/>
			<outcome active="1" id="3" name="2" odd="1.63"/>
		</market>
	</odds>
</odds_change>

Attributes of odds_change tags are event_id, product and timestamp. Tag event_id represent ID of event for which the odds are for. Tag product representing 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

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

  2. sbv - the special bet value which indicates the spread of the market. (Not all markets contain the sbv)

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

Inside 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. name - The name of the outcome (Optional)

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

Outright Odds

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

Code Block
languagexml
<odds_change event_date="2021-02-12T09:15:00+0000" event_end_date="2021-02-15T15:10:00+0000" event_id="outright:108360" event_start="2021-02-15T10:00:00+0000" product="3" status="1" timestamp="1613054852677">
  <odds>
    <market id="40">
      <outcome active="1" id="350158" odd="1.01"/>
      <outcome active="1" id="49763" odd="2.35"/>
      <outcome active="1" id="86984" odd="3.65"/>
      <outcome active="1" id="86986" odd="8.5"/>
      <outcome active="1" id="45691" odd="9.0"/>
      <outcome active="1" id="33137" odd="10.0"/>
      <outcome active="1" id="32817" odd="17.0"/>
      <outcome active="1" id="402015" odd="25.0"/>
      <outcome active="1" id="243504" odd="25.0"/>
      <outcome active="1" id="145300" odd="25.0"/>
      <outcome active="1" id="311236" odd="25.0"/>
      <outcome active="1" id="39543" odd="61.0"/>
      <outcome active="1" id="28490" odd="81.0"/>
      <outcome active="1" id="62196" odd="81.0"/>
      <outcome active="1" id="38912" odd="81.0"/>
      <outcome active="0" id="239004" odd="101.0"/>
      <outcome active="0" id="28520" odd="101.0"/>
      <outcome active="1" id="237568" odd="101.0"/>
      <outcome active="1" id="239002" odd="101.0"/>
      <outcome active="0" id="403363" odd="126.0"/>
      <outcome active="0" id="86086" odd="126.0"/>
      <outcome active="1" id="62038" odd="151.0"/>
      <outcome active="1" id="40709" odd="201.0"/>
      <outcome active="1" id="135114" odd="201.0"/>
      <outcome active="1" id="92254" odd="201.0"/>
      <outcome active="1" id="547831" odd="201.0"/>
    </market>
  </odds>
</odds_change>

Attributes of odds_change tags are event_id, product and timestamp. Tag event_id represent ID of event for which the odds are for. Tag product representing 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

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

  2. sbv - the special bet value which indicates the spread of the market. (Not all markets contain the sbv)

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

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

...

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

...

id - indicating the id of the outcome for that market

...

name - The name of the outcome (Optional)

...

Here you will receive all the changes and updates related to odds such as Matches, Outrights and Player Odds

Page Tree
rootOdds Change
startDepth1