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 Result Statistics

Provides the result list of the last 20 matches between the two teams in overall, with home and away filters.

Basketball Result Statistics 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 
 Teams Informations  The informations of teams in the tournament. You can find list of the teams from Tournament Teams endpoint 

Call Rate / Interval

 Recommended API Call Interval: 2 Requests / Day   Daily Max API Call: 4 Requests 

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
idINT1456414The id of the match
dateDATE/STR31/10/2020 17:30:00The kick-off date of the match, also includes the time
tournament
DataTypeExampleDescription
nameSTRNBAThe full name of the tournament
shortNameSTRNBAThe short name of the tournament
idINT9aThe id of the tournament
homeTeam/awayTeam
DataTypeExampleDescription
nameSTROklahoma City ThunderThe full name of the homeTeam/awayTeam
shortNameSTROKCThe short name of the homeTeam/awayTeam
mediumNameSTRThunderThe medium name of the homeTeam/awayTeam
idINT121The id of the homeTeam/awayTeam
status
DataTypeExampleDescription
nameSTRFull TimeThe name of the status
shortNameSTRFTThe short name of the status
idINT5The id of the status
h2h
resultStatistics
overall/home/away
halfTime/ordinaryTime/finalScore
homeTeam/awayTeam
DataTypeExampleDescription
winINT11Total win count of the home/away team
winningPercentageINT55.00Winning percentage of the homeTeam/awayTeam
drawINT1Total draw count of the homeTeam/awayTeam
drawPercentageINT5.00Draw percentage of the homeTeam/awayTeam
loseINT8Total lose count of the homeTeam/awayTeam
losingPercentageINT40.00Lose percentage of the homeTeam/awayTeam
totalPointsScoredINT1025Total points scored from the homeTeam/awayTeam
averagePointsScoredINT51.25Average points scored from the homeTeam/awayTeam
winningMarginPerMatchINT10.36Average winning margin for the homeTeam/awayTeam
stage
DataTypeExampleDescription
nameSTRRegular SeasonThe name of the stage
shortNameSTRNSThe short name of the stage
idINT18074The id of the stage
round
DataTypeExampleDescription
nameSTRRound 19The name of the round
shortNameSTRW19The short name of the round
idINT19The id of the round
2019 - Broadage Sports All rights reserved