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.
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
27 endpoints across 5 categories. All returning clean, paginated JSON.
🏆Competitions
5 endpoints available
/api/football/competitionsRetrieve a paginated list of football competitions
/api/football/competitions/{competition_id}Get competition details
/api/football/competitions/{competition_id}/seasonsReturns all seasons for the competition, newest first. The season with `is_current` true matches `current_season_id` on the competition detail response.
/api/football/competitions/{competition_id}/seasons/{season_id}/groupsReturns the groups present in the given competition + season pair, sorted A→L. Applies to competitions whose group stage is split across separate tournament rows (FIFA World Cup, EURO, AFCON, pre-2024 UEFA Champions League group stage, etc.). Returns an empty array for competitions without groups (Premier League, La Liga, etc.). The `group_label` value can be passed back into `/football/matches?group=` to filter matches.
/api/football/competitions/{competition_id}/seasons/{season_id}/standingsFlat list of standings rows sorted by `group_label` (null first, then A→L) and then `position` ascending. Linear leagues (Premier League, La Liga, …) return N rows with `group_label: null`. Group-stage tournaments (FIFA World Cup, EURO, AFCON, pre-2024 UEFA Champions League group stage) return N × G rows with `group_label` set. Knockout-only cups (FA Cup, …) return an empty array. Use `?group=` to slice to a single group.
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, 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
- 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.