Widget Docs
Coverage MatrixDocumentationRelease LogLog InContact Us

Match List

us.common.MatchList displays a daily list of past, present and future matches. Scores are automatically updated in real-time during live matches.

This widget uses local storage for persisting end-user selection (date, live, show/hide odds). The widget displays date/time in the end user's local timezone (based on operating system settings).

Parameters

Name Type Description
props object properties
Name Type Argument Default Description
matchId number optional Match ID
dayOffset number optional 0 Day offset from the current date. Default value is 0 (current date).
sportId number optional 1 Sport ID. 1 (Soccer), 2 (Basketball), 3 (Baseball), 4 (Ice Hockey), 9 (Golf), 16 (American Football).
isLive boolean optional false Displays only live matches when set to true.
showOdds boolean optional false When set to true includes odds data for each match.
disableOdds boolean optional false When set to true disables the odds button in the right corner.
onItemClick function optional Function/Event handler, emits matchId on click or touch.
filterUtIds string optional Comma-separated unique tournament IDs. When set, only matches within specified unique tournaments will be listed.
filterRcIds string optional Comma-separated real category IDs. When set, only matches within specified real categories will be listed.
favoriteTournaments string optional Comma-separated unique tournament IDs. When set, tournaments with a specified unique ID will be added to the top of the match list.
oddsDeeplinkLabels object optional An object of deeplinking labels.
deeplinkParams object optional An object of deeplinking parameters.

Examples

<div class="sr-widget" data-sr-widget="us.common.matchList" data-sr-sport-id="1"></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.common.matchList', {sportId: 1});
</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.common.matchList', {sportId: 1, onItemClick: function(type, obj){alert('matchId: ' + obj.matchId);}});
</script>
<div id="sr-widget"></div>