> ## Documentation Index
> Fetch the complete documentation index at: https://cs2-data-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Players

> Players by name (current nickname or any in-game name) or team, most recently seen first or alphabetically.



## OpenAPI

````yaml /openapi.json get /v1/players
openapi: 3.1.0
info:
  title: Granuleux
  description: >-
    Pro CS2 match data: matches, rounds, kills, per-hit damage, grenades, bomb
    events, sub-second player state and tick-level parquet downloads. Guides:
    see the docs site.
  version: 1.0.0
servers:
  - url: https://api.granuleux.com
security:
  - bearerAuth: []
paths:
  /v1/players:
    get:
      tags:
        - players
      summary: List Players
      description: >-
        Players by name (current nickname or any in-game name) or team, most
        recently seen first or alphabetically.
      operationId: list_players_v1_players_get
      parameters:
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                minLength: 2
              - type: 'null'
            title: Q
        - name: team_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Team Id
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: next_cursor from the previous page
            title: Cursor
          description: next_cursor from the previous page
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            description: page size (tier maximum applies)
            default: 50
            title: Limit
          description: page size (tier maximum applies)
        - name: format
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^(json|csv)$
              - type: 'null'
            description: json (default) or csv
            title: Format
          description: json (default) or csv
        - name: sort
          in: query
          required: false
          schema:
            type: string
            pattern: ^(recent|name)$
            description: recent (last seen first) or name (A-Z)
            default: recent
            title: Sort
          description: recent (last seen first) or name (A-Z)
        - name: pandascore_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: PandaScore player id
            title: Pandascore Id
          description: PandaScore player id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_Player_'
        '400':
          description: Bad or unknown parameter
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Missing or invalid key
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limit or daily quota reached; see Retry-After
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    Page_Player_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/Player'
          type: array
          title: Data
        meta:
          $ref: '#/components/schemas/PageMeta'
      type: object
      required:
        - data
        - meta
      title: Page[Player]
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          example: about:blank
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
    Player:
      properties:
        steamid:
          type: string
          title: Steamid
        nickname:
          anyOf:
            - type: string
            - type: 'null'
          title: Nickname
        hltv_player_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Hltv Player Id
        pandascore_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Pandascore Id
        team_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Team Id
        team_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Name
        games:
          anyOf:
            - type: integer
            - type: 'null'
          title: Games
        first_seen:
          anyOf:
            - type: string
            - type: 'null'
          title: First Seen
        last_seen:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Seen
      type: object
      required:
        - steamid
      title: Player
    PageMeta:
      properties:
        data_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Data Version
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        limit:
          type: integer
          title: Limit
      type: object
      required:
        - limit
      title: PageMeta
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `Authorization: Bearer <key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.