---
title: "Get player statistics by player id"
method: GET
path: "/nba/players/{id}/statistics"
tags: ["NBA, NCAAB.Players"]
---

# Get player statistics by player id

`GET /nba/players/{id}/statistics`

## Request

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

> Refresh interval: Once a day

Retrieve detailed player statistics for specified `playerId`.

Detailed player statistics are aggregated on a `perSeason` level. Each season has the following available coverage:

| Type               | Description                                                                 |
|--------------------|-----------------------------------------------------------------------------|
| Entire             | Combines both regular season and post-season statistics. Pre-season data is not included. |
| Season             | Includes only regular season statistics.                               |

The following stats are available:

| Type | Description |
|------|--------------|
| General | Overall player metrics including minutes, games, fouls, rebounds, ratios (assist-to-turnover, steal-to-foul, etc.), player rating, and per-game or per-48-minute averages.  |
| Defense | Stats tracking defensive impact such as steals, blocks, defensive rebounds, and their per-game and per-48-minute rates. |
| Offense | Metrics covering points, assists, field goals, 3-pointers, free throws, turnovers, efficiency ratings, and offensive rebound measures. |

![NBA, NCAA Player stats example](https://highlightly.net/assets/img/documentation/nba/player-stats.png)

## Path parameters

- `id` number, required

## Headers

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

## Response `200`

- NbaNcaaDetailedPlayerStatisticsResponseDto[]
  - `id` number, required
  - `fullName` string
  - `logo` string
  - `perSeason` NbaNcaaDetailedPlayerStatisticsPerSeasonDto[], required
    - `stats` NbaNcaaStatEntry[], required: Relevant stats for player position.
      - `name` string, required
      - `value` number, required
      - `category` 'General' | 'Defense' | 'Offense', required
    - `teams` NbaNcaaDetailedPlayerSummaryTeamDto[], required: Teams for which the player played in a given season.
      - `id` number, required
      - `logo` string
      - `name` string, required
      - `league` string, required
      - `displayName` string, required
      - `abbreviation` string, required
    - `league` string, required
    - `season` number, required
    - `seasonBreakdown` 'Entire' | 'Season', required: Represents the coverage for the stored statistics. Pre-season is never included.

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