Widget Docs
Coverage MatrixDocumentationRelease LogLog InContact Us

Player Career Stats

us.player.nba.CareerStats displays the career stats of a given NBA player.

For the widget to render you must provide a valid playerId.

Parameters

Name Type Argument Default Description
playerId number required Player ID
mode string optional 'totals' Season type: totals, perGame
type string optional 'professional' Player career type: professional, college.
seasonDefaultSortDirection string optional 'asc' Sets initial season column sort direction. Valid options are: asc / desc.
totalsColumns string optional Comma separated string of table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, gs, min, fgm, fga, fgp, 3pm, 3pa, 3pp, ftm, fta, ftp, oreb, dreb, reb, to, ast, stl, blk, ba, pf, pm, pts. A table of definitions is included below.
perGameColumns string optional Comma separated string of table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, gs, min, fgm, fga, fgp, 3pm, 3pa, 3pp, ftm, fta, ftp, oreb, dreb, reb, to, ast, stl, blk, ba, pf, pm, pts. A table of definitions is included below.
border boolean optional When set to true the table is displayed with a border.

totalsColumns and perGameColumns Option Descriptions

Option Description
gp Games Played
gs Games Started
min Minutes
fgm Field Goals Made
fga Field Goals Attempted
fgp Field Goal Percentage
3pm Three Pointers Made
3pa Three Pointers Attempted
3pp Three Point Percentage
ftm Free Throws Made
fta Free Throws Attempted
ftp Free Throw Percentage
oreb Offensive Rebounds
dreb Defensive Rebounds
reb Rebounds
to Turnovers
ast Assists
stl Steals
blk Blocks
ba Blocked Attempts
pf Personal Fouls
pm Plus/Minus
pts Points

Examples

<div class="sr-widget" data-sr-widget="us.player.nba.careerStats" data-sr-player-id="608110"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>

<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.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.player.nba.careerStats', {playerId: '608110'});
</script>
<div id="sr-widget"></div>