# Lineups

If the XML configuration option *Send lineups for matches where this is available* is activated, the lineups XML will be sent over\
the feed automatically. The XML contains the player lineups for both teams, and is currently available for:

* American Football
* Baseball
* Basketball
* CS:GO
* Dota2
* Handball
* Ice hockey
* League of Legends
* Rugby
* Soccer

The lineups XML is sent immediately after subscribing to a match, and it’s also sent automatically every time the lineup changes.

{% hint style="info" %}
**Note**

Lineups will be only available for DC (Deeper Coverage) matches.
{% endhint %}

{% hint style="info" %}
**Note**

The player id element in the lineup message will match the player id element in the case of an event such as a goal. The following XML example illustrates how this looks in the feed after a goal in a soccer game:
{% endhint %}

{% hint style="info" %}
**Note**:&#x20;

Lineups will be only available for DC (Deeper Coverage) matches.
{% endhint %}

{% hint style="info" %}
**Note**:&#x20;

The player id element in the lineup message will match the player id element in the case of an event such as a goal. The following XML example illustrates how this looks in the feed after a goal in a soccer game:
{% endhint %}

**XML example**

```xml
Update with player info:
<match betstatus="BETSTOP" connectionstatus="1" dc="1" feedtype="deltaupdate" matchid="12813841">
<score t1="2" t2="0" type="period1"/>
<score t1="2" t2="0" type="current"/>
<shotsontarget t1="2" t2="0"/>
<events>
<event extrainfo="-100" id="879292323" info="Goal [T1] (shot) - M.Upson" matchscore="2:0" mtime="03:56" player1="569" posx="50" posy="
50" side="home" stime="1510558801855" type="30"/>
</events>
</match>
Lineup element:
<lineups matchid="12188488">
<player id="569" name="Upson, M" position="D" shirtnumber="99" substitute="false" team="1"/>
<player id="49038" name="Andelkovic, Sinisa" position="D" shirtnumber="4" substitute="false" team="1"/>

```


---

# 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/live-data/introduction/system-communication/xml-messages-sent-from-the-betradar-system/lineups.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.
