# eBasketball LO AMQP messages

**Odds change messages**\
\
General information for odds changes messages can be found [here](/uof/data-and-features/messages/event/odds-change.md).<br>

The <[sport\_event\_status](/uof/data-and-features/messages/event/odds-change/sport-event-status.md)> element in general is designed to be very flexible to fit the demands of various sports:\
\
In the XSD the following attributes are specified as optional within the sport event status, but are used for eBasketball:

* home\_score
* away\_score

In the XSD the following elements are specified as minOccurs="0" within the sport event status, but are used for eBasketball:

* \<clock>
* \<period\_scores><br>

**Further message types which are supported in eBasketball:**

* [fixture\_change](/uof/introduction/key-concepts/fixture-changes.md)
* [bet\_settlement](/uof/data-and-features/messages/event/bet-settlement.md)
* [rollback\_bet\_settlement](/uof/data-and-features/messages/event/rollback-bet-settlements.md)
* [bet\_cancel](/uof/data-and-features/messages/event/bet-cancel.md)
* [rollback\_bet\_cancel](/uof/data-and-features/messages/event/rollback-bet-cancel.md)

\
Example odds\_change message for eBasketball:

```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<odds_change product="1" event_id="sr:match:12345678" timestamp="1607557686275">
  <sport_event_status status="1" reporting="1" match_status="16" home_score="29" away_score="30">
    <clock match_time="18:49" remaining_time="1:11" remaining_time_in_period="1:11" stopped="false"/>
    <period_scores>
      <period_score match_status_code="13" number="1" home_score="8" away_score="4"/>
      <period_score match_status_code="14" number="2" home_score="5" away_score="10"/>
      <period_score match_status_code="15" number="3" home_score="12" away_score="8"/>
      <period_score match_status_code="16" number="4" home_score="4" away_score="8"/>
    </period_scores>
  </sport_event_status>
  <odds>
    <market favourite="1" status="-1" id="223" specifiers="hcp=1.5">
      <outcome id="1714" odds="1.9" probabilities="0.47654346" active="1"/>
      <outcome id="1715" odds="1.75" probabilities="0.52345654" active="1"/>
    </market>
    <market status="0" id="16" specifiers="hcp=2.5"/>
    <market favourite="1" status="-1" id="219">
      <outcome id="4" odds="2.55" probabilities="0.3441528302" active="1"/>
      <outcome id="5" odds="1.42" probabilities="0.6558471698" active="1"/>
    </market>
    <market status="0" id="303" specifiers="quarternr=4|hcp=2.5"/>
    <market status="0" id="223" specifiers="hcp=-0.5"/>
    <market status="0" id="16" specifiers="hcp=-1.5"/>
    <market status="0" id="223" specifiers="hcp=2.5"/>
    <market status="0" id="16" specifiers="hcp=1.5"/>
    <market favourite="1" status="-1" id="303" specifiers="quarternr=4|hcp=3.5">
      <outcome id="1714" odds="2.0" probabilities="0.4531965913" active="1"/>
      <outcome id="1715" odds="1.7" probabilities="0.5468034087" active="1"/>
    </market>
    <market favourite="1" status="-1" id="235" specifiers="quarternr=4">
      <outcome id="1" odds="10.5" probabilities="0.0598211885" active="1"/>
      <outcome id="2" odds="12.0" probabilities="0.0517296094" active="1"/>
      <outcome id="3" odds="1.08" probabilities="0.8884492021" active="1"/>
    </market>
    <market status="0" id="16" specifiers="hcp=-0.5"/>
    <market status="0" id="223" specifiers="hcp=3.5"/>
    <market status="0" id="16" specifiers="hcp=4.5"/>
    <market status="0" id="303" specifiers="quarternr=4|hcp=4.5"/>
    <market favourite="1" status="-1" id="304" specifiers="quarternr=4">
      <outcome id="70" odds="1.7" probabilities="0.532033728" active="1"/>
      <outcome id="72" odds="1.95" probabilities="0.467966272" active="1"/>
    </market>
    <market status="0" id="223" specifiers="hcp=4.5"/>
    <market status="0" id="16" specifiers="hcp=3.5"/>
    <market status="0" id="303" specifiers="quarternr=4|hcp=5.5"/>
    <market status="0" id="303" specifiers="quarternr=4|hcp=6.5"/>
    <market favourite="1" status="-1" id="1">
      <outcome id="1" odds="3.15" probabilities="0.2815376012" active="1"/>
      <outcome id="2" odds="5.0" probabilities="0.1716589901" active="1"/>
      <outcome id="3" odds="1.7" probabilities="0.5468034087" active="1"/>
    </market>
    <market favourite="1" status="-1" id="26">
      <outcome id="70" odds="1.95" probabilities="0.467966272" active="1"/>
      <outcome id="72" odds="1.7" probabilities="0.532033728" active="1"/>
    </market>
    <market favourite="1" status="-1" id="16" specifiers="hcp=0.5">
      <outcome id="1714" odds="2.0" probabilities="0.4531965913" active="1"/>
      <outcome id="1715" odds="1.7" probabilities="0.5468034087" active="1"/>
    </market>
    <market status="0" id="223" specifiers="hcp=0.5"/>
    <market favourite="1" status="-1" id="11">
      <outcome id="4" odds="2.55" probabilities="0.3398812781" active="1"/>
      <outcome id="5" odds="1.42" probabilities="0.6601187219" active="1"/>
    </market>
    <market favourite="1" status="-1" id="229">
      <outcome id="70" odds="1.65" probabilities="0.55915413" active="1"/>
      <outcome id="72" odds="2.05" probabilities="0.44084587" active="1"/>
    </market>
    <market favourite="1" status="-1" id="302" specifiers="quarternr=4">
      <outcome id="4" odds="7.75" probabilities="0.0630845264" active="1"/>
      <outcome id="5" odds="1.03" probabilities="0.9369154736" active="1"/>
    </market>
  </odds>
</odds_change>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/uof/live-odds-for-electronic/live-odds-ebasketball/ebasketball-lo-amqp-messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
