Versions Compared

Key

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

...

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" sbvspraed="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" sbvspraed="40.5" status="0"/>
		<market id="261" sbvspraed="-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>

...

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

  2. sbv - spread 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.

...

  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 outright are sent inside odds_change tag, in the following format:

...