---
title: "\\<pitchers> and <pitcherHistory>"
canonical_url: "https://docs.sportradar.com/resources/unified-odds-feed/docs/api-and-structure/api/elements/less-than-pitchers-greater-than-and-less-than-pitcherhistory-greater-than"
markdown_url: "https://docs.sportradar.com/resources/unified-odds-feed/docs/api-and-structure/api/elements/less-than-pitchers-greater-than-and-less-than-pitcherhistory-greater-than.md"
last_updated: "2026-11-13T10:11:41Z"
---

# \<pitchers> and <pitcherHistory>

#### Pitchers Element {#uofapi-less-than-pitchers-greater-than-and-less-than-pitcherhistory-greater-than-pitcherselement}

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

```xml
<pitchers>
        <pitcher name="Casey Mize" hand="R" competitor="home" id="sr:player:1473712"/>
        <pitcher name="Christopher Archer" hand="R" competitor="away" id="sr:player:843249"/>
 </pitchers>
```

#### PitcherHistory Element {#uofapi-less-than-pitchers-greater-than-and-less-than-pitcherhistory-greater-than-pitcherhistoryeleme}

The <pitcher> sub-element can be found also inside the PitcherHistory element with an additional attribute which is "changed\_at" which indicates what time the starting pitcher was changed.

An example below of the change of the starting pitcher:

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

Attributes of <pitcher> sub-element

| Attribute Name | Meaning                                        | Data 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             |
