AmericanFootballApi

부분 유료
분류별 REcodeX | 업데이트됨 23 days ago | Sports
인기

9.2 / 10

지연 시간

562ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

MatchOdds and how to relate them to a match

Rapid account: Jensenben 27
jensenben27
7 months ago

Hello, I’m trying to figure out how to use the Odds information from the MatchOdds endpoint.
I have the match
"id": 11275176,
“startTimestamp”: 1698970500,
“slug”: “tennessee-titans-pittsburgh-steelers”

and have called the matchOdds endpoint using the matchId and have received the following.

{
“markets”: [
{
“sourceId”: 145683649,
“structureType”: 1,
“marketId”: 1,
“marketName”: “Full time”,
“isLive”: false,
“fid”: 145683651,
“suspended”: false,
“id”: 1596600137,
“choices”: [
{
“initialFractionalValue”: “59/100”,
“fractionalValue”: “67/100”,
“sourceId”: 1481971269,
“name”: “1”,
“change”: 1
},
{
“initialFractionalValue”: “3/2”,
“fractionalValue”: “13/10”,
“sourceId”: 1481971264,
“name”: “2”,
“change”: -1
}
]
}
],
“eventId”: 11275176
}

I see 2 choices. Which choice relates to which team in the match, or is it something else completely?
Do odds also have Over/Under values or is it simply the betting odds for earn/stake? Any further documentation on how to use the values you are returning from bet365 would be appreciated.

Rapid account: Fluis Lacasse
fluis.lacasse Commented 7 months ago

Hello,
These choices reflect the names of the bets. Eg.: Normally 1 for full time market means home team win and 2 means away team win.

Thanks.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입