# Sports Reference API: Get player career statistics

> Finds a player on Basketball, Pro Football, Baseball or Hockey Reference and returns regular-season career statistics, awards and a season-by-season record.

Unofficial. Not affiliated with or endorsed by Sports Reference.

- Page: https://fous.com/methods/sports-reference.com/get-player-career
- Method: `sports-reference.com/get_player_career`, version 1
- Website: sports-reference.com
- Returns: player, sport, positions, teams, years active, awards, seasons with stats, career totals
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `sport` | string | no | `"hockey"` | Sport to search, for example basketball. All searches four sports and picks the strongest match. One of "all", "basketball", "football", "baseball", "hockey". Default "all". |
| `player` | string | yes | `"Wayne Gretzky"` | The player name, for example Michael Jordan. |

## Output

From a run on Oct 23, 2026, shortened. Its input:

```json
{
  "sport": "hockey",
  "player": "Wayne Gretzky"
}
```

Its output:

```json
{
  "sport": "hockey",
  "teams": [
    "INR",
    "EDO",
    "EDM"
  ],
  "player": "Wayne Gretzky",
  "seasons": [
    {
      "age": 18,
      "team": "INR / EDO",
      "games": 80,
      "goals": 46,
      "league": "WHA",
      "points": 110,
      "season": "1978-79",
      "assists": 64,
      "page_link": "https://www.hockey-reference.com/players/g/gretzwa01/gamelog/1979/",
      "plus_minus": 20,
      "shots_on_goal": 270
    },
    {
      "age": 19,
      "team": "EDM",
      "games": 79,
      "goals": 51,
      "league": "NHL",
      "points": 137,
      "season": "1979-80",
      "assists": 86,
      "page_link": "https://www.hockey-reference.com/players/g/gretzwa01/gamelog/1980/",
      "plus_minus": 14,
      "shots_on_goal": 284
    },
    {
      "age": 20,
      "team": "EDM",
      "games": 80,
      "goals": 55,
      "league": "NHL",
      "points": 164,
      "season": "1980-81",
      "assists": 109,
      "page_link": "https://www.hockey-reference.com/players/g/gretzwa01/gamelog/1981/",
      "plus_minus": 41,
      "shots_on_goal": 261
    }
  ],
  "positions": [
    "C"
  ],
  "player_code": "gretzwa01",
  "years_active": "1978-79 to 1998-99",
  "player_page_link": "https://www.hockey-reference.com/players/g/gretzwa01.html",
  "awards_and_honors": [
    "Hall of Fame",
    "4x Cup Winner",
    "9x Hart"
  ]
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"sports-reference.com/get_player_career","input":{"sport":"hockey","player":"Wayne Gretzky"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How many career points did LeBron James score across his NBA seasons?
- Show me Tom Brady's full career passing stats and season-by-season numbers on sports-reference.com.
- What awards has Ichiro Suzuki won during his baseball career, and what were his yearly batting averages?
- Pull up Wayne Gretzky's regular-season career totals, teams played for, and years active in hockey.
- Find Shaquille O'Neal's career stats, positions, and championships from the basketball reference data.

## Input schema

```json
{
  "type": "object",
  "required": [
    "player"
  ],
  "properties": {
    "sport": {
      "enum": [
        "all",
        "basketball",
        "football",
        "baseball",
        "hockey"
      ],
      "type": "string",
      "default": "all",
      "description": "Sport to search, for example basketball. All searches four sports and picks the strongest match."
    },
    "player": {
      "type": "string",
      "minLength": 1,
      "description": "The player name, for example Michael Jordan."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "player",
    "sport",
    "positions",
    "teams",
    "years_active",
    "player_page_link",
    "awards_and_honors",
    "seasons",
    "player_code"
  ],
  "properties": {
    "sport": {
      "type": "string"
    },
    "teams": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "player": {
      "type": "string"
    },
    "seasons": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "age": {
            "type": [
              "integer",
              "null"
            ]
          },
          "team": {
            "type": [
              "string",
              "null"
            ]
          },
          "games": {
            "type": [
              "integer",
              "null"
            ]
          },
          "league": {
            "type": [
              "string",
              "null"
            ]
          },
          "season": {
            "type": "string"
          },
          "page_link": {
            "type": "string"
          }
        }
      }
    },
    "positions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "player_code": {
      "type": "string"
    },
    "years_active": {
      "type": "string"
    },
    "player_page_link": {
      "type": "string"
    },
    "awards_and_honors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
```

## See more

- [Sports Reference API: List season leaders](https://fous.com/methods/sports-reference.com/list-season-leaders.md): Lists league leaders for a season and statistic in NBA basketball, NFL football, MLB baseball or NHL hockey. If no season is given, it uses the latest season with published leaders.
- [Yahoo API: Get player stats](https://fous.com/methods/sports.yahoo.com/get-player-stats.md): 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.
- [ESPN API: Get player stats](https://fous.com/methods/espn.com/get-player-stats.md): 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.
- [MLB API: Get player stats](https://fous.com/methods/mlb.com/get-player-stats.md): 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.
- [NBA API: Get player by name](https://fous.com/methods/nba.com/get-player.md): Looks up an NBA player by name, including retired players, and returns the bio and regular-season per-game averages for the reported season and career.
- [NHL API: Get player stats](https://fous.com/methods/nhl.com/get-player-stats.md): Looks up an NHL player by name, link or ID and returns the profile with regular-season stats for a season and career totals.
- [Premier League API: Get player stats](https://fous.com/methods/premierleague.com/get-player-stats.md): Looks up a Premier League player by name and returns the profile and either career totals or the stats for a chosen season. If names clash, a current Premier League player is preferred.
- [NFL API: Get player stats](https://fous.com/methods/nfl.com/get-player-stats.md): Gets a named NFL player's season and career stats, with profile details. Active players are preferred when names match.
- [All Sports Reference methods](https://fous.com/methods/sports-reference.com.md)
