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 Margins

Provides the average match margin statistics of the team in the tournament.

Basketball API Match Margins 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
teamIdINTR{teamId}The id of the team.

Response Output

Response Output Definitions

team

DataTypeExampleDescription
nameSTRChicago BullsName of the team
shortNameSTRCHIShort name of the team
mediumNameSTRBullsMedium name of the team
idINT104ID of the team
country
DataTypeExampleDescription
nameSTRU.S.AThe name of the country
shortNameSTRUSAThe short name of the country
idINT18The id of the country
h2h
matchMargins
overall/home/away
halfTime/ordinaryTime/finalTime
DataTypeExampleDescription
winCountINT1Win count of the team
loseCountINT5Lose count of the team
matchCountINT15Total match count of the team
winningMarginSTR46.88Average Winning margin of the team
losingMarginSTR1Average Losing margin of the team
winningPercentageDEC5Average Winning percentage of the team
losingPercentageDEC15Average Losing percentage of the team
margins
DataTypeExampleDescription
fromINT1Starting range of the margin
toINT5Ending range of the margin
winINT15Win count of the range
loseSTR46.88Lose count of the range
2019 - Broadage Sports All rights reserved