Skip to content
API reference / Cricket
GET/cricket/matches/{id}

Get cricket match by ID

Returns a single cricket match: innings totals, toss, result

In preview, not in plans yetPay per call without a key: $0.005 in USDC

Parameters

  • idinteger · pathrequired

    Match ID

Response

JSON with success, the result in data, and where the endpoint pages its results meta.

  • dataobject
  • attributionstring

    Matches from Cricsheet's history (before the provider's feeds): the notice its licence (ODC-BY) asks for.

  • away_teamobject
  • idinteger
  • inningsarray of object
  • namestring
  • scorestring
  • end_datestring
  • formatstring

    Test, First-class, ODI, T20...

  • home_teamobject
  • idinteger
  • inningsarray of object
  • namestring
  • scorestring
  • idinteger
  • league_idinteger
  • league_namestring
  • match_idinteger
  • match_numstring
  • resultstring
  • seasonstring
  • sportstring
  • start_datestring
  • start_timestring
  • statusstring
  • tossstring
  • toss_winner_idinteger
  • venuestring
  • winner_idinteger
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

    Attribution a data source's licence asks for (Cricsheet's history).

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
400INVALID_PARAMA parameter is missing or wrong, and the message names it. Fix the request; do not retry it.
401UNAUTHORIZEDThe key is missing, mistyped or was rotated.
402x402 offersNo key and no valid payment: the body lists what to pay. Only a 200 answer is charged.
404NOT_FOUNDNo record with that id.

All errors have the shape described in Errors and limits.

Generated from the OpenAPI file, version 1.0. See it as JSON

Was this page helpful?