Skip to content

ESPN API: Get player stats

Looks up an ESPN player by name and returns season and career statistics. Use a league to tell apart players with the same name, and a season year or label to pick a past season.

espn.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by ESPN.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

League optionalleague

League to distinguish players with the same name, for example NFL.

(default)

Player, requiredplayer

Player name, for example Patrick Mahomes.

Patrick Mahomes

Season optionalseason

Season year or season label, for example 2024 or 2024-25. Defaults to the latest available season.

(default)

Output

From a run on Oct 23, 2026, shortened for this page.
{  "age": 31,  "team": "Kansas City Chiefs",  "stats": [    {      "stat_name": "Games Played",      "career_value": 131,      "season_value": 5,      "stat_abbreviation": "GP"    },    {      "stat_name": "Completions",      "career_value": 3198,      "season_value": 105,      "stat_abbreviation": "CMP"    },    {      "stat_name": "Passing Attempts",      "career_value": 4831,      "season_value": 158,      "stat_abbreviation": "ATT"    }  ],  "height": "6' 2\"",  "league": "NFL",  "season": "2026",  "weight": "225 lbs",  "position": "Quarterback",  "player_id": "3139477",  "player_name": "Patrick Mahomes",  "jersey_number": "15",  "espn_player_link": "https://www.espn.com/nfl/player/_/id/3139477/patrick-mahomes",  "headshot_image_link": "https://a.espncdn.com/i/headshots/nfl/players/full/3139477.png"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
espn.com/get_player_stats
Returns
player profile, season and career stats

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method espn.com/get_player_stats with the inputs above.

Ask your agent

  • Can you pull up Patrick Mahomes' stats from the 2023 NFL season on ESPN?
  • I need LeBron James' career averages and this season's numbers, plus his profile info.
  • Look up Stephen Curry's 2024-25 NBA stats and tell me his career totals.
  • What were Justin Jefferson's receiving stats in 2022 in the NFL? Include career numbers too.
  • Find the MLB player Shohei Ohtani on espn.com and show his latest season and career stats.
  • Finds the latest game between two teams, or their game on a given date, in major US leagues, MLS or the EPL. Returns the score, scoring by period, leading players, team stats and player box scores.

    espn.com/get_game_summary
  • Returns a team's past results and upcoming games for a season on ESPN, with opponents, local start times, scores, broadcasts and venues. Soccer fixtures include all competitions shown for the team.

    espn.com/get_team_schedule
  • Gets ESPN scores and the schedule for a league on a local day. You can filter by team, and start times are shown in your time zone.

    espn.com/get_scores
  • Finds an ESPN league or team by name and lists the latest headlines ESPN publishes for it, newest first.

    espn.com/list_news
  • Looks up a Yahoo Sports player by name and returns the player's regular-season statistics for a season, alongside career totals. Each stat includes season and career values.

    sports.yahoo.com/get_player_stats
  • Gets a named NFL player's season and career stats, with profile details. Active players are preferred when names match.

    nfl.com/get_player_stats
  • Gets an MLB player's profile and regular-season hitting and pitching statistics for one season and for his career. Without a season it uses the current season, or the player's latest MLB season if he has no stats this year.

    mlb.com/get_player_stats
  • Looks up an NHL player by name, link or ID and returns the profile with regular-season stats for a season and career totals.

    nhl.com/get_player_stats