get_players
Fetch a Sleeper player-ID map to translate roster and draft IDs into names, teams, positions, status, and injuries. Filter by position and active status to keep the payload small.
Instructions
Fetch Sleeper's player-ID lookup map, optionally filtered.
The result maps player IDs found in rosters and draft picks to names, teams, positions, status, injuries, and external IDs. The unfiltered response is several megabytes and should generally be cached and called no more than once daily. Prefer position and active filters when a smaller lookup is enough.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Sleeper sport slug; use 'nfl' for the documented player map. | nfl |
| active | No | Set true to request only active players; omit to include inactive players too. | |
| position | No | Optional fantasy position such as QB, RB, WR, TE, K, or DEF. Omit for every position. |