get_plays
Use for play-by-play events: goals, shots, misses, blocks, faceoffs, hits, giveaways, takeaways, penalties, with rink coordinates, strength state (5v5, 5v4), zone, and the players involved. Filter by game, season, team, player (any role), event type, strength, zone, or period. Requires at least one of game_id, season or player_id. Paginate with offset. Costs 10 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team abbreviation that owns the event (e.g. BUF) | |
| type | No | Event type | |
| zone | No | Zone: O offensive, N neutral, D defensive | |
| limit | No | Max events (default 200) | |
| league | No | League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl. | |
| offset | No | Pagination offset | |
| period | No | Period number (4+ is overtime) | |
| season | No | Season ID, 8-digit (e.g. 20242025). | |
| game_id | No | NHL game ID (e.g. 2025020887) | |
| strength | No | Skater strength from the event owner's view, e.g. 5v5, 5v4, 4v5 | |
| player_id | No | NHL player ID; matches the player in any role on the event | |
| shot_attempts_only | No | Only goals, shots on goal, missed shots and blocked shots (Corsi events) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| plays | Yes | ||
| summary | Yes | ||
| next_offset | Yes |