The Football Stats API Built for Speed
Get instant access to football match data, player stats, and fixtures across 150 competitions, with up to 1,196 available on request. Start building in minutes with a fast, easy to use, and reliable API.
All the Football Data
You Need
Production-ready endpoints powering apps right now. Every feature is live on all plans.
Player Statistics
Season and career stats for 84,000+ players including goals, assists, appearances, minutes, cards, shots & more.
Match Statistics & Events
Live and finalized match stats: shots, xG, possession, passes, cards, goals, and minute-by-minute events.
Match Schedules & Results
Complete fixture lists and historical match results from all covered competitions.
Competition Data
150 competitions across 100+ countries — up to 1,196 available on request.
Complete Team Squads
Full squad information with player details, positions, and contract information.
Live Match Stats
Realtime scores, status, and match stats for supported live fixtures.
Advanced Analytics
Expected goals (xG), non-penalty xG (npxG), xA, and deep underlying metrics for every covered match.
Lineups
Confirmed pre-match and actual starting lineups with formations, substitutions, and team news.
Player Heatmaps
Positional heatmap data showing player movement and touch density across the pitch.
Live & pre-match odds from 5 bookmakers
We Ship Fast
Here's what's next. We're building in public. These endpoints are actively in development.
Extended Live Feeds
Broader live coverage, deeper in-play event feeds, and richer live match context.
See It In Action
Try our API live. Watch how easy it is to fetch comprehensive match data.
GET /football/matches/mt_010249745/statsfetch('https://api.thestatsapi.com/api/football/matches/mt_010249745/stats', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
.then(res => res.json())
.then(data => console.log(data));Hit "Run API Call" to see the response
Explore Our Endpoints
34 endpoints across 6 categories. All returning clean, paginated JSON.
🏆Competitions
5 endpoints available
/api/football/competitionsReturns football competitions (leagues, cups and international tournaments), 20 per page. Use it to find a `competition_id` by name or country. With `search`, the best match comes first. **Examples** - Find the Premier League: `GET /football/competitions?search=Premier` - English leagues: `GET /football/competitions?country_code=GB-ENG&type=league`
/api/football/competitions/{competition_id}Returns one competition with its `current_season_id` and flags for which data it has (team stats, player stats, odds, xG). Use `current_season_id` to fetch this season's matches, standings and stats. **Example:** `GET /football/competitions/comp_3039`
/api/football/competitions/{competition_id}/seasonsReturns every season of a competition, newest first, with its `season_id`. The season with `is_current: true` is the same as `current_season_id` on the competition. **Example:** `GET /football/competitions/comp_3039/seasons`
/api/football/competitions/{competition_id}/seasons/{season_id}/groupsReturns the groups (A to L) of a tournament season with a group stage, such as the FIFA World Cup, EURO, AFCON or the pre-2024 UEFA Champions League. Returns an empty list for competitions without groups, such as the Premier League. Pass a `group_label` to `/football/matches?group=` or to the standings `group` filter. Returns 400 if `season_id` belongs to a different competition. **Example:** `GET /football/competitions/comp_6107/seasons/sn_326766/groups` (World Cup 2022, groups A to H)
/api/football/competitions/{competition_id}/seasons/{season_id}/standingsReturns the league table for one competition season, one row per team, sorted by `position`. Group-stage tournaments return every group's table, sorted by `group_label` and then `position`; add `group` to get one group. Knockout-only cups (such as the FA Cup) return an empty list. Returns 400 if `season_id` belongs to a different competition. **Examples** - Premier League 2026/27: `GET /football/competitions/comp_3039/seasons/sn_8406098/standings` - World Cup 2022, Group A: `GET /football/competitions/comp_6107/seasons/sn_326766/standings?group=A`
Simple, Transparent Pricing
All stats data — fixtures, results, match & player stats, xG, and history.
Starter
For prototypes, side projects, and early products
Included in every plan:
- All football data endpoints included
- Pre-match & live odds endpoints
- Bet365, Pinnacle, Paddy Power, Betfair Sportsbook & 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
- 150 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
What You Can Build
From hobby projects to production apps. Here's what developers are building with TheStatsAPI.
Fantasy Football Apps
Build dynamic leagues powered by real player stats, season averages, and match-by-match scoring data.
Match Day Dashboards
Power scoreboards with realtime odds, live match stats, possession, goal events, and form tables.
Betting Analytics Tools
Run prediction models on 10 years of historical data, xG stats, head-to-head records, and team form.
Sports News Platforms
Enrich editorial content with team form, player profiles, competition data, and match reports.
Not sure where to start?
We'll get you there fast.
Describe what you want to build and our AI generates a ready-to-use prompt for your favourite AI coding tool. No API knowledge needed. Just your idea.
New to APIs? Get up and running without needing to know the technical details.
Experienced dev? Skip the boilerplate and go straight to building.
Frequently Asked Questions
Everything you need to know about TheStatsAPI
Still have questions?
Our support team is here to help you get started.
Ready to Power Your Sports App?
Start your 7-day free trial. All endpoints included on every plan.