Betradar - the betting arm of Sportradar

Page tree

Versions Compared

Key

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

Anchor
topOfPage
topOfPage
Excerpt Include
HideElements
HideElements
nopaneltrue

Excerpt Include
BetradarLogo
BetradarLogo
nopaneltrue

Panel

Client systems can request an overview of the status of matches they are subscribed to. This happens by sending a current request. In this request the client system specifies what matches they want to get the status for.

Code Block
languagexml
titleXML example
<BookmakerStatus timestamp="0" bookmakerid="24" type="current">
<Match matchid="661373" />
</BookmakerStatus>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
BookmakerStatus

type

Keyword which describes what kind of request is sent.

String
"current" (for current requests)

bookmakeridThe id of the bookmakerInteger
timestamp

The moment for which you want to retrieve the current status of the requested match(es). Using 0 as timestamp would normally represent the 1st of January 1970, but for the current status request it will automatically translate into current time.

UTC timestamp or 0
Matchmatchid

The id of the match for which the current status is requested

Integer

After a current request is received the Betradar system will return the following messages:

  • A message containing the odds, activation of odds and match status for the match requested
  • A message indicating the current bet status. This is a regular bet status message
  • All bet clearing messages sent before the timestamp given are sent as they were sent originally

All messages are separated by a newline. The replytype attribute is set to "current" for the reply messages from current requests. The match element will not include the msgnr attribute.