# Pitcher and Pitcher history

The pitcher element provides information about the starting pitchers for both teams in a baseball event. It is an element included in the "pitchers" element

\<pitchers>\
&#x20;       \<pitcher name="Casey Mize" hand="R" competitor="home" id="sr:player:1473712"/>\
&#x20;       \<pitcher name="Christopher Archer" hand="R" competitor="away" id="sr:player:843249"/>\
&#x20;\</pitchers>

The pitcher element can be found also inside the pitcher history element with an additional attribute which is "changed\_at" which indicates what time the starting pitcher was changed.&#x20;

An example below  of the change of the starting pitcher:

&#x20;  \
&#x20;     \<pitcherHistory>\
&#x20;       \<pitcher name="Casey Mize" hand="R" competitor="home" id="sr:player:1473712" changed\_at="2021-09-11T22:54:27+00:00"/>\
&#x20;       \<pitcher name="Bryan Garcia" hand="R" competitor="home" id="sr:player:1119703" changed\_at="2021-09-11T23:15:42+00:00"/>\
&#x20;       \<pitcher name="Ian Krol" hand="L" competitor="home" id="sr:player:849464" changed\_at="2021-09-11T23:31:21+00:00"/>\
&#x20;       \<pitcher name="Andrew Hutchison" hand="R" competitor="home" id="sr:player:843051" changed\_at="2021-09-12T00:36:44+00:00"/>\
&#x20;     \</pitcherHistory>\
&#x20;    &#x20;

Table below will show attributes and possible values of the pitcher element

| Attribute   | meaning                                        | value type | possible values           |
| ----------- | ---------------------------------------------- | ---------- | ------------------------- |
| name        | name of the pitcher                            | string     | name of the pitcher       |
| hand        | hand used by the pitcher                       | string     | R, L (right or left)      |
| competitor  | which team the pitcher belongs in              | string     | home,  away               |
| id          | id of the pitcher as a player                  | string     | example: sr:player:843249 |
| changed\_at | timing when the change of the pitcher happened | datetime   | date and time             |

<br>

<br>

<br>

<br>

<br>

<br>


---

# 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/support-and-history/archived/deprecated-uof-endpoints/elements/pitcher-and-pitcher-history.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.
