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

# Player Records

> Player head-to-heads and matchup records for the fixture.



## OpenAPI

````yaml /openapi.json get /cricket/api/v2/match/{matchId}/player-record
openapi: 3.1.0
info:
  title: SportSXAPI Cricket API
  version: 2.0.0
  description: >-
    Low-latency real-time cricket data API covering featured matches, live
    scores, scorecards, SSE streams, ball-by-ball commentary, fixtures, series,
    teams, stadiums, players, ICC rankings, news, and search.
servers:
  - url: https://apiv2.sportsxapi.com
    description: Paid Production API (Starter, Pro, Business, Ultra, and Custom plans)
  - url: https://api.sportsxapi.com
    description: Free Tier (3,000 req/mo) & Interactive Demo
security:
  - ApiKeyAuth: []
tags:
  - name: Live Matches
    description: >-
      Live match scores, scorecards, SSE stream, commentary, ball-by-ball,
      graphs, win probability, and matchup analytics.
  - name: Schedules
    description: >-
      Paginated v2 and v3 fixture schedules across international, league,
      domestic, and women matches.
  - name: Series & Tournaments
    description: >-
      Series listings, fixtures, squads, standings/points tables, and tournament
      venues.
  - name: Teams & Venues
    description: >-
      Team metadata, stats, schedules, recent form, squads, favorite teams, and
      stadium profiles.
  - name: Players
    description: Player career profiles, recent form, and fantasy performance metrics.
  - name: ICC Rankings
    description: >-
      Official men and women ICC batting, bowling, all-rounder, and team
      rankings.
  - name: News & Shorts
    description: >-
      Cricket editorial stories, full article details, and short-form mobile
      updates.
  - name: Search
    description: Typeahead player and team discovery endpoints.
paths:
  /cricket/api/v2/match/{matchId}/player-record:
    get:
      tags:
        - Live Matches
      summary: Player Records
      description: Player head-to-heads and matchup records for the fixture.
      operationId: match_playerrecord
      parameters:
        - name: matchId
          in: path
          required: true
          description: Match identifier.
          schema:
            type: string
            example: '100123'
      responses:
        '200':
          description: Successful Response (JSON)
          content:
            application/json:
              schema:
                type: object
              example:
                matchID: '98697'
                homeTeam:
                  teamID: '1038'
                  teamName: England Under-19s
                  playingXI:
                    - pos: 1
                      playerID: '155827'
                      playerName: Bertie Michael
                      playerNameShort: Bertie Michael
                      playerRole: Batsman
                      playerClubId: '1038'
                      playerClubName: ENG-U19
                      playerImage: null
                      captain: false
                    - pos: 2
                      playerID: '150040'
                      playerName: R Albert
                      playerNameShort: R Albert
                      playerRole: All-Rounder
                      playerClubId: '1038'
                      playerClubName: ENG-U19
                      playerImage: null
                      captain: true
                awayTeam:
                  teamID: '1148'
                  teamName: Pakistan Under-19s
                  playingXI:
                    - pos: 1
                      playerID: '152902'
                      playerName: Hamza Zahoor
                      playerNameShort: H Zahoor
                      playerRole: Wicket Keeper
                      playerClubId: '1148'
                      playerClubName: PAK-U19
                      playerImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2026/04/hamza-zahoor.png?_sxcdn=20260831
                      captain: false
                    - pos: 2
                      playerID: '120291'
                      playerName: Farhan Yousaf
                      playerNameShort: F Yousaf
                      playerRole: Batsman
                      playerClubId: '1148'
                      playerClubName: PAK-U19
                      playerImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2026/04/farhan-yousaf.png?_sxcdn=20260831
                      captain: true
                squads:
                  - teamID: '1038'
                    name: ENG-U19
                    teamShortName: ENG-U19
                    teamImage: null
                    logoUrl: null
                    squad:
                      - matchType: MATCH
                        playersArray:
                          - '[object]'
                          - '[object]'
                  - teamID: '1148'
                    name: PAK-U19
                    teamShortName: PAK-U19
                    teamImage: null
                    logoUrl: null
                    squad:
                      - matchType: MATCH
                        playersArray:
                          - '[object]'
                          - '[object]'
                topPick:
                  matchID: '98697'
        '401':
          description: Unauthorized - Missing or invalid X-API-Key header
          content:
            application/json:
              example:
                error: 'Unauthorized: Missing or invalid API key'
        '429':
          description: Too Many Requests - Rate limit or monthly quota exceeded
          content:
            application/json:
              example:
                error: Quota limit exceeded for current billing cycle
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your secret SportSXAPI key from https://dashboard.sportsxapi.com.

````

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