🎯 Need Help?

Get Premium Support

Priority assistance from the developer

⬆️ Upgrade

Unlock all features

More from ANWP

Sports Leagues Premium

Multi-sport league management with advanced statistics

Learn more β†’

AnWP SL Theme Kit

Starter themes & block patterns for Sports Leagues

Learn more β†’

Import Additional Team Statistics

Pro Feature

Every finished game imported from api-football.com brings six team statistics with it, whether you ask for them or not. Eight more are available on request, expected goals among them, and those need a stat column to land in.

One feature, three names

The switch is called Import Additional Team Game Statistics, the stat block it fills is called Match >> Club Statistics, and older articles call the whole thing club statistics. Team and club mean the same thing throughout.

What arrives without any setup

These six are imported for every finished game and stored on the game itself. They need no configuration and no switch.

  • Ball possession
  • Total shots
  • Shots on goal
  • Corner kicks
  • Fouls
  • Offsides

πŸš€ 1. Switch the extra eight on

Go to FL API Import > Settings. In the Import Data block, set Import Additional Team Game Statistics to Yes and press Save.

The Import Data block on the API Import Settings tab, with Import Additional Team Game Statistics set to Yes and the mapping check below it

A mapping check appears under the switch. If it reports fields that need mapping, press Fix and the plugin creates all eight columns for you, each pointed at its API field and given a sensible maximum for the bar charts.

ColumnShortAPI field
Shots off GoalSoffGShots off Goal
Blocked ShotsBlkBlocked Shots
Shots insideboxSiBShots insidebox
Shots outsideboxSoBShots outsidebox
Goalkeeper SavesSavesGoalkeeper Saves
Total passesPassTotal passes
Passes accuratePassAPasses accurate
Expected GoalsxGExpected Goals

2. Map a column by hand

Go to Settings & Tools > Statistics and open the Match >> Club Statistics block. Rows come in two kinds. A default row is one of the six core stats and needs nothing. A simple row is yours, and once the import is on its Default Field dropdown offers the eight API fields, starting from – select related API field –. Choose the field and save.

The Match to Club Statistics table in the Statistics Configurator, showing ten default rows above the first simple row, Shots off Goal, whose Default Field dropdown carries the API field

Only simple columns can be fed from the provider. Calculated and formula columns work their value out from other columns and have no dropdown.

⚽ 3. Show them on the game page

Open the game layout in the Layout Builder and add the Stats block from the Match group. It draws the two teams’ values side by side, using each column’s maximum to size the bars.

4. Fill in games you already imported

Values are written when a game is imported as finished, so games imported before you switched this on have none. Re-run the import over them with Re-Update Finished Matches in a single league’s configuration actions – for every game, one matchweek or one game. Update Finished Games on the Import Dashboard won’t do it: it only picks up games that aren’t marked finished on your site yet.

πŸ†˜ Troubleshooting

The extra columns are empty but possession works

Possession and the other five are imported unconditionally, so seeing them prove the fixture is arriving. The extra eight need both the switch and a mapped column. Check the mapping report under the switch, then re-run the update on a finished game.

A cell is blank where the value should be zero

A genuine zero is stored as no value, so a team with no offsides or no blocked shots shows an empty cell rather than 0. Nothing is wrong with the import.

Expected goals never arrives

Not every league and season carries xG at the provider, and older seasons often don’t. Check one game on api-football.com before assuming the mapping is wrong.

Live games show no team stats

Live team statistics have their own switch in the live settings, and the extra eight also need the switch on this page. Both must be on. See Live Scores.

πŸ“š Related