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

# Get Game

> One map played. Includes the roster (Steam ID, in-game name, HLTV id, team) and which datasets exist.



## OpenAPI

````yaml /openapi.json get /v1/games/{game}
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/games/{game}:
    get:
      tags:
        - games
      summary: Get Game
      description: >-
        One map played. Includes the roster (Steam ID, in-game name, HLTV id,
        team) and which datasets exist.
      operationId: get_game_v1_games__game__get
      parameters:
        - name: game
          in: path
          required: true
          schema:
            type: string
            title: Game
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/One_GameDetail_'
        '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:
    One_GameDetail_:
      properties:
        data:
          $ref: '#/components/schemas/GameDetail'
        meta:
          $ref: '#/components/schemas/Meta'
      type: object
      required:
        - data
        - meta
      title: One[GameDetail]
    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'
    GameDetail:
      properties:
        game_id:
          type: integer
          title: Game Id
        match_id:
          type: integer
          title: Match Id
        map_no:
          type: integer
          title: Map No
        map:
          type: string
          title: Map
        ct_start_team_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Ct Start Team Id
        ct_start_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Ct Start Name
        t_start_team_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: T Start Team Id
        t_start_name:
          anyOf:
            - type: string
            - type: 'null'
          title: T Start Name
        score_ct_start:
          anyOf:
            - type: integer
            - type: 'null'
          title: Score Ct Start
        score_t_start:
          anyOf:
            - type: integer
            - type: 'null'
          title: Score T Start
        winner_team_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Winner Team Id
        rounds:
          anyOf:
            - type: integer
            - type: 'null'
          title: Rounds
        complete:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Complete
        missing_rounds:
          anyOf:
            - items:
                type: integer
              type: array
            - type: 'null'
          title: Missing Rounds
        has_state:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Has State
        has_events:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Has Events
        has_ticks:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Has Ticks
        has_kill_detail:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Has Kill Detail
        valid:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Valid
        issues:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Issues
        polymarket_market:
          anyOf:
            - type: string
            - type: 'null'
          title: Polymarket Market
          description: Polymarket market slug of this map's winner market
        kalshi_event:
          anyOf:
            - type: string
            - type: 'null'
          title: Kalshi Event
          description: Kalshi event ticker of this map's winner market (KXCS2MAP-...)
        start_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Start Time
        tournament_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Tournament Id
        tournament_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Tournament Name
        roster:
          items:
            $ref: '#/components/schemas/RosterEntry'
          type: array
          title: Roster
      type: object
      required:
        - game_id
        - match_id
        - map_no
        - map
        - roster
      title: GameDetail
    Meta:
      properties:
        data_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Data Version
      type: object
      title: Meta
    RosterEntry:
      properties:
        steamid:
          type: string
          title: Steamid
        name_in_demo:
          anyOf:
            - type: string
            - type: 'null'
          title: Name In Demo
        nickname:
          anyOf:
            - type: string
            - type: 'null'
          title: Nickname
        hltv_player_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Hltv Player Id
        team_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Team Id
        team_name_in_demo:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Name In Demo
      type: object
      required:
        - steamid
      title: RosterEntry
  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.