AmericanFootballApi

פרמיום
על ידי REcodeX | מְעוּדכָּן il y a 23 jours | Sports
פּוֹפּוּלָרִיוּת

9.2 / 10

חֶבִיוֹן

563ms

רמת שירות

100%

Health Check

100%

חזרה לכל הדיונים

MatchOdds and how to relate them to a match

Rapid account: Jensenben 27
jensenben27
il y a 7 mois

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 il y a 7 mois

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות