---
title: "Get all teams"
method: GET
path: "/nhl/teams"
tags: ["NHL, NCAAH.Teams"]
---

# Get all teams

`GET /nhl/teams`

## Request

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

Retrieve a list of teams that are supported by the API.

By utilising either `league`, `name`, `displayName` or `abbreviation` query parameters you can check whether a specific team exists or simply retrieve the associated data.

There are two other important query parameters. The `limit` parameter defines what the number of returned teams will be. If the number of actual teams is above the `limit` value you can make subsequent requests by increasing the `offset` value.

## Query parameters

- `name` string
- `displayName` string
- `abbreviation` string
- `league` string

## Headers

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

## Response `200`

- NhlTeamResponseDto[]
  - `id` number, required
  - `logo` string
  - `name` string
  - `displayName` string, required
  - `abbreviation` string, required
  - `league` string, 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)
