Football Match Stats API
Get detailed per-match statistics — possession, shots, passes, corners, cards, and xG — for every covered fixture.
Quick answer
The football match stats API returns team-level statistics for a single match: possession, shots, shots on target, passes, corners, fouls, cards, and expected goals (xG) where available.
GET /football/matches/{match_id}/statsExample request
const res = await fetch(
"https://api.thestatsapi.com/api/football/matches/{match_id}/stats",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const data = await res.json();
console.log(data);{
"data": {
"match_id": "mt_10477",
"home": {
"team": "Liverpool", "possession": 58, "shots": 17,
"shots_on_target": 8, "corners": 9, "xg": 2.41
},
"away": {
"team": "Leicester City", "possession": 42, "shots": 7,
"shots_on_target": 3, "corners": 3, "xg": 0.88
}
}
}Key response fields
possessionBall possession percentage per team.
shots / shots_on_targetShot volume and accuracy.
cornersCorner counts — useful for corners markets.
xgExpected goals per team where available.
What you can build with the Football Match Stats API
The Football Match Stats API is part of TheStatsAPI, a single REST API covering 1,000+ football competitions with fixtures, results, standings, player and match stats, odds, and xG. Plans start at $50/month with a 7-day free trial and every endpoint included.
Frequently Asked Questions
Is xG included in match stats?
Yes, where available. The xg field appears per team for competitions with xG coverage.
How do I get stats for one match?
Call /football/matches/{match_id}/stats with the match_id from the fixtures or results endpoint.
When are match stats finalized?
Live stats update during the match; finalized stats settle within 1 to 2 hours of full time.
Simple, Transparent Pricing
Every plan includes stats, odds, xG, history, and every documented endpoint.
Starter
For prototypes, side projects, and early products
Included in every plan:
- All football data endpoints included
- Pre-match & live odds endpoints
- Bet365, Pinnacle, Betfair Exchange & Kambi odds
- 1X2, Asian handicap, totals, BTTS, DNB & corners
- Fixtures, results, match stats, teams & players
- xG, player season stats & team stats
- 10 years of historical match data
- Build with AI
- 80 competitions by default, up to 1,196 on request
- 100,000 requests/month
- 120 requests/min
- Email & chat support
Growth
For production apps with steady traffic
Everything in Starter, plus:
- 500,000 requests/month
- 300 requests/min
- Priority support for production teams
Scale
For high-volume, production-grade usage
Everything in Growth, upgraded to:
- 5,000,000 requests/month
- 1,000 requests/min
- Dedicated support & SLA
Build with the Football Match Stats API today
Start a 7-day free trial. Every endpoint and competition is included on every plan.
Get your API key