Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

Match bet settlements

Bet results for a match are sent in bet_settlement tag and are in the following format:

<bet_settlement certainty="1" event_id="match:24593892" product="3" timestamp="1606302182458">
	<outcomes>
		<market id="382">
			<outcome id="1" name="1"/>
		</market>
		<market id="7064" spread="5.5">
			<outcome id="1228" name="12 + Under"/>
			<outcome id="1230" name="1X + Under/>
			<outcome id="1232" name="X2 + Under"/>
		</market>
		<market id="7012" spread="6.5">
			<outcome  id="7" name="Under"/>
		</market>
		<market id="7012" spread="7.5">
			<outcome id="7" name="Under"/>
		</market>
		<market id="7012" spread="8.5">
			<outcome id="7" name="Under"/>
		</market>
	</outcomes>
</bet_settlement>

Attributes of bet_settlement tag are event_id, product, certainty 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

3

Pre-match

Available

1

Live odds

Not available

Tag certainty representing Is this bet-settlement sent as a consequence of scouts reporting the results live (1) or is this bet-settlement sent post-match when the official results have been confirmed (2)

Inside main tag there is the outcomes tag containing bet result data per market.

For each market we create market tag with attributes specifying the following:

  1. id - indicating the id of the market

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

Inside the market tag we create the outcome tag. Attributes of that tag are:

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

  2. name - this is the name of the outcome for the specified market,

  3. result - this indicates the winning outcome which is equal to 1. Currently we are in the process of offering the option to send also the losing outcomes of a market with the result equal to 0.

  • No labels