---
updatedAt: 2025-08-18T19:13:01.000Z
agentTools:
  siteIndex: https://developer.sportradar.com/llms.txt
  projectIndex: https://developer.sportradar.com/widgets/llms.txt
---

# Player Seasonal Statistics

<b>us.season.mlb.playersStats</b> displays seasonal statistics for MLB players.

<Embed url="https://widgets.media.sportradar.com/uscommon/en_us/standalone/us.season.mlb.playersStats#border=true" provider="widgets.media.sportradar.com" href="https://widgets.media.sportradar.com/uscommon/en_us/standalone/us.season.mlb.playersStats#border=true" typeOfEmbed="iframe" height="400px" width="100%" iframe="true" title="undefined" />

All properties are optional. By default, the widget provides player statistics for the active season.

### Parameters

<table class="table-striped">
<tbody>
  <tr>
    <td><b>Name</b></td>
    <td><b>Type</b></td>
    <td><b>Argument</b></td>
    <td><b>Default</b></td>
    <td><b>Description</b></td>
  </tr>
  <tr>
    <td><code>seasonId</code></td>
    <td>number</td>
    <td>optional</td>
    <td></td>
    <td>Season ID</td>
  </tr>
  <tr>
    <td><code>seasonType</code></td>
    <td>string</td>
    <td>optional</td>
    <td>'regular'</td>
    <td>Season type: <code>regular</code> / <code>playoffs</code></td>
  </tr>
  <tr>
    <td><code>category</code></td>
    <td>string</td>
    <td>optional</td>
    <td>'hitting'</td>
    <td>Statistics mode: <code>hitting</code> / <code>pitching</code></td>
  </tr>
  <tr>
    <td><code>conference</code></td>
    <td>string</td>
    <td>optional</td>
    <td></td>
    <td>Conference filter: <code>al</code> / <code>nl</code></td>
  </tr>
  <tr>
    <td><code>uniqueTeamId</code></td>
    <td>number</td>
    <td>optional</td>
    <td></td>
    <td>Unique team ID filter.</td>
  </tr>
  <tr>
    <td><code>qualifiesAsLeagueLeader</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td>true</td>
    <td>When set to <code>true</code> enables statistical minimums to qualify a player for inclusion in a statistical category.</td>
  </tr>
  <tr>
    <td><code>disableTitle</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td></td>
    <td>When set to <code>true</code> hides the widget title.</td>
  </tr>
  <tr>
    <td><code>hideFilters</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td></td>
    <td>When set to <code>true</code> hides all filters / dropdown.</td>
  </tr>
  <tr>
    <td><code>hittingColumns</code></td>
    <td>string</td>
    <td>optional</td>
    <td></td>
    <td>Comma separated string of hitting table statistics column keys. Used for picking fewer columns and different order. Valid options are <code>t</code>, <code>p</code>, <code>gp</code>, <code>gs</code>, <code>pa</code>, <code>ab</code>, <code>r</code>, <code>h</code>, <code>2b</code>, <code>3b</code>, <code>hr</code>, <code>rbi</code>, <code>bb</code>, <code>k</code>, <code>sb</code>, <code>cs</code>, <code>ba</code>, <code>obp</code>, <code>slg</code>, <code>ops</code>, <code>iso</code>, <code>babip</code>, <code>bbk</code>, <code>goao</code>, <code>xbh</code>, <code>abhr</code>.</td>
  </tr>
  <tr>
    <td><code>pitchingColumns</code></td>
    <td>string</td>
    <td>optional</td>
    <td></td>
    <td>Comma separated string of pitching table statistics column keys. Used for picking fewer columns and different order. Valid options are <code>t</code>, <code>p</code>, <code>gp</code>, <code>gs</code>, <code>w</code>, <code>l</code>, <code>era</code>, <code>sv</code>, <code>svo</code>, <code>ip</code>, <code>h</code>, <code>r</code>, <code>er</code>, <code>hra</code>, <code>bb</code>, <code>k</code>, <code>oba</code>, <code>whip</code>, <code>k9</code>, <code>kbb</code>, <code>goao</code>, <code>qs</code>, <code>cg</code>, <code>sho</code>, <code>hld</code>.</td>
  </tr>
  <tr>
    <td><code>hittingSortIdx</code></td>
    <td>string</td>
    <td>optional</td>
    <td></td>
    <td>Overrides hitting table default sort statistics column index. 1, 2, 3...</td>
  </tr>
  <tr>
    <td><code>pitchingSortIdx</code></td>
    <td>string</td>
    <td>optional</td>
    <td></td>
    <td>Overrides pitching table default sort statistics column index. 1, 2, 3...</td>
  </tr>
  <tr>
    <td><code>pageLength</code></td>
    <td>number</td>
    <td>optional</td>
    <td>50</td>
    <td>Number of players displayed per page.</td>
  </tr>
  <tr>
    <td><code>border</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td></td>
    <td>When set to <code>true</code> the table is displayed with a border.</td>
  </tr>
  <tr>
    <td><code>onItemClick</code></td>
    <td>function</td>
    <td>optional</td>
    <td></td>
    <td>Function/event handler. Emits <code>playerId</code>, <code>uniqueTeamId</code>, <code>seasonId</code>, <code>uniqueTournamentId</code> on table row click or touch.</td>
  </tr>
</tbody>
</table>

<b>hittingColumns Option Descriptions</b>

<table class="table-striped">
<thead>
  <tr>
    <th>Option</th>
    <th>Description</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td><code>t</code></td>
    <td>Team</td>
  </tr>
  <tr>
    <td><code>p</code></td>
    <td>Position</td>
  </tr>
  <tr>
    <td><code>gp</code></td>
    <td>Games Played</td>
  </tr>
  <tr>
    <td><code>pa</code></td>
    <td>Plate Appearances</td>
  </tr>
  <tr>
    <td><code>r</code></td>
    <td>Runs</td>
  </tr>
  <tr>
    <td><code>ab</code></td>
    <td>At Bats</td>
  </tr>
  <tr>
    <td><code>r</code></td>
    <td>Runs</td>
  </tr>
  <tr>
    <td><code>h</code></td>
    <td>Hits</td>
  </tr>
  <tr>
    <td><code>2b</code></td>
    <td>Doubles</td>
  </tr>
  <tr>
    <td><code>3b</code></td>
    <td>Triples</td>
  </tr>
  <tr>
    <td><code>hr</code></td>
    <td>Home Runs</td>
  </tr>
  <tr>
    <td><code>rbi</code></td>
    <td>Runs Batted In</td>
  </tr>
  <tr>
    <td><code>bb</code></td>
    <td>Walks</td>
  </tr>
  <tr>
    <td><code>k</code></td>
    <td>Strikeouts</td>
  </tr>
  <tr>
    <td><code>sb</code></td>
    <td>Stolen Bases</td>
  </tr>
  <tr>
    <td><code>cs</code></td>
    <td>Caught Stealing</td>
  </tr>
  <tr>
    <td><code>ba</code></td>
    <td>Batting Average</td>
  </tr>
  <tr>
    <td><code>obp</code></td>
    <td>On Base Percentage</td>
  </tr>
  <tr>
    <td><code>slg</code></td>
    <td>Slugging Percentage</td>
  </tr>
  <tr>
    <td><code>ops</code></td>
    <td>On Base + Slugging Percentage</td>
  </tr>
  <tr>
    <td><code>iso</code></td>
    <td>Isolate Power</td>
  </tr>
  <tr>
    <td><code>babip</code></td>
    <td>Batting Average on Balls in Play</td>
  </tr>
  <tr>
    <td><code>bbk</code></td>
    <td>Walk-to-Strikeout Ratio</td>
  </tr>
  <tr>
    <td><code>gofo</code></td>
    <td>Ground Out/Fly Out Ration</td>
  </tr>
  <tr>
    <td><code>goao</code></td>
    <td>Ground Out/Air Out Ratio</td>
  </tr>
  <tr>
    <td><code>xbh</code></td>
    <td>Extra Base Hits</td>
  </tr>
  <tr>
    <td><code>abhr</code></td>
    <td>At Bats per Home Run</td>
  </tr>
</tbody>
</table>

<b>pitchingColumns Option Descriptions</b>

<table class="table-striped">
<thead>
  <tr>
    <th>Option</th>
    <th>Description</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td><code>t</code></td>
    <td>Team</td>
  </tr>
  <tr>
    <td><code>p</code></td>
    <td>Position</td>
  </tr>
  <tr>
    <td><code>gp</code></td>
    <td>Games Played</td>
  </tr>
  <tr>
    <td><code>gs</code></td>
    <td>Games Started</td>
  </tr>
  <tr>
    <td><code>w</code></td>
    <td>Wins</td>
  </tr>
  <tr>
    <td><code>l</code></td>
    <td>Losses</td>
  </tr>
  <tr>
    <td><code>era</code></td>
    <td>Earned Run Average</td>
  </tr>
  <tr>
    <td><code>sv</code></td>
    <td>Saves</td>
  </tr>
  <tr>
    <td><code>svo</code></td>
    <td>Save Opportunities</td>
  </tr>
  <tr>
    <td><code>ip</code></td>
    <td>Innings Pitched</td>
  </tr>
  <tr>
    <td><code>h</code></td>
    <td>Hits Allowed</td>
  </tr>
  <tr>
    <td><code>r</code></td>
    <td>Runs Allowed</td>
  </tr>
  <tr>
    <td><code>er</code></td>
    <td>Earned Runs</td>
  </tr>
  <tr>
    <td><code>hra</code></td>
    <td>Home Runs Allowed</td>
  </tr>
  <tr>
    <td><code>bb</code></td>
    <td>Walks</td>
  </tr>
  <tr>
    <td><code>k</code></td>
    <td>Strikeouts</td>
  </tr>
  <tr>
    <td><code>oba</code></td>
    <td>Opponents' Batting Average</td>
  </tr>
  <tr>
    <td><code>whip</code></td>
    <td>Walks + Hits Per Inning Pitched</td>
  </tr>
  <tr>
    <td><code>k9</code></td>
    <td>Strikeouts per Nine Innings</td>
  </tr>
  <tr>
    <td><code>kbb</code></td>
    <td>Strikeout-to-Walk Ratio</td>
  </tr>
  <tr>
    <td><code>gofo</code></td>
    <td>Ground Out/Fly Out Ratio</td>
  </tr>
  <tr>
    <td><code>goao</code></td>
    <td>Ground Out/Air Out Ratio</td>
  </tr>
  <tr>
    <td><code>qs</code></td>
    <td>Quality Starts</td>
  </tr>
  <tr>
    <td><code>cg</code></td>
    <td>Complete Games</td>
  </tr>
  <tr>
    <td><code>sho</code></td>
    <td>Shutouts</td>
  </tr>
  <tr>
    <td><code>hld</code></td>
    <td>Holds</td>
  </tr>
</tbody>
</table>

### Examples

```html HTML/Declarative
<div class="sr-widget" data-sr-widget="us.season.mlb.playersStats"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>
```

```javascript JS/Programmatic
<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.sir.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.season.mlb.playersStats', {});
</script>
<div id="sr-widget"></div>
```

```javascript JS/Exampe using Event Handler
<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.sir.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.season.mlb.playersStats', {onItemClick: function(type, obj){alert('playerId: ' + playerId + ', uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>
```