First/Last Team To Score (pre-match)
Update Time: 2022-03-10 17:18
Introduction
This API endpoint returns the pre-match odds for the first team to score and the last team to score.
Related Plans
You can use this api by subscribing plans: Odds Pro.
Request
- Path: /football_th/odds/teamtoscore/prematch.aspx
- Method: GET
- Calls: This interface is limited to 10 second/call.
- Recommend Calls: 60 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 |
|---|---|---|
| matchId | int | |
| companyId | int | 1: Macauslot 3: Crown |
| odds | object | |
| firstIsHome | float | |
| firstIsAway | float | |
| lastIsHome | float | |
| lastIsAway | float | |
| noGoal | float | |
| changeTime | date | GMT +7 (Bangkok Time). |
