logologo
WIDGETSAPIPRICINGCOVERAGESUPPORT

Basketball API Tech Docs

Tech Docs Index

  • Documentation+
  • Widgets+
  • Lookups+
  • Global API+
  • Soccer API+
  • Basketball API+
  • Football API+
  • Baseball API+
  • Ice Hockey API+
  • Volleyball API+
  • Handball API+
  • Table Tennis API+
  • Tennis API+

Basketball API Match Play by Play

Provides all match events during the match like free throw shots, 2 points shots, 3 points shots, assists, rebounds and other events.

Basketball Match Play by Play Request URL

GET

References / Dependencies

 Tournament ID  The id of the tournament. You can find list of the tournament from Tournament List endpoint 
 Stage / Round Structure  Stage / Round structures change tournament by tournament. You can find the structures with Tournament Id from Tournament Info endpoint 
 Matches from Fixture  Match Ids can be retrieved from The fixture of the tournament. You can find all matches of the tournament from Tournament Fixture endpoint 
 Matches from Match List  Match Ids can be retrieved from The Daily Match List. You can find all matches in 7-days period from Match List endpoint 

Call Rate / Interval

Recommended API Call Interval at live: 12 Request / Minute  Recommended API Call Interval at 1 hour after game end: 1 Request / Minute Recommended API Call Interval at more than 1 hour after game end: 4 Request / Hour 

Period by Period


quarter1, quarter2, quarter3, quarter4 and overtime containers occur when they starts. For example; if the match is in the 2nd Quarter, only quarter1 and quarter2 parts will have events in themselves.

Request Headers

DataTypeO / RExampleDescription
languageIdINTR{languageId}The id of the language that you select.
Ocp-Apim-Subscription-KeySTR
R{yourOcp-Apim-Subscription-Key}Your account key.
AcceptSTROapplication/xmlSelection of data presentation type as XML/JSON.
 *O= Optional, R= Required

Request Parameters

DataTypeO / RExampleDescription
matchIdINTR{matchId}The id of the match

Response Output

Response Output Definitions

match

DataTypeExampleDescription
idINT287131The id of the match
dateDATE/STR24/11/2018 00:00:00The date of the match
tournament
DataTypeExampleDescription
nameSTRNBAThe name of the tournament
shortNameSTRNBAThe short name of the tournament
idINT9The id of the tournament
stage
DataTypeExampleDescription
nameSTRRegular SeasonThe name of the stage
shortNameSTRNSThe short name of the stage
idINT16804The id of the stage
round
DataTypeExampleDescription
nameSTRRound 6The name of the round
shortNameSTRW6The short name of the round
idINT6The id of the round
homeTeam/awayTeam
DataTypeExampleDescription
nameSTRDetroit PistonsThe name of the home/away team for the match
mediumNameSTRPistonsThe short name of the home/away team for the match
shortNameSTRDETThe short name of the home/away for the match
idINT108The id of the home/away for the match
playByPlay
quarter1/quarter2/quarter3/quarter4/overTime
event
teamIdINT101Id of the event’s team
minuteINT10Minute of the game clock(remaining time at period) at event
orderNoINT56Order number of the all events in the match
homeTeamScoreSTR3Event score of the home team
awayTeamScoreSTR2Event score of the away team
periodINT1Period of the event
isScoringBLNtrueShows the scoring events
isStatusBLNtrueShows the status related events
secondSTR02.0Second of the game clock(remaining time at period) at event
idINT3434449the id of the comment
player
DataTypeExampleDescription
knownNameSTRGoalThe full name of the player
shirtNumberINT1The shirt number of the player
idINT6the id of the player
country
DataTypeExampleDescription
nameSTRU.S.AThe name of the country
shortNameSTRUSAThe short name of the country
idINT18The id of the country
type
DataTypeExampleDescription
nameSTR3PT MadeName of the event type
shortNameSTR3PMShort name of the event type
idINT5Id of the event type
2019 - Broadage Sports All rights reserved