Get Player
get_playerFind a fantasy player by ESPN ID or case-insensitive name search across rosters and free agents for football, basketball, or baseball leagues.
Instructions
Look up one player by ESPN player id, or by a case-insensitive name substring search across rosters and free agents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| sport | No | ffl (football), fba (basketball), or flb (baseball). Defaults to ESPN_SPORT. | ffl |
| season | No | Season year. Defaults to ESPN_SEASON. | |
| league_id | No | ESPN league id. Defaults to ESPN_LEAGUE_ID. | 123456 |
| name_search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| locked | No | ||
| teamId | No | ||
| proTeam | Yes | ||
| position | Yes | ||
| injuryStatus | No | ||
| lineupSlotId | No | ||
| percentOwned | No | ||
| periodActual | No | ||
| lineupSlotName | No | ||
| eligibleSlotIds | Yes | ||
| periodProjection | No | ||
| seasonProjection | Yes | ||
| eligibleSlotNames | Yes |