> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sportsapipro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Player Details

> Get detailed information for a hockey player

## Overview

Returns detailed player information including bio, statistics, team, and current season performance.

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.sportsapipro.com/v1/hockey/athletes?athletes=874" \
    -H "x-api-key: YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://api.sportsapipro.com/v1/hockey/athletes?athletes=874&fullDetails=true',
    { headers: { 'x-api-key': 'YOUR_API_KEY' } }
  );
  const { athletes } = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.sportsapipro.com/v1/hockey/athletes',
      params={'athletes': 874, 'fullDetails': True},
      headers={'x-api-key': 'YOUR_API_KEY'}
  )
  ```
</CodeGroup>

<Tip>
  Use the `/search` endpoint to find athlete IDs by player name.
</Tip>


## OpenAPI

````yaml openapi-hockey GET /athletes
openapi: 3.1.0
info:
  title: SportsAPI Pro - Hockey API
  description: >-
    Professional hockey data API providing live scores, team statistics, player
    stats, standings, betting odds, and more for NHL, KHL, and international
    hockey leagues worldwide.
  version: 1.0.0
  contact:
    name: SportsAPI Pro Support
    email: support@sportsapipro.com
servers:
  - url: https://api.sportsapipro.com/v1/hockey
    description: Path-based front door (recommended)
  - url: https://v1.hockey.sportsapipro.com
    description: Classic per-sport vanity host
security:
  - ApiKeyAuth: []
tags:
  - name: Games
    description: Live scores, fixtures, and match data
  - name: Competitions
    description: Leagues and tournaments
  - name: Standings
    description: League tables and rankings
  - name: Athletes
    description: Player statistics and data
  - name: Betting
    description: Betting lines, props, and predictions
  - name: Search
    description: Search entities
  - name: Account
    description: Account status and usage
paths:
  /athletes:
    get:
      tags:
        - Athletes
      summary: Player Details
      description: Get detailed information for a specific player
      operationId: getAthlete
      parameters:
        - name: athletes
          in: query
          required: true
          description: Player ID
          schema:
            type: integer
            example: 874
      responses:
        '200':
          description: Player details retrieved successfully
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your SportsAPI Pro API key

````