Matches Analysis
Update Time: 2022-03-25 17:07
Introduction
• This API endpoint returns match analysis data for the past 7 days and the next 7 days.
• The data includes Head to Head of the home team and away team, last match and future schedule.
• The data is cached for 24 hours without frequent updates.
• Data presentation:https://www.thscore.vip/match/h2h-2028163/
Related Plans
You can use this api by subscribing plans: Stats.
Request
- Path: /basketball_th/analysis.aspx
- Method: GET
- Calls: This interface is limited to 1 second/call.
- Recommend Calls: 6 hour/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
matchId | int | true |
Response
Parameter | Value | Description | |
---|---|---|---|
headToHead | list | Return up to the
last 20 matches. Each string contains all parameters below, separated by comma. |
|
matchId | string | ||
leagueId | string | ||
league | string | ||
color | string | Used to distinguish between different leagues, e.g. #FF0000 | |
matchTime | date | e.g. 2019-11-09 09:30 | |
matchType | string | Regular、Playoffs、Preseason、undefined | |
homeTeamId | string | ||
home | string | ||
awayTeamId | string | ||
away | string | ||
homeScore | int | ||
homeHalfScore | int | ||
awayScore | int | ||
awayHalfScore | int | ||
result | int | MoneyLine. 1 : win 0: draw -1: loss |
|
scoreGap | string | Margin. | |
spread | string | Spread odds | |
spreadResult | int | 1: Winning
result 0: Void result -1: Losing result |
|
total | string | ||
totalOdds | string | ||
totalResult | int | 1:Over result 0:Void result -1:Under result |
|
homeLastMatches | list | The same as
HeadToHead. Return up to the last 20 games. Each string contains all parameters below, separated by comma. |
|
awayLastMatches | list | The same as
HeadToHead. Return up to the last 20 games. Each string contains all parameters below, separated by comma. |
|
homeSchedule | list | Return to the team's
last 3 matches and the next 3 matches. Each string contains all of the following parameters, separated by commas. |
|
matchId | string | ||
leagueId | string | ||
league | string | ||
color | string | Used to distinguish between different leagues, e.g. #FF0000 | |
matchTime | date | e.g. 2019-11-09 09:30 | |
homeTeamId | string | ||
home | string | ||
score | string | Past match returns
scores, e.g. 120-103. Future match returns “vs”. |
|
awayTeamId | string | ||
away | string | ||
day | string | The span days between the next match and the current match. | |
awaySchedule | list | The same as HomeSchedule. |