---
title: "Get a single player by id"
method: GET
path: "/api/v1/mlb/players/{id}"
tags: ["MLB"]
---

# Get a single player by id

`GET /api/v1/mlb/players/{id}`

## Request

- Base URL: `https://api.stat-api.com`
- URL: `https://api.stat-api.com/api/v1/mlb/players/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single players row.

- MLBPlayers: Every individual who has played in Major League Baseball — current 26-man and 40-man rosters, minor-league call-ups, players on the injured list, free agents, and retired players.
  - `bats` string, nullable
  - `birth_city` string, nullable
  - `birth_country` string, nullable
  - `birth_date` string, date, nullable
  - `birth_state` string, nullable
  - `debut_date` string, date-time, nullable
  - `display_fi_last` string, nullable
  - `display_last_comma_first` string, nullable
  - `draft_number` string, nullable
  - `draft_round` string, nullable
  - `draft_year` string, nullable
  - `first_name` string, required
  - `full_name` string, required
  - `full_position_list` string, nullable
  - `height` integer, nullable
  - `id` integer, required: Primary Key
  - `jersey` string, nullable
  - `last_name` string, required
  - `league_id` string, nullable: Official MLB player identifier
  - `league_player_id` integer, required: Official MLB player ID (issued by the league)
  - `league_slug` string, nullable
  - `position_category` string, nullable
  - `primary_position` string, required
  - `profile_pic_url` string, nullable: URL to player profile picture image
  - `roster_status` string, nullable: Canonical roster status, shared across leagues. Derived from team_player_rosters: "active" (26-man), "non_roster" (on the 40-man but optioned), "injured_reserve" (IL); "inactive"/"free_agent" off-roster. The "on a team now" set is {active, injured_reserve, non_roster}.
  - `school` string, nullable
  - `team_id` integer, nullable
  - `throws` string, nullable
  - `weight` integer, nullable

## Other responses

- `404`: Row not found.

---

[API](https://skmtc.dev/stat-api/apis/sports-db-public-api.md) · [All operations](https://skmtc.dev/stat-api/apis/sports-db-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stat-api/apis/sports-db-public-api/revisions/601ff9eaca3f?raw)
