Football analytics · 5 min read

What is expected threat?

xG prices the shot. Most of what wins a match happens before it: the carry that beat a line, the switch that found the free man. Expected threat gives those actions a number by dividing the pitch into zones and asking how often a team scores from each one.

A grid of probabilities

The pitch is split into a grid — Karun Singh's original used 16 columns by 12 rows — and each cell gets a value: the probability the possessing team scores before losing the ball, estimated from historical possessions that passed through it. Cells near the opponent's goal are worth more than cells in your own half, as you would expect.

An action is then worth the value of where the ball ended up minus the value of where it started. A pass from the halfway line into the box is worth a lot. A pass from the box back to the halfway line is worth less than nothing, which is why the measure is signed.

Only successful moves count

Shots are handled by xG, and a failed pass is a turnover rather than threat, so both are null in an xT column — not zero. That distinction matters when you aggregate: treating null as zero lets a player who never attempted a risky pass look identical to one who attempted ten and lost all of them.

The value also ignores who is on the ball. Like xG, it describes the situation, not the player's quality.

What it misses

xT has no notion of pressure. A pass into a crowded box and the same pass into an empty one are worth the same, because the grid only knows where the ball went. It also cannot value a defensive action that prevents threat, and it treats every possession as ending in a shot attempt eventually, which flatters teams that keep the ball without progressing it.

That is why VAEP exists as a companion: it values every action type, including the defensive ones, and weighs what an action risked against what it gained. Use xT for progression, VAEP for the whole game.

Getting it from the API

`possession_value.xt_total` on the advanced endpoint is the sum of a team's action values for the match, with offensive and defensive breakdowns available for VAEP and PV alongside it. Pass networks use the same event data, so the player who accumulated the most xT is usually a node you can find in the network.

curl https://api.pitchapi.dev/v1/matches/m_B8x2K9/advanced \
  -H "X-API-KEY: $PITCH_KEY"

# data.teams[].possession_value.xt_total
# data.teams[].possession_value.vaep_total

Keep reading

Read the number from the API

One key covers every competition and every endpoint, with 15,000 requests a day, no card, and the current season plus the one before it.