Cricket.Last Five Games

Get last five finished games for a specific team id

Refresh interval: Immediately once a game is considered finished

Retrieve a list of the last five finished games for a specific team. If a game was not finished (e.g. was cancelled or postponed) it will not be returned.

Specify teamId query parameter to retrieve the data. Endpoint is used to create a form section between two teams that are playing a match. Below is an example of what can be achieved:

Last five games example

get/cricket/last-five-games

Request

Query parameters

teamIdnumber required
Example:17838662

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

idstring required
endDatestring required
startDatestring required
startTimestring
formatstring

Cricket match format, e.g. T20, ODI, TEST

dayType'SINGLE' | 'MULTI'

Information that tells us whether the match will be played across multiple days

Example response

[
  {
    "id": "48514657",
    "endDate": "2024-01-13T00:00:00.000Z",
    "startDate": "2024-01-13T00:00:00.000Z",
    "startTime": "2024-01-13T14:30:00.000Z",
    "country": {
      "code": "AU",
      "name": "Australia",
      "logo": "https://example.com/logos/country/AU.png"
    },
    "awayTeam": {
      "id": "17838627",
      "logo": "https://example.com/logos/team/17838627.png",
      "name": "Melbourne Stars",
      "abbreviation": "MS"
    },
    "homeTeam": {
      "id": "17838627",
      "logo": "https://example.com/logos/team/17838627.png",
      "name": "Melbourne Stars",
      "abbreviation": "MS"
    },
    "league": {
      "id": "48513362",
      "season": 2023,
      "name": "Big Bash League",
      "logo": "https://example.com/logos/league/48513362.png"
    },
    "format": "T20",
    "dayType": "SINGLE",
    "state": {
      "description": "Finished",
      "report": "Renegades won by 6 wickets (with 16 balls remaining)",
      "teams": {
        "away": {
          "info": "17.2/20 ov, T:138",
          "score": "139/4"
        },
        "home": {
          "score": "137/8"
        }
      }
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.