Schedule & Results (Basic)
Update Time: 2022-03-24 17:24
Introduction
• This API endpoint returns the basic information of the match.
• The request path needs at least one parameter (date, leagueId, and matchId ) to retrieve correct response. These three parameters can
not be used at the same time.
• You can use it with the Match Modify
Record endpoint.
• Tips: You have access to all the basketball Common API endpoints with any valid paid basketball plans.
Request
- Path: /basketball_th/schedule/basic.aspx
- Method: GET
- Calls: This interface is limited to 60 second/call.
- Recommend Calls: 6 hour/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
date | string | false | yyyy-MM-dd, e.g. 2019-08-01. |
leagueId | int | false | |
season | string | false | Use with leagueID to
get the specified season, e.g. 18-19. Return to the current season by default |
matchId | string | false | Max 50 Ids. |
Response
Parameter | Value | Description |
---|---|---|
matchId | int | |
leagueId | int | |
leagueName | string | Short name, e.g. NBA. |
quarterCount | int | 2: the match has 2
quarter 4: the match has 4 quarter |
matchTime | date | Match scheduled time, GMT +7 (Bangkok Time) |
status | int | 0: Not started
1: The first quarter 2: The second quarter 3: The third quarter 4: The fourth quarter 5: The first OT 6: The second OT 7: The third OT 50: Half-time -1: Finished -2: TBD -3: Interrupted -4: Cancelled -5: Postponed |
homeId | int | |
homeName | string | |
awayId | int | |
awayName | string | |
homeScore | int | |
awayScore | int | |
explain | string | Return to the live text of the match, e.g. [Spurs][SAS] Team Timeout: Regular. |
neutral | boolean | Is it a neutral venue? |