Money Line (80+ bookmakers)
Update Time: 2022-03-28 16:38
Introduction
• This interface is used to obtain the odds of nearly 100 European companies.
• Parameter
-No parameters: All the odds of 10
days from now.
-Parameter: day=n, All the odds of n
days from now(Maximum is 7).
-Parameter: date=yyyy-MM-dd All odds for the specified date of the match, Support to query the odds data for the next 10 days. ( GMT +0 00:00-23:59 )
-Parameter: min=5 Change data in the last
5 minutes (Recommend)
• Win rate and return rate calculation method:
- Home team win rate=(float)Math.Round(1/(1+home win odds/away win odds)*100,2);
- Away team win rate =(float)Math.Round(1/(1+away win
odds/home win odds)*100,2);
- Return rate=(float)Math.Round(home team win rate*home team odds,2);
• Data presentation:https://www.thscore.vip/basketball/1x2-432186/
Related Plans
You can use this api by subscribing plans: Odds.
Request
- Path: /basketball_th/odds/european/all.aspx
- Method: GET
- Calls: This interface is limited to 60 second/call.
- Recommend Calls: 2 minuste/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
day | int | false | Get the odds of all matches from today to the specified number of days in the future. |
date | string | false | Get the odds of all
matches on the specified date. format: yyyy-MM-dd |
min | int | false | Get the updated odds of the match within the specified minute. This parameter is recommended. eg. min=5 |
Response
Parameter | Value | Description | ||
---|---|---|---|---|
matchId | int | |||
matchTime | date | Match scheduled time, GMT +7 (Bangkok Time) | ||
leagueName | string | |||
homeName | string | |||
awayName | string | |||
odds | list | |||
oddsId | int | |||
changeTime | date | GMT +7 (Bangkok Time) | ||
oddsDetail | string array | Each string contains all parameters below, separated by comma. | ||
companyId | string | |||
companyName | string | |||
initialHome | string | |||
initialAway | string | |||
instantHome | string | |||
instantAway | string |