Football match events API
Match events are most useful when someone has already turned them into numbers. This API takes where passes, tackles, interceptions and shots happen and returns pressing, territory and defensive-line metrics as JSON. Derived outputs only: no coordinates, no event log.
Premium module: Business and Enterprise plans
Endpoints
| Endpoint | Returns |
|---|---|
| GET /spatial/{fixture_id} | Field tilt, PPDA, pressing efficiency, defensive line, zone grids and all three modules. |
| GET /spatial/{fixture_id}/control | Spatial control index: each team’s share of activity per pitch zone. |
| GET /spatial/{fixture_id}/threat | Attacking threat proxy: shot depth, centrality and central final-third passing. |
| GET /spatial/{fixture_id}/transition | Defensive line and pressing bands. Structural exposure, not measured counter-attacks. |
| GET /spatial/team/{team_id} | A team’s rolling spatial profile over recent matches (after 5 tracked matches). |
| GET /spatial/status | Public: how many matches are tracked. |
Quickstart
curl -H "Authorization: Token YOUR_API_KEY" \
https://api.predictiqpro.com/spatial/12345/control{
"fixture_id": 12345,
"module": "control",
"available": true,
"data": {
"status": "final",
"home": {
"cols": 6,
"lanes": ["central", "wide"],
"grid": [[48.2, 51.0], [55.4, 60.1], [null, 57.3], [61.0, 58.8], [63.5, 54.0], [66.1, null]],
"control_index": 57.2,
"final_third_control": 60.3
},
"away": { "...": "same shape, mirrored" }
},
"note": "Activity is a proxy for control, not possession."
}Illustrative response. A grid cell is null when its sample is too small.
const res = await fetch("https://api.predictiqpro.com/spatial/12345/transition", {
headers: { Authorization: "Token " + process.env.PREDICTIQ_KEY },
});
const { available, data } = await res.json();
if (available) {
console.log(data.home.line_band, data.home.press_band); // e.g. "high" "intense"
}What it will not do
- Return raw events or player-level data.
- Claim expected threat (xT), pressing traps, half-space occupancy or compactness. The data does not support them.
- Guess. Small samples return null and unknown pitch direction contributes nothing.
FAQ
Related: spatial intelligence, prediction API, API for developers, MCP server.