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

# Team Matches



## OpenAPI

````yaml /openapi.json get /v1/teams/{team_id}/matches
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/teams/{team_id}/matches:
    get:
      tags:
        - teams
      summary: Team Matches
      operationId: team_matches_v1_teams__team_id__matches_get
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: integer
            title: Team Id
        - name: tournament_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Tournament Id
        - name: map
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Map
        - 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: 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_Match_'
        '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_Match_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/Match'
          type: array
          title: Data
        meta:
          $ref: '#/components/schemas/PageMeta'
      type: object
      required:
        - data
        - meta
      title: Page[Match]
    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'
    Match:
      properties:
        match_id:
          type: integer
          title: Match Id
        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
        team1_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Team1 Id
        team1_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Team1 Name
        team2_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Team2 Id
        team2_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Team2 Name
        score1:
          anyOf:
            - type: integer
            - type: 'null'
          title: Score1
        score2:
          anyOf:
            - type: integer
            - type: 'null'
          title: Score2
        stars:
          anyOf:
            - type: integer
            - type: 'null'
          title: Stars
        format:
          anyOf:
            - type: string
            - type: 'null'
          title: Format
        polymarket_event:
          anyOf:
            - type: string
            - type: 'null'
          title: Polymarket Event
          description: Polymarket event slug of the match winner market
        kalshi_event:
          anyOf:
            - type: string
            - type: 'null'
          title: Kalshi Event
          description: Kalshi event ticker of the match winner market (KXCS2GAME-...)
      type: object
      required:
        - match_id
      title: Match
    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.