Odds Change

An odds_change message is sent when the odds updates for a fixture are published. This message includes the following attributes:

 

XML Attributes

NAME

DESCRIPTION

NAME

DESCRIPTION

product_id

The ID of the product

event_id

The ID of the event (Match or Outright)

timestamp

The date & time of when the message was created (UTC)

event status

The status of the event

score_1

The current score of the home/type1 team (Only for Live)

score_2

The current score of the away/type2 team (Only for Live)

match_time

The current time of the match. Format is mm:ss (Only for Live)

stoppage_time

The current stoppage time of the match. Format is mm:ss (Only for Live)

market id

The ID of the market

market status

The status of the market

market specifiers

A | separated list of key=value-pairs. These are further specifiers for the market such as Spread. (Not always available)

outcome id

The ID of the outcome

outcome status

The status of the outcome

odds

The latest odds for the outcome

 

Status IDs

ID

DESCRIPTION

ID

DESCRIPTION

0

This indicates that the status is Inactive

1

This indicates that the status is Active

2

This indicates that the status is Suspended (Only for Live)

 

Each event_id is sent in a seperate message therefore each odds_change message can only contain 1 event ID.

 

To resend the latest odds in the queue you can use the following POST API:

POST - Odds

 

 

XML Examples

Match Odds

<?xml version='1.0' encoding='utf-8'?> <odds_change product_id="2" event_id="match:131718" timestamp="1695889437000"> <sport_event_status status="1" score_1="0" score_2="0"> <clock match_time="90:00" stoppage_time="02:25"/> </sport_event_status> <odds> <market id="3" status="1" specifiers="spread=18.5"> <outcome id="6" status="1" odds="2"/> <outcome id="7" status="1" odds="1.7"/> </market> </odds> </odds_change>

 

Match Deactivation

<?xml version='1.0' encoding='utf-8'?> <odds_change product_id="1" event_id="match:131718" timestamp="1695889437000"> <sport_event_status status="0"/> </odds_change>

 

Market Deactivation

<?xml version='1.0' encoding='utf-8'?> <odds_change product_id="2" event_id="match:131718" timestamp="1695889437000"> <sport_event_status status="1" <odds> <market id="3" status="0" specifiers="spread=18.5"/> </odds> </odds_change>

Outright Odds

 

Outright Deactivation

 

Â