Find a game by teams
find_gameResolve team names to an event ID for accessing game props. Enter home and away team names to find today's matching game.
Instructions
Resolve a matchup description (home and away team names) to an event id you can pass to get_game_props. Use this when you know the teams but not the event id. Returns { eventId } on success, or an error if no matching game is found for today's slate. Team names are matched case-insensitively and support partial names (e.g. "Yankees", "New York Yankees", "NYY" all work for MLB). If no game is found, the matchup may not be on today's board or the sport may be out of season.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| away | Yes | Away team name or abbreviation, e.g. "Red Sox", "GSW", "Buffalo Bills" | |
| home | Yes | Home team name or abbreviation, e.g. "Yankees", "LAL", "Kansas City Chiefs" | |
| sport | No | Sport id, e.g. mlb, nba, nfl. Defaults to the in-season sport. |