# NHL API

> Returns NHL standings, schedules, rosters, scores, game details with goals, and box scores.

Category: Sports & Gaming. Region: US. 19 endpoints at `https://api.hoshime.com/v1/nhl/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/nhl
## GET /v1/nhl/standings

The current NHL standings of every team: division, conference, points and record.

Scope: `social:read` · Units: 1 · Cached: 15 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Standing[]), `items[].abbreviation` (string), `items[].conference` (string), `items[].division` (string), `items[].gamesPlayed` (integer (int64)), `items[].goalsAgainst` (integer (int64)), `items[].goalsFor` (integer (int64)), `items[].losses` (integer (int64)), `items[].otLosses` (integer (int64)), `items[].points` (integer (int64)), `items[].streak` (string), `items[].team` (string), `items[].wins` (integer (int64)), `updatedAt` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/standings" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/standingsOnDate

The NHL standings of every team on one past day, as they stood after that day's games.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `date` | string | yes | Day as YYYY-MM-DD, such as 2025-03-01. (e.g. 2025-03-01) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Standing[]), `items[].abbreviation` (string), `items[].conference` (string), `items[].division` (string), `items[].gamesPlayed` (integer (int64)), `items[].goalsAgainst` (integer (int64)), `items[].goalsFor` (integer (int64)), `items[].losses` (integer (int64)), `items[].otLosses` (integer (int64)), `items[].points` (integer (int64)), `items[].streak` (string), `items[].team` (string), `items[].wins` (integer (int64)), `updatedAt` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/standingsOnDate?date=2025-03-01" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/schedule

The NHL games of the week of a day: start time, state, teams, scores and venue.

Scope: `social:read` · Units: 1 · Cached: 5 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `date` | string | no | Day such as 2024-10-15, or now for the current week. Defaults to now. (e.g. 2024-10-15) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `away` (string), `awayScore` (integer (int64)), `date` (string), `home` (string), `homeScore` (integer (int64)), `id` (string), `startsAt` (string), `state` (string), `venue` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/schedule?date=2024-10-15" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/roster

The current roster of an NHL team: forwards, defensemen and goalies with their numbers.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `team` | string | yes | Team abbreviation, such as TOR. (e.g. TOR) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `bornIn` (string), `bornOn` (string), `heightInches` (integer (int64)), `id` (string), `name` (string), `number` (integer (int64)), `position` (string), `shoots` (string), `weightPounds` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/nhl/roster?team=TOR" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/scores

The games of one day with their state and score. Omit date for today.

Scope: `social:read` · Units: 1 · Cached: 1 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `date` | string | no | Day such as 2024-10-15, or now for today. Defaults to now. (e.g. 2024-10-15) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `away` (string), `awayScore` (integer (int64)), `date` (string), `home` (string), `homeScore` (integer (int64)), `id` (string), `startsAt` (string), `state` (string), `venue` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/scores?date=2024-10-15" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/game

One game: teams with score and shots, venue, and every goal with its scorer and assists.

Scope: `social:read` · Units: 1 · Cached: 1 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `gameId` | string | yes | 10-digit NHL game id, such as 2024020001. The scores and schedule endpoints list them. (e.g. 2024020001) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `away` (GameTeam), `away.abbrev` (string), `away.name` (string), `away.score` (integer (int64)), `away.sog` (integer (int64)), `date` (string), `goals` (GoalPlay[]), `goals[].assists` (Assist[]), `goals[].period` (string), `goals[].scorer` (string), `goals[].shotType` (string), `goals[].strength` (string), `goals[].team` (string), `goals[].time` (string), `home` (GameTeam), `home.abbrev` (string), `home.name` (string), `home.score` (integer (int64)), `home.sog` (integer (int64)), `id` (string), `periodType` (string), `season` (string), `startsAt` (string), `state` (string), `venue` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/game?gameId=2024020001" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/boxscore

The player lines of one game for both teams: skaters with goals, assists and ice time, goalies with saves.

Scope: `social:read` · Units: 1 · Cached: 1 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `gameId` | string | yes | 10-digit NHL game id, such as 2024020001. The scores and schedule endpoints list them. (e.g. 2024020001) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `assists` (integer (int64)), `decision` (string), `goals` (integer (int64)), `goalsAgainst` (integer (int64)), `hits` (integer (int64)), `name` (string), `number` (integer (int64)), `pim` (integer (int64)), `playerId` (string), `plusMinus` (integer (int64)), `points` (integer (int64)), `position` (string), `savePct` (number (double)), `saves` (integer (int64)), `shots` (integer (int64)), `shotsAgainst` (integer (int64)), `team` (string), `timeOnIce` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/boxscore?gameId=2024020001" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/playByPlay

Every event of one game in order: faceoffs, shots, goals, hits, penalties, with the period, time and team. Pages of 100 events.

Scope: `social:read` · Units: 1 · Cached: 1 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `gameId` | string | yes | 10-digit NHL game id, such as 2024020001. The scores and schedule endpoints list them. (e.g. 2024020001) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `awayScore` (integer (int64)), `eventId` (string), `homeScore` (integer (int64)), `period` (integer (int64)), `playerId` (string), `situation` (string), `teamId` (string), `time` (string), `type` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/playByPlay?gameId=2024020001" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/teamSchedule

Every game of one team in a season, past and future, with its state and score.

Scope: `social:read` · Units: 1 · Cached: 15 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `team` | string | yes | Team abbreviation, such as TOR. (e.g. TOR) |
| `season` | string | no | Season id such as 20242025, or now for the current season. Defaults to now. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `away` (string), `awayScore` (integer (int64)), `date` (string), `home` (string), `homeScore` (integer (int64)), `id` (string), `startsAt` (string), `state` (string), `venue` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/teamSchedule?team=TOR" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/teamStats

The season statistics of every skater and goalie of one team in the regular season.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `team` | string | yes | Team abbreviation, such as TOR. (e.g. TOR) |
| `season` | string | yes | Season id such as 20242025. (e.g. 20242025) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `goalies` (GoalieStats[]), `goalies[].games` (integer (int64)), `goalies[].goalsAgainstAverage` (number (double)), `goalies[].id` (string), `goalies[].losses` (integer (int64)), `goalies[].name` (string), `goalies[].otLosses` (integer (int64)), `goalies[].savePct` (number (double)), `goalies[].shutouts` (integer (int64)), `goalies[].starts` (integer (int64)), `goalies[].wins` (integer (int64)), `season` (string), `skaters` (SkaterStats[]), `skaters[].assists` (integer (int64)), `skaters[].avgToi` (number (double)), `skaters[].games` (integer (int64)), `skaters[].goals` (integer (int64)), `skaters[].id` (string), `skaters[].name` (string), `skaters[].plusMinus` (integer (int64)), `skaters[].points` (integer (int64)), `skaters[].position` (string), `skaters[].shootPct` (number (double)), `skaters[].shots` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/nhl/teamStats?team=TOR&season=20242025" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/prospects

The prospects of one NHL team who are not on its roster yet: forwards, defensemen and goalies.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `team` | string | yes | Team abbreviation, such as TOR. (e.g. TOR) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `bornIn` (string), `bornOn` (string), `heightInches` (integer (int64)), `id` (string), `name` (string), `position` (string), `shoots` (string), `weightPounds` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/nhl/prospects?team=TOR" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/player

One player's profile: team, position, number, birth details, draft and career regular-season totals.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `player` | string | yes | NHL player id, such as 8478402 for Connor McDavid. The roster and leaders endpoints list them. (e.g. 8478402) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `active` (boolean), `assists` (integer (int64)), `bornIn` (string), `bornOn` (string), `draftOverall` (integer (int64)), `draftRound` (integer (int64)), `draftYear` (integer (int64)), `games` (integer (int64)), `goals` (integer (int64)), `headshot` (string), `heightInches` (integer (int64)), `id` (string), `name` (string), `number` (integer (int64)), `points` (integer (int64)), `position` (string), `shoots` (string), `team` (string), `weightPounds` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/nhl/player?player=8478402" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/playerGameLog

One player's line in every game of a season, in the regular season or the playoffs.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `player` | string | yes | NHL player id, such as 8478402 for Connor McDavid. The roster and leaders endpoints list them. (e.g. 8478402) |
| `season` | string | yes | Season id such as 20242025. (e.g. 20242025) |
| `gameType` | string | no | 2 for the regular season, 3 for the playoffs. Defaults to 2. (one of 2, 3; default 2; e.g. 2) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `assists` (integer (int64)), `date` (string), `gameId` (string), `goals` (integer (int64)), `homeAway` (string), `opponent` (string), `pim` (integer (int64)), `plusMinus` (integer (int64)), `points` (integer (int64)), `shots` (integer (int64)), `team` (string), `timeOnIce` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/playerGameLog?player=8478402&season=20242025&gameType=2" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/searchPlayers

Find NHL players by name, current and former, with their team and position.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Part of a player's name, such as mcdavid. (e.g. mcdavid) |
| `limit` | integer | no | Number of players, from 1 to 50. Defaults to 10. (default 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `active` (boolean), `id` (string), `name` (string), `number` (string), `position` (string), `team` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/searchPlayers?query=mcdavid" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/skaterLeaders

The regular-season leaders of one skater category in a season.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `season` | string | yes | Season id such as 20242025. (e.g. 20242025) |
| `category` | string | yes | goals, assists, points or plusMinus. (one of goals, assists, points, plusMinus; e.g. points) |
| `limit` | integer | no | Number of leaders, from 1 to 50. Defaults to 10. (default 10; e.g. 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `id` (string), `name` (string), `position` (string), `rank` (integer (int64)), `team` (string), `value` (number (double))

```bash
curl "https://api.hoshime.com/v1/nhl/skaterLeaders?season=20242025&category=points&limit=10" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/goalieLeaders

The regular-season leaders of one goalie category in a season.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `season` | string | yes | Season id such as 20242025. (e.g. 20242025) |
| `category` | string | yes | wins, savePctg, goalsAgainstAverage or shutouts. (one of wins, savePctg, goalsAgainstAverage, shutouts; e.g. wins) |
| `limit` | integer | no | Number of leaders, from 1 to 50. Defaults to 10. (default 10; e.g. 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `id` (string), `name` (string), `position` (string), `rank` (integer (int64)), `team` (string), `value` (number (double))

```bash
curl "https://api.hoshime.com/v1/nhl/goalieLeaders?season=20242025&category=wins&limit=10" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/playoffBracket

The playoff series of one season: round, teams, wins so far and the winner.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `year` | string | yes | Year the playoffs end in, such as 2024 for the 2023-24 playoffs. (e.g. 2024) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `bottom` (string), `bottomWins` (integer (int64)), `letter` (string), `round` (integer (int64)), `title` (string), `top` (string), `topWins` (integer (int64)), `winner` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/playoffBracket?year=2024" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/draftPicks

Every pick of one NHL entry draft: round, overall pick, team, player and his amateur club.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `year` | string | yes | Draft year, such as 2024. (e.g. 2024) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (DraftPick[]), `items[].club` (string), `items[].country` (string), `items[].overall` (integer (int64)), `items[].pickInRound` (integer (int64)), `items[].player` (string), `items[].position` (string), `items[].round` (integer (int64)), `items[].team` (string), `year` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/draftPicks?year=2024" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nhl/seasons

Every NHL season id since 1917, oldest first, such as 20242025.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string)

```bash
curl "https://api.hoshime.com/v1/nhl/seasons" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
