Search Players & Teams
searchFind NBA and NFL players or teams by name or abbreviation (accent- and typo-tolerant). Returns the numeric player_id or team_id of each match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Player or team name or abbreviation (e.g. "Jokic", "Lamar Jackson", "BOS"). | |
| league | No | Optional league filter ("nba" or "nfl"). Omit to search both leagues. |