NHL game shift chart

GET https://api.api.sh/nhl/v1/shifts
1 credit / call sports try it in the playground →

Every shift of every player in a game: player, team, period, shift number, start and end time, duration, and goal events. Filter by team.

Every response includes credits_used: the credits this call cost.

Part of the NHL API: 20 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
idrequired string Game id like 2025020100 from /nhl/v1/scores or /nhl/v1/schedule, or an nhl.com gamecenter link. Example: 2025020100
team string Team abbreviation (EDM, TOR, NYR ...).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/nhl/v1/shifts?id=2025020100" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"game_id": 2025020100,"applied_filters": {"team": null},"count": 769,"shifts": [{"id": 15611643,"detail_code": 0,"duration": "00:58","end_time": "02:38","event_description": null,"event_details": null,"event_number": 73,"first_name": "Ryan","game_id": 2025020100,"hex_value": "#111111","last_name": "Reaves","period": 1,"player_id": 8471817,"shift_number": 1,"start_time": "01:40","team_abbrev": "SJS","team_id": 28,"team_name": "San Jose Sharks","type_code": 517},{"id": 15611644,"detail_code": 0,"duration": "00:44","end_time": "06:00","event_description": null,"event_details": null,"event_number": 121,"first_name": "Ryan","game_id": 2025020100,"hex_value": "#111111","last_name": "Reaves","period": 1,"player_id": 8471817,"shift_number": 2,"start_time": "05:16","team_abbrev": "SJS","team_id": 28,"team_name": "San Jose Sharks","type_code": 517},"… 767 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.