Betradar - the betting arm of Sportradar

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Inserted the Table Filter macro

Excerpt Include
HideElements
HideElements
nopaneltrue
Anchor
topOfPage
topOfPage

Excerpt Include
BetradarLogo
BetradarLogo
nopaneltrue

Panel

Sport specific information for american football.

Table of Contents

Sport specific XML elements and attributes

This section explains what elements / attributes one can expect for american football matches in addition to the standard elements and attributes.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1413331559002">
<Match active="1" betstatus="started" matchid="6139956" matchtime="1" msgnr="9" possession="2" position="70" remaining_time="60"
remaining_time_in_period="15" score="0:0" setscores="0:0" status="1q" try="1" yards="10"/>
</BetradarLiveOdds>
ElementAttributes

AttributeDescriptionPossible values
MatchpossessionWhich team has the ball.
  • 1 = home team
  • 2 = away team
  • 0 = undefined
try

Try number, it’s the current "down" until reaching the 10 yards if defined.

A number in range [1,4]
-1 = undefined.

yards

Yards till first down. How many yards down in this drive (the drive is a series of offensive plays).

Number >= 0
-1 = undefined

position

Ball position will be sent as x yards to go till opponent’s end zone for the team in possession.

Number in range [1,100]
-1 = undefined.
Please note that own x will be sent as
"100 – x" while opposite x will be sent
as "x".

remaining_time

The remaining minutes of the match, without seconds. This attribute needs to be enabled in the XML configuration

Integer
Remaining_time_in_period

The remaining minutes of the current period, without seconds. This attribute needs to be enabled in the XML configuration

Integer
Info

Note

The attributes position, yards and tries are not updated during overtime. They will be set to "-1".

XML configuration

Sport specific XML configurations for american football.

(ID: 54) Multiple bets of same type active at once for American football matches

The Live Odds system selects the most balanced bet (line, spread, etc) out of all available ones for each market, and only this one will be sent out to the client system. Enabling this setting will allow multiple bets of the same type to be sent out at once, not only the most balanced ones. E.g. for the total market in soccer the most balanced line would be 2.5. When enabling the setting, total 1.5 and 3.5 would be sent as well.

(ID: 49) Remaining time in American football

Enabling this setting will add the attribute remaining_time to the Match element for American football matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1413331559002">
<Match active="1" betstatus="started" matchid="6139956" matchtime="1" msgnr="9" possession="2" position="70" remaining_time="60" score
="0:0" setscores="0:0" status="1q" try="1" yards="10"/>
</BetradarLiveOdds>

XML attributes definition

Table Filter
id1584358583986_-1602891811
ElementAttributes

AttributeDescriptionPossible values
Matchremaining_time

The remaining minutes of the match, without seconds.

Integer

(ID: 50) Remaining time for period in American football

Enabling this setting will add the attribute remaining_time_in_period to the Match element for American football matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1413331559002">
<Match active="1" betstatus="started" matchid="6139956" matchtime="1" msgnr="9" possession="2" position="70"
remaining_time_in_period="15" score="0:0" setscores="0:0" status="1q" try="1" yards="10"/></BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchremaining_time_in_period

The remaining minutes of the current period, without seconds.

Integer

Match statuses

IDStatusStatus descriptionAdditional information
0not_startedNot started yet-
131q1st quarter-
301pause11st pause-
142q2nd quarter-
302pause22nd pause-
153q3rd quarter-
303pause33rd pause-
164q4th quarter-
100endedThe match has ended-
32awaiting_otWaiting for overtime to start

This match status is not used unless the corresponding XML configuration is enabled.

40otOvertime (in case the match goes to extra time)-
110after_otMatch finished after overtime

This match status is not used unless the corresponding XML configuration is enabled.

80interruptedThe match has been interrupted-
90abandonedThe match has been abandoned

Status controlled by XML configuration.