SoccerSAPIScorecenter
Modules

Sports Modules

Sports modules display structured data from the Scorecenter sports API — match results, team squads, league tables, player careers, and everything in between. These are the core building blocks for any sports-focused page.

Most modules auto-resolve their data from the page context. On a match template, match-stats automatically uses the current match ID. On a team template, team-players automatically uses the current team ID. You only need to set explicit IDs when placing a module outside its natural context.


Match Modules

Modules for displaying all aspects of a football match — from the scoreboard header to detailed statistical breakdowns.

Full page

ModuleDescription
matchComplete match detail with all tabs and sub-modules assembled into a single full-page layout. Includes header, events, stats, lineups, standings, and more. Best used as the sole module in a match template's main region.

Layout components

ModuleDescription
match-headerScoreboard header showing team crests, score, match status, date/time, venue, and competition. The primary identity block for any match page.
match-tabsTabbed navigation for match sub-sections (summary, stats, lineups, H2H, etc.). Use when building a custom match layout instead of the all-in-one match module.

Data modules

ModuleDescriptionVariants
match-statsTeam statistics comparison — shots, possession, passes, fouls, corners, and more.full, mini, radar
match-eventsGoal, card, and substitution events with minute markers.timeline, compact
match-lineupsStarting XI and substitutes for both teams with player details. It can also be inserted inside articles in a prose-style text mode.full, compact, grid
match-h2hHead-to-head history between the two teams.full, compact
match-standingsLeague table with the two match teams highlighted for quick context.
match-summaryPre-match preview or live match summary with key facts.
match-commentaryLive text commentary feed updated in real time.
match-predictionsAI-generated match predictions with probability breakdown.
match-sidelinedInjured and suspended players for both teams.
match-benchSubstitute players available for both teams.
match-formRecent form for both teams shown as W/D/L indicators.
match-highlightsVideo highlights from the match.
match-prematchPre-match analysis with team news and tactical insights.
match-shots-splitShot statistics broken down by type and location.
match-possessionBall possession data with timeline breakdown.
match-momentumMatch momentum chart showing which team dominated at each phase.

Comparison

ModuleDescriptionVariants
team-comparatorSide-by-side comparison of two teams across multiple metrics — form, stats, squad value, and more.full, compact

Restricted modules

ModuleDescriptionRequirement
match-oddsBetting odds from multiple bookmakers for match outcomes, over/under, and more.Odds feature
match-tvTV and streaming broadcast information for the match.Broadcasts feature

match-odds variants: full, best-only, compact

Team Modules

Modules for displaying team identity, squad, results, transfers, and performance data.

Full page

ModuleDescription
teamComplete team detail page with all sub-sections. Best used as the primary module on a team template.

Layout components

ModuleDescription
team-headerTeam identity header with crest, name, country, founded year, and venue.
team-tabsTabbed navigation for team sub-sections.

Data modules

ModuleDescriptionVariants
team-playersSquad list with player photos, positions, ages, and shirt numbers.table, card, list
team-fixturesMatch schedule and results. On the team page the default "All" view pulls last/next results across every competition the team is active in (league, cup, continental); picking a specific league switches to the full-season fixture list for that competition.full, compact, calendar
team-statsSeason statistics — goals, clean sheets, averages, comparisons, and a visual overview snapshot with ranking, win rate, splits, recent form, active-competitions chip row, next-match card with head-to-head summary vs the upcoming opponent, and a top performers block for the team's own players in the league goals, assists, and cards leaderboards.full, compact, overview, bars
team-standingsLeague table for the team's current competition with the team highlighted.
team-transfersIncoming and outgoing player transfers.full, compact, timeline
team-sidelinedCurrently injured or suspended players.full, compact
team-trophiesTrophy cabinet with competition titles and years.list, card, compact
team-venueStadium/venue information with capacity, address, and image.full, compact
team-form-chartVisual form chart showing recent results as a line or dot chart.
team-coachHead coach profile with photo, nationality, and career history.

League Modules

Modules for displaying competition data — standings, fixtures, top scorers, participating teams, and season-level statistics.

Full page

ModuleDescription
leagueComplete league detail page with all sub-sections assembled. Best used as the primary module on a league template.

Layout components

ModuleDescription
league-headerLeague identity header with logo, name, country, and season info.
league-tabsTabbed navigation for league sub-sections.

Data modules

ModuleDescriptionVariants
league-standingsFull league table with points, goal difference, form, and more.full, compact, mini
league-fixturesMatch schedule grouped by matchday or date.full, matchday
league-topscorersTop goal scorers table with player details and goal counts.
league-teamsAll teams participating in the competition.grid, list
league-venuesStadiums/venues used in the competition.grid, list, compact
league-statsSeason-wide aggregate statistics (goals, cards, averages).
league-top-cardsYellow and red card leaders for the season.
league-leadersStatistical leaders across categories (goals, assists, clean sheets).table, list, card, podium
league-cup-drawCup/knockout bracket visualization for cup competitions.
league-roundsMatchday/round navigator for browsing fixtures by round.

Player Modules

Modules for displaying individual player profiles, career statistics, and player comparisons.

Full page

ModuleDescription
playerComplete player detail page with all sub-sections. Best used as the primary module on a player template.

Layout components

ModuleDescription
player-headerPlayer identity header with photo, name, position, nationality, age, and current team.
player-tabsTabbed navigation for player sub-sections.

Data modules

ModuleDescription
player-statsCareer statistics across all seasons and competitions — appearances, goals, assists, cards, minutes, and ratings.
player-comparisonSide-by-side comparison of two players across key metrics with visual charts.

Common parameters

Most sports modules share a set of common parameters:

ParameterDescriptionDefault
variantVisual style variant (where applicable)First listed variant
show_headerShow/hide the module's section headertrue
entity_idOverride the auto-resolved entity IDFrom page context
seasonOverride the season/yearCurrent season
league_idFilter by specific league (team/player modules)All leagues

When using full-page modules like match, team, league, or player, the individual sub-modules are assembled automatically. Use individual modules only when you need a custom layout or want to place specific data blocks in different page regions.