---
title: "Get standings"
method: GET
path: "/hockey/standings"
tags: ["Hockey.Standings"]
---

# Get standings

`GET /hockey/standings`

## Request

- Base URL: `https://sports.highlightly.net`
- URL: `https://sports.highlightly.net/hockey/standings`
- Auth: none declared. Required headers: `x-rapidapi-host`, `x-rapidapi-key`
- TypeScript: <https://skmtc.dev/highlightly/apis/sports-api-highlightly/docs/hockey/standings/get.ts> (a function with typed inputs; its response is checked against the schema)

> Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both `leagueId` and `season` query parameters to be specified before you can fetch the data. 

Below is an example on how you could render league associated standings

![Standings example](https://highlightly.net/assets/img/documentation/hockey/standings.png)

## Query parameters

- `leagueId` number, required
- `season` number, required

## Headers

- `x-rapidapi-host` string, required
- `x-rapidapi-key` string, required

## Response `200`

- HockeyStandingsResponseDto
  - `groups` HockeyStandingsGroupsResponseDto[], required
    - `name` string, required
    - `standings` HockeyStandingsDto[], required
      - `team` HockeyStandingsTeamDto, required
        - `id` number, required
        - `logo` string
        - `name` string, required
      - `position` number, required
      - `wins` number, required
      - `gamesPlayed` number, required
      - `loses` number, required
      - `scoredGoals` number, required
      - `winsOvertime` number, required
      - `losesOvertime` number, required
      - `receivedGoals` number, required
  - `league` HockeyStandingsLeagueResponseDto, required
    - `id` number, required
    - `logo` string
    - `name` string, required
    - `season` number, required

## Other responses

- `400`: Bad request descriptive error.
- `500`: Internal server error.

---

[API](https://skmtc.dev/highlightly/apis/sports-api-highlightly.md) - [All operations](https://skmtc.dev/highlightly/apis/sports-api-highlightly/llms.txt) - [OpenAPI document](https://skmtc.dev/highlightly/apis/sports-api-highlightly/revisions/c8a366d3091f?raw)
