In-play Odds
Update Time: 2022-03-23 16:25
Introduction
• This API endpoint returns main market in-play odds, including: handicap、europeOdds、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 3: Crown 8: Bet365 12: Easybets 17: Mansion88 22: 10BET 23: 188bet 24: 12bet 31: Sbobet 35: Wewbet 42: 18bet 47: Pinnacle
• By using endpoints Schedule & Results
(Basic)
and Match Modify Record, you can get basic information of matches.
Request
- Path: /football_th/odds/inplay.aspx
- Method: GET
- Calls: This interface is limited to 5 second/call.
- Recommend Calls: 10 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 | |
homeScore | int | |
awayScore | int | |
homeRed | int | |
awayRed | int | |
type | int | 1: Handicap,
odds1-3:home win rate, handicap odds,away win rate; 2: Over/Under, odds1-3: Over rate, Over/Under odds, Under rate; 4: 1x2, odds1-3:home win rate,draw, away win rate; 3: All Closing, odds1-3:0 5: 1x2 Closing, odds1-3:0 6: Handicap Closing, odds1-3:0 7:Over/Under Closing, odds1-3:0 |
companyId | string | 1: Macauslot 3: Crown 4: Ladbrokes 7: SNAI 8: Bet365 9: William Hill 12: Easybets 14: Vcbet 17: Mansion88 19: Interwette 22: 10BET 23: 188bet 24: 12bet 31: Sbobet 35: Wewbet 42: 18bet 47: Pinnacle 48: HK Jockey Club |
odds1 | float | |
odds2 | float | |
odds3 | float | |
changeTime | date | Change time, GMT +7 (Bangkok Time) |