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

# Last Five

> Last five matches for each side in the fixture.



## OpenAPI

````yaml /openapi.json get /cricket/api/v2/match/{matchId}/team-last-five
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}/team-last-five:
    get:
      tags:
        - Live Matches
      summary: Last Five
      description: Last five matches for each side in the fixture.
      operationId: match_lastfive
      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:
                '0':
                  id: '1038'
                  lastFiveMatches:
                    - id: '97710'
                      displayOutput: null
                      result: Match Drawn
                      resultShort: Match Drawn
                      venueId: '47'
                      venueName: County Ground, Hove
                      venueCity: Brighton
                      winnerTeamId: null
                      winnerTeamName: South Africa Under-19s
                      loserTeamId: null
                      loserTeamName: null
                      winBy: null
                      marginValue: null
                      matchPlayer: null
                      matchStartDate: 17-07-2026
                      matchEndDate: 22-07-2026
                      againstTeamId: '1012'
                      againstTeamName: South Africa Under-19s
                      againstTeamShortName: SA-U19
                      againstTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/South-africa.png?_sxcdn=20260831
                      homeTeamId: '1038'
                      homeTeamName: England Under-19s
                      homeTeamShortName: ENG-U19
                      homeTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/England.png?_sxcdn=20260831
                      awayTeamId: '1012'
                      awayTeamName: South Africa Under-19s
                      awayTeamShortName: SA-U19
                      awayTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/South-africa.png?_sxcdn=20260831
                    - id: '97709'
                      displayOutput: null
                      result: South Africa Under-19s beat England Under-19s by 45 runs
                      resultShort: SA-U19 won by 45 runs
                      venueId: '55'
                      venueName: The Kent County Cricket Ground
                      venueCity: Beckenham
                      winnerTeamId: '1012'
                      winnerTeamName: South Africa Under-19s
                      loserTeamId: '1038'
                      loserTeamName: England Under-19s
                      winBy: r
                      marginValue: 45 runs
                      matchPlayer: null
                      matchStartDate: 10-07-2026
                      matchEndDate: 15-07-2026
                      againstTeamId: '1012'
                      againstTeamName: South Africa Under-19s
                      againstTeamShortName: SA-U19
                      againstTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/South-africa.png?_sxcdn=20260831
                      homeTeamId: '1038'
                      homeTeamName: England Under-19s
                      homeTeamShortName: ENG-U19
                      homeTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/England.png?_sxcdn=20260831
                      awayTeamId: '1012'
                      awayTeamName: South Africa Under-19s
                      awayTeamShortName: SA-U19
                      awayTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/South-africa.png?_sxcdn=20260831
                '1':
                  id: '1148'
                  lastFiveMatches:
                    - id: '70470'
                      displayOutput: null
                      result: Pakistan Under-19s beat Sri Lanka Under-19s by 9 wickets
                      resultShort: PAK-U19 won by 9 wickets
                      venueId: '261'
                      venueName: National Bank of Pakistan Sports Complex
                      venueCity: Karachi
                      winnerTeamId: '1148'
                      winnerTeamName: Pakistan Under-19s
                      loserTeamId: '1121'
                      loserTeamName: Sri Lanka Under-19s
                      winBy: w
                      marginValue: 9 wickets
                      matchPlayer: null
                      matchStartDate: 15-10-2023
                      matchEndDate: 20-10-2023
                      againstTeamId: '1121'
                      againstTeamName: Sri Lanka Under-19s
                      againstTeamShortName: SL-U19
                      againstTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/Sri-lanka.png?_sxcdn=20260831
                      homeTeamId: '1148'
                      homeTeamName: Pakistan Under-19s
                      homeTeamShortName: PAK-U19
                      homeTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/Pakistan.png?_sxcdn=20260831
                      awayTeamId: '1121'
                      awayTeamName: Sri Lanka Under-19s
                      awayTeamShortName: SL-U19
                      awayTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/Sri-lanka.png?_sxcdn=20260831
                    - id: '62591'
                      displayOutput: null
                      result: >-
                        Pakistan Under-19s beat Bangladesh Under-19s by 10
                        wickets
                      resultShort: PAK-U19 won by 10 wickets
                      venueId: '113'
                      venueName: Zahur Ahmed Chowdhury Stadium
                      venueCity: Chattogram
                      winnerTeamId: '1148'
                      winnerTeamName: Pakistan Under-19s
                      loserTeamId: '1010'
                      loserTeamName: Bangladesh Under-19s
                      winBy: w
                      marginValue: 10 wickets
                      matchPlayer: null
                      matchStartDate: 30-04-2023
                      matchEndDate: 05-05-2023
                      againstTeamId: '1010'
                      againstTeamName: Bangladesh Under-19s
                      againstTeamShortName: BAN-U19
                      againstTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/Bangladesh-10.png?_sxcdn=20260831
                      homeTeamId: '1010'
                      homeTeamName: Bangladesh Under-19s
                      homeTeamShortName: BAN-U19
                      homeTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/Bangladesh-10.png?_sxcdn=20260831
                      awayTeamId: '1148'
                      awayTeamName: Pakistan Under-19s
                      awayTeamShortName: PAK-U19
                      awayTeamImage: >-
                        https://cdn.sportxapi.com/assets/uploads/2023/05/Pakistan.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.