Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Leaderboard

us.event.golf.leaderboard displays a complete leaderboard for a given golf tournament.

Provide a valid stageId, or a valid combination of uid and tourStageId, to display a specific tournament. Click here for a downloadable mapping file of 2025 and 2026 tournament stageIds and their corresponding Golf API UUIDs.

When providing uid and tourStageId, you can additionally specify a valid season to retrieve a non-current season.

A stageId uniquely identifies a tournament for a specific season (event), while uid and tourStageId identify the tournament within a tour independent of season.

Parameters

Property NameTypeArgumentDescription
stageIdnumberoptionalID of a tournament event for a specific season.

Click here for a downloadable mapping file of 2025 and 2026 stageIds and their corresponding Golf API UUIDs.
uidnumberoptionalID of a golf tournament. Must be specified together with tourStageId.
tourStageIdnumberoptionalID of a tour. Must be specified together with a uid. Currently supported tours: PGA (tourStageId 306287) and LPGA (tourStageId 409406).
seasonnumberoptionalSeason, specified as a year. Together with uid it uniquely identifies an event.
columnsstringoptionalComma-separated names of columns to display in the order specified. Possible columns: pos, score, thru, round1, round2, round3, round4, roundp (playoff rounds only), strokes, money (post-event only), points (post-event only).
disableSeasonDropdownbooleanoptionalHides the season dropdown when true.
borderbooleanoptionalWhen set to true the table is displayed with a border.
onItemClickfunctionoptionalFunction/event handler. Emits playerId when a user clicks on a player.

Examples

<div class="sr-widget" data-sr-widget="us.event.golf.leaderboard" data-sr-stage-id="721608"></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.event.golf.leaderboard', {stageId: 721608});
</script>
<div id="sr-widget"></div>
<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.event.golf.leaderboard', {stageId: 721608, onItemClick: function(target, obj){alert(target+':'+JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>