Skip to content
GET/baseball/matches/{id}/play-by-play

Get match play-by-play

Play-by-play of a match from the provider's play-by-play feeds, as sent for that sport: NFL and NCAA football (drives with every play: clock, down and distance, yards, description), NBA, NCAA basketball, NHL, MLB, and tennis point by point (top matches). Read every 2 minutes while the league has a game on; 404 for matches without play-by-play.

In the plans that cover this sportPay 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
  • feed_match_idstring
  • match_idinteger
  • play_by_playobject
  • sportstring
  • statusstring
  • updated_atstring
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

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

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
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?