Player stats endpoint

Football Player Stats API

Fetch player statistics — goals, assists, minutes, cards, and shots — per season and per match for thousands of players.

Quick answer

The football player stats API returns per-player season and per-match statistics including goals, assists, appearances, minutes, yellow and red cards, and shots, joined to teams and competitions by ID.

GET /football/players/stats?competition_id=1&season=2025

Example request

const res = await fetch(
  "https://api.thestatsapi.com/api/football/players/stats?competition_id=1&season=2025",
  { headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const data = await res.json();
console.log(data);
JSON response
{
  "data": [
    {
      "player_id": 1101,
      "name": "Erling Haaland",
      "team": "Manchester City",
      "appearances": 19,
      "minutes": 1680,
      "goals": 21,
      "assists": 4,
      "shots": 78,
      "yellow_cards": 2
    }
  ],
  "meta": { "page": 1, "per_page": 25, "total": 540 }
}

Key response fields

player_id

Stable identifier for the player.

goals / assists

Attacking output for the season or match.

minutes

Total minutes played — useful for per-90 metrics.

shots

Total shots, a common model feature.

What you can build with the Football Player Stats API

Fantasy football scoring
Top scorer and assist leaderboards
Player comparison tools
Scouting and analytics dashboards

The Football Player 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

Do you provide per-match player stats?

Yes. Request stats by match_id for per-match breakdowns, or by competition and season for aggregated totals.

Which player stats are included?

Goals, assists, appearances, minutes, yellow and red cards, and shots. Availability varies by competition tier.

How do I build a top scorers list?

Fetch player stats for a competition and season, then sort by goals — see our player stats tutorial.

Pricing_Plans

Simple, Transparent Pricing

Every plan includes stats, odds, xG, history, and every documented endpoint.

Starter

$50/month

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
Most Popular

Growth

$129/month

For production apps with steady traffic

Everything in Starter, plus:

  • 500,000 requests/month
  • 300 requests/min
  • Priority support for production teams

Scale

$379/month

For high-volume, production-grade usage

Everything in Growth, upgraded to:

  • 5,000,000 requests/month
  • 1,000 requests/min
  • Dedicated support & SLA
Cancel anytime
7-day free trial on all plans

Build with the Football Player Stats API today

Start a 7-day free trial. Every endpoint and competition is included on every plan.

Get your API key