---
title: "Get all players"
method: GET
path: "/nba/players"
tags: ["NBA, NCAAB.Players"]
---

# Get all players

`GET /nba/players`

## Request

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

> Refresh interval: 15 minutes

> Route returns only general player information. For additional player details check the `players/{playerId}` and `players/{playerId}/statistics` routes. 

Retrieve a list of players based on the requested query parameters. 

Returned results will be paginated. The `limit` parameter defines what the number of returned players will be. If the number of actual players is above the `limit` value you can make subsequent requests by increasing the `offset` value.

## Query parameters

- `name` string
- `limit` number
- `offset` number

## Headers

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

## Response `200`

- NbaNcaaPlayerPaginatedResponseDto
  - `data` NbaNcaaPlayerResponseDto[], required
    - `id` number, required
    - `fullName` string
    - `logo` string
  - `pagination` PaginationResponseDto, required
    - `totalCount` number, required: Available number of items, relevant to the provided query.
    - `offset` number, required
    - `limit` number, required
  - `plan` PlanResponseDto, required
    - `tier` string, required: Your current API subscription tier.
    - `message` string, required: Explanation message regarding your current tier.

## 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)
