> ## 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 Recent Matches

> Recent fixtures for the player.



## OpenAPI

````yaml /openapi.json get /cricket/api/v2/player/{playerId}/recent
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/player/{playerId}/recent:
    get:
      tags:
        - Players
      summary: Player Recent Matches
      description: Recent fixtures for the player.
      operationId: player_recent
      parameters:
        - name: playerId
          in: path
          required: true
          description: Player identifier.
          schema:
            type: string
            example: '28181'
      responses:
        '200':
          description: Successful Response (JSON)
          content:
            application/json:
              schema:
                type: object
              example:
                all:
                  - homeTeamShortName: England
                    awayTeamShortName: India
                    homeTeamID: '490'
                    awayTeamID: '25'
                    matchDate: '1784419200000'
                    matchDateFormat: 19/07/2026
                    matchID: '95162'
                    matchType: ODI
                    opposition: England vs India
                    battingStats: 74(60)
                    bowlingStats: DNB
                    homeTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/ENG.webp?_sxcdn=20260831
                    awayTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/IND.webp?_sxcdn=20260831
                  - homeTeamShortName: England
                    awayTeamShortName: India
                    homeTeamID: '490'
                    awayTeamID: '25'
                    matchDate: '1784160000000'
                    matchDateFormat: 16/07/2026
                    matchID: '95161'
                    matchType: ODI
                    opposition: England vs India
                    battingStats: 65(66)
                    bowlingStats: DNB
                    homeTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/ENG.webp?_sxcdn=20260831
                    awayTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/IND.webp?_sxcdn=20260831
                t20:
                  - homeTeamShortName: India
                    awayTeamShortName: South Africa
                    homeTeamID: null
                    awayTeamID: null
                    matchDate: '1719619200000'
                    matchDateFormat: 29/06/2024
                    matchID: '72881'
                    matchType: T20
                    opposition: India vs South Africa
                    battingStats: 76(59)
                    bowlingStats: DNB
                  - homeTeamShortName: India
                    awayTeamShortName: England
                    homeTeamID: null
                    awayTeamID: null
                    matchDate: '1719446400000'
                    matchDateFormat: 27/06/2024
                    matchID: '72880'
                    matchType: T20
                    opposition: India vs England
                    battingStats: 9(9)
                    bowlingStats: DNB
                odi:
                  - homeTeamShortName: England
                    awayTeamShortName: India
                    homeTeamID: '490'
                    awayTeamID: '25'
                    matchDate: '1784419200000'
                    matchDateFormat: 19/07/2026
                    matchID: '95162'
                    matchType: ODI
                    opposition: England vs India
                    battingStats: 74(60)
                    bowlingStats: DNB
                    homeTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/ENG.webp?_sxcdn=20260831
                    awayTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/IND.webp?_sxcdn=20260831
                  - homeTeamShortName: England
                    awayTeamShortName: India
                    homeTeamID: '490'
                    awayTeamID: '25'
                    matchDate: '1784160000000'
                    matchDateFormat: 16/07/2026
                    matchID: '95161'
                    matchType: ODI
                    opposition: England vs India
                    battingStats: 65(66)
                    bowlingStats: DNB
                    homeTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/ENG.webp?_sxcdn=20260831
                    awayTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2025/09/IND.webp?_sxcdn=20260831
                test:
                  - homeTeamShortName: India
                    awayTeamShortName: Australia
                    homeTeamID: null
                    awayTeamID: null
                    matchDate: '1735776000000'
                    matchDateFormat: 02/01/2025
                    matchID: '74799'
                    matchType: Tests
                    opposition: India vs Australia
                    battingStats: 17(69) & 6(12)
                    bowlingStats: DNB
                  - homeTeamShortName: India
                    awayTeamShortName: Australia
                    homeTeamID: null
                    awayTeamID: null
                    matchDate: '1735084800000'
                    matchDateFormat: 25/12/2024
                    matchID: '74798'
                    matchType: Tests
                    opposition: India vs Australia
                    battingStats: 36(86) & 5(29)
                    bowlingStats: DNB
                t20Domestic:
                  - homeTeamShortName: Royal Challengers Bengaluru
                    awayTeamShortName: Gujarat Titans
                    homeTeamID: '646'
                    awayTeamID: '123216'
                    matchDate: '1780185600000'
                    matchDateFormat: 31/05/2026
                    matchID: '96877'
                    matchType: T20s
                    opposition: Royal Challengers Bengaluru vs Gujarat Titans
                    battingStats: 75(42)*
                    bowlingStats: DNB
                    homeTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2023/06/Rectangle-3348-2023-06-07T112223.720.png?_sxcdn=20260831
                    awayTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2022/03/Gujarat-Cricket-TeamLogo.png?_sxcdn=20260831
                  - homeTeamShortName: Royal Challengers Bengaluru
                    awayTeamShortName: Gujarat Titans
                    homeTeamID: '646'
                    awayTeamID: '123216'
                    matchDate: '1779753600000'
                    matchDateFormat: 26/05/2026
                    matchID: '96874'
                    matchType: T20s
                    opposition: Royal Challengers Bengaluru vs Gujarat Titans
                    battingStats: 43(25)
                    bowlingStats: DNB
                    homeTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2023/06/Rectangle-3348-2023-06-07T112223.720.png?_sxcdn=20260831
                    awayTeamImage: >-
                      https://cdn.sportxapi.com/assets/uploads/2022/03/Gujarat-Cricket-TeamLogo.png?_sxcdn=20260831
        '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.