get_player
Get a single player identity profile: name, sport, country, position/handedness, physical stats, current team, rankings (tennis {singles, points}; null on every other sport), and image_url (Lumify media URL, null until the sport's headshot/enrichment job). Raises a not-found error if player_id doesn't exist. Resolve ids via search_players.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_id | Yes | Player id, from search_players. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Lumify player ID. | |
| slug | No | URL-safe unique slug. | |
| sport | No | Sport slug, e.g. mlb, tennis, nfl. | |
| position | No | Roster position abbreviation when the sport has one (e.g. C, P, SS for MLB; QB, WR for NFL). Null for tennis and when not yet ingested. | |
| rankings | No | Sport ranking block. Tennis: {singles, points} from ATP/WTA standings. Null for every other sport. Tennis /stats also exposes ranking / ranking_points on the tennis player block. | |
| birthdate | No | YYYY-MM-DD date of birth. | |
| full_name | No | Display name. | |
| height_cm | No | Height in centimetres. Null when not ingested. | |
| image_url | No | Lumify media URL for the player headshot (https://lumify.ai/media/players/{sport}/{id}.{ext}). Null until the sport's headshot/enrichment job. Never a vendor CDN. | |
| is_active | No | False when deactivated or retired. | |
| last_name | No | ||
| weight_kg | No | Weight in kilograms. Null when not ingested. | |
| first_name | No | ||
| handedness | No | left | right | switch. Meaning is sport-specific (bats for MLB, shoots for NHL, playing hand for tennis). Null when unknown. | |
| retired_at | No | YYYY-MM-DD retirement date when known. | |
| country_code | No | ISO 3166-1 alpha-3 country code. | |
| current_team_id | No | Lumify team ID when the player is on a club roster. Null for tennis. | |
| current_team_name | No | Current team display name. Null for tennis. |