In-play Odds
Update Time: 2022-05-30 10:30
Introduction
• This API endpoint returns in-play odds, including: handicap、overUnder.
• By default, it returns the updated in-play odds data for all matches in the past 3 minutes.
• The company ID corresponds to the company:
1:Macauslot;2:Easybets;3:Crown;8:Bet365;9:Vcbet;10:William Hill;20:Ladbrokes;31:Sbobet.
Related Plans
You can use this api by subscribing plans: Odds.
Request
- Path: /basketball_th/odds/inplay.aspx
- Method: GET
- Calls: This interface is limited to 3 second/call;
- Recommend Calls: 15 second/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
matchId | string | false | Get the data for the specified match. Max 50 Ids. |
companyId | string | false | Get the data for the specified company. When multiple companies are acquired at the same time, use "," to separate the companyId. e.g. companyId=3,8. |
Response
Parameter | Value | Description |
---|---|---|
recordId | int | |
matchId | int | |
matchTime | string | HT:Half-time OT:Overtime |
homeScore | int | |
awayScore | int | |
type | int | 1-Handicap,2-Over/Under,,4-Handicap Closing,5-Over/Under Closing |
companyId | int | 1:Macauslot 2:Easybets 3:Crown 8:Bet365 9:Vcbet 10:William Hill 20:Ladbrokes 31:Sbobet. |
odds1 | float | type=1 means home win rate, handicap odds,away win rate |
odds2 | float | type=2 means Over rate, Over/Under odds, Under rate |
odds3 | float | type=4, 5 are both 0 |
oddsType | int | 6-Full time, 3-Half time, 1-The first quarter, 2-The second quarter, 4-The third quarter, 5-The fourth quarter |
changeTime | date | Change time, GMT+7 |