Football xG, Shotmaps & Live Match Momentum API
Go beyond basic goals and yellow cards. Fetch expected goals (xG), shotmap coordinates, minute-by-minute match momentum pressure charts, and full per-player match ratings with one unified API key.
Endpoints
| Method | Endpoint / Tool | Parameters | Description |
|---|---|---|---|
| GET | /momentum |
fixture=<id> |
Returns home & away expected goals (xG), minute-by-minute pressure momentum array, and individual shotmap coordinates. |
| GET | /fixtures/statistics |
fixture=<id>&team=<optional> |
Ball possession, total shots, shots on target, corners, fouls, offsides, saves, and pass accuracy. |
| GET | /fixtures/players |
fixture=<id>&team=<optional> |
Individual match ratings, minutes played, goals, assists, shots, key passes, dribbles, tackles, and duels. |
| GET | /fixtures/events |
fixture=<id> |
Every goal, assist, VAR decision, yellow/red card, and substitution with exact minute and player IDs. |
Quickstart
curl -s "https://api.indieapis.com/v1/global-football-data/momentum?fixture=1557485" \ -H "X-IndieAPIs-Key: ia_live_your_key_here"
JavaScript / Fetch
const res = await fetch(
"https://api.indieapis.com/v1/global-football-data/momentum?fixture=1557485",
{ headers: { "X-IndieAPIs-Key": process.env.INDIEAPIS_API_KEY } }
);
const { response } = await res.json();
console.log(response[0].xg, response[0].momentum);
CLI
import os, requests
res = requests.get(
"https://api.indieapis.com/v1/global-football-data/momentum",
params={"fixture": 1557485},
headers={"X-IndieAPIs-Key": os.environ["INDIEAPIS_API_KEY"]},
timeout=15,
)
print(res.json())
Sample response
{
"get": "momentum",
"parameters": {
"fixture": "1557485"
},
"results": 1,
"response": [
{
"fixture": {
"id": 1557485
},
"xg": {
"home": 2.14,
"away": 0.78
},
"momentum": [
{
"minute": 1,
"value": 18
},
{
"minute": 2,
"value": 34
},
{
"minute": 3,
"value": -12
}
],
"shotmap": [
{
"minute": 14,
"team": "home",
"x": 91.4,
"y": 48.2,
"xg": 0.38,
"outcome": "goal"
}
]
}
]
}
Common Use Cases
Live Match Center & Momentum Charts
Render minute-by-minute pressure bar charts and shotmaps in sports apps and live score websites.
Betting & Pre/In-Play Analytics Models
Combine expected goals (xG), shots on target, and player match ratings to evaluate underlying team performance.
AI Match Recap & Commentary Agents
Give LLMs real xG, momentum swings, and event timelines via MCP so post-match summaries cite real numbers.
Related Football Data Guides
Global Football Data API (All 24 Endpoints)
Interactive browser playground, live responses, full pricing tiers, and instant unified API key.
DirectorySupported Leagues & League IDs
Searchable directory of 1,800+ football leagues & cups with exact API league IDs (Premier League 39, UCL 2, La Liga 140...).
ScoutingPlayer Market Value & Transfers API
Access historical player valuations (Transfermarkt & FotMob) and full club-to-club transfer & loan histories.
AI AgentsFootball MCP Server for Claude & Cursor
Connect all 24 football endpoints directly to Claude Desktop, Claude Code, Cursor, or OpenClaw with $0 overage caps.
Questions
How do I find a fixture ID to pass to GET /momentum?
Call GET /fixtures?date=YYYY-MM-DD or GET /fixtures?league=39&season=2026 first. Every fixture object returns fixture.id, which you pass directly to /momentum?fixture=<id>.
Is the /momentum endpoint included in the Free plan?
Yes. The $0 Free plan includes 500 calls/month across all 24 endpoints including /momentum, /fixtures/statistics, and /fixtures/players with a strict hard cap ($0 overage fees).
What else comes back alongside expected goals (xG)?
GET /momentum returns xg (home and away expected goals), momentum (minute-by-minute pressure values), and shotmap (shot locations and outcomes when available for the match).