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

# Player Games



## OpenAPI

````yaml /openapi.json get /v1/players/{steamid}/games
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/{steamid}/games:
    get:
      tags:
        - players
      summary: Player Games
      operationId: player_games_v1_players__steamid__games_get
      parameters:
        - name: steamid
          in: path
          required: true
          schema:
            type: string
            title: Steamid
        - name: map
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Map
        - name: tournament_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Tournament Id
        - name: date_from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            title: Date From
        - name: date_to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            title: Date To
        - name: include_incomplete
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Include Incomplete
        - 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
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_PlayerGame_'
        '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'
        '404':
          description: Not found
          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_PlayerGame_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PlayerGame'
          type: array
          title: Data
        meta:
          $ref: '#/components/schemas/PageMeta'
      type: object
      required:
        - data
        - meta
      title: Page[PlayerGame]
    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'
    PlayerGame:
      properties:
        game_id:
          type: integer
          title: Game Id
        match_id:
          type: integer
          title: Match Id
        start_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Start Time
        map:
          type: string
          title: Map
        team_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Team Id
        rounds_played:
          anyOf:
            - type: integer
            - type: 'null'
          title: Rounds Played
        kills:
          type: integer
          title: Kills
        deaths:
          type: integer
          title: Deaths
        assists:
          anyOf:
            - type: integer
            - type: 'null'
          title: Assists
        adr:
          anyOf:
            - type: number
            - type: 'null'
          title: Adr
        hs_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Hs Pct
        kast:
          anyOf:
            - type: number
            - type: 'null'
          title: Kast
        first_kills:
          anyOf:
            - type: integer
            - type: 'null'
          title: First Kills
        first_deaths:
          anyOf:
            - type: integer
            - type: 'null'
          title: First Deaths
        won:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Won
      type: object
      required:
        - game_id
        - match_id
        - map
        - kills
        - deaths
      title: PlayerGame
    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.