What is the Mainline: In sports betting terms, the mainline is the line that the bookmaker has chosen to accept bets. For American football, the most popular markets for the Mainline are Under/Over including Overtime and Asian Handicap including Overtime.
The main line will be determined as the one with the smallest difference in bet prices after the full calculation process is completed.
The example below is from BWIN, whereby the lines marked in red is the chosen Mainline.
Here is another example from Pinnacle.
Lsports Trading Floor – What it looks likes when provided from the bookies site
When understanding what is the Mainline via the RMQ, message type 3 will contain the Mainline information. Message Type Name (3) is Market Update
{"Header": {"Type":3,"MsgSeq":81,"MsgGuid":"5ab202fc-5ff9-4c96-a79e-24b54622d4f6","CreationDate":"2022-10-04T07:28:46.74Z","ServerTimestamp":1664868526740 },"Body": {"Events": [ {"FixtureId":8601223,"Livescore":null,"Markets": [ {"Id":28,"Name":"Under/Over Including Overtime","MainLine":"43.5",// The mainline provided here is the average Mainline from the select providers."Bets": [ {"Id":3802194178601223,"Name":"Under","Line":"43.5","BaseLine":"43.5","Status":1,"StartPrice":"1.0","Price":"1.9","ProviderBetId":"0","LastUpdate":"2022-10-04T07:28:46.736Z" }, {"SuspensionReason":11,"Id":8990788308601223,"Name":"Over","Line":"44.5","BaseLine":"44.5","Status":2,"StartPrice":"1.0","Price":"2","ProviderBetId":"0","LastUpdate":"2022-10-04T07:28:46.736Z" } ] } ] } ] }}
Baseline and Line
EUROPEAN HANDICAPP Example
European handicap is a 3-way bet, similar to a 1X2 match result bet. That is why it is also found as “Single handicap” or “3-way handicap”. In any match with a significant difference in strength between the two teams, a handicap is placed on the outsider, to make it harder for the favorite to win the bet.
Here is a simple example for explanation:
* Handicap (-2) - You will win if your team wins the match with a goal difference of three or more.
* Tie (-2) - You will win if the team with (-2) Handicap wins the match by exactly 2 goals.
* Handicap (+2) - You will win if your team loses / draws / wins by 1 goal.
The Line in the code will tell you what the goal advantage is
The Baseline is used to indicate which team is getting the goal advantage (Home or Away)
Example:
Tottenham [HOME] (favorite) Vs. Eintracht[AWAY] (underdog)
The code below is a view before the match has kicked off and the selected provider is 1xBet
**Post Match result was 3-2
{"ProviderOdds": [ {"Id":145,"Name":"1XBet","LastUpdate":"2022-10-12T10:48:15.943Z","Bets": [ {"Name":"X","Line":"2:0","BaseLine":"0:2",// The baseline is 0:2 is used to indicate which team is getting the +2 advantage (away team).// If the score line was, 2:0, 3:1, etc, then the settlement would be a win// because you are betting on a draw with the away team to have +2 Goals. // Because the scoreline was 3:2, with the handicap, it will be 3:4 in favour of Frankfurt and therefore a loss.
"Status":1,"StartPrice":"4.838","Price":"4.4" }, {"Name":"X","Line":"3:0","BaseLine":"0:3",// Same as above with +3 goal in favor of Frankfurt. RESULT: Loss"Status":1,"StartPrice":"7.371","Price":"6.65" }, {"Name":"X","Line":"0:1","BaseLine":"1:0",// The baseline is 1:0 is used to indicate home team with +1// Advantage and for result to be a draw. If the score was 1-2,// then the result would be a win. RESULT: Loss"Status":1,"StartPrice":"9.01","Price":"8.0" }, {"Name":"1","Line":"2:0","BaseLine":"2:0",// The baseline is 2:0 means +2 advantage (home team).// With Handicap, result would be 5:2 and since Spurs won the game,// then result would be a win for bettor. RESULT: WIN"Status":1,"StartPrice":"1.106","Price":"1.01" }, {"Name":"X","Line":"5:0","BaseLine":"0:5","Status":1,"StartPrice":"20.543","Price":"19.0" }, {"Name":"1","Line":"0:3","BaseLine":"0:3",// The baseline is 0:3 means +3 advantage (away team) with result to be Home win.// If the Home team would have won by 4 goals or more, then you would win the bet.// Scoreline with Handicap is 3:5 - RESULT: Loss"Status":1,"StartPrice":"8.424","Price":"7.6" }, {"Name":"X","Line":"4:0","BaseLine":"0:4","Status":1,"StartPrice":"12.327","Price":"11.0" }, {"Name":"1","Line":"1:0","BaseLine":"1:0",// The baseline is 1:0 means +1 advantage (home team.// With Handicap, result would be 4:2 and since Spurs wonthe game,// then result would be a win for bettor. RESULT: Win"Status":1,"StartPrice":"1.205","Price":"1.07" }, {"Name":"2","Line":"0:2",// The baseline is 2:0 means +2 advantage (home team). // For the bettor to win, away team must win by 3 goals or more. RESULT: Loss"BaseLine":"2:0","Status":1,"StartPrice":"28.476","Price":"26.0" }, {"Name":"2","Line":"0:1","BaseLine":"1:0",// The baseline is 1:0 means +1 advantage (home team). // For the bettor to win, away team must win by 2 goals or more. RESULT: Loss."Status":1,"StartPrice":"16.894","Price":"15.0" }, {"Name":"2","Line":"5:0","BaseLine":"0:5",// The baseline is 0:5 means +5 advantage (Away team). // For the bettor to win, home team must win by 4 goals or less. RESULT: WIN."Status":1,"StartPrice":"1.092","Price":"1.01" }, {"Name":"2","Line":"4:0","BaseLine":"0:4",// The baseline is 0:4 means +4 advantage (Away team). // For the bettor to win, home team must win by 3 goals or less. RESULT: Win"Status":1,"StartPrice":"1.154","Price":"1.03" }, {"Name":"1","Line":"0:2","BaseLine":"0:2",// The baseline is 0:2 means +2 advantage (Away team). // For the bettorto win, home team must win by 3 goals or more. RESULT: Win"Status":1,"StartPrice":"4.311","Price":"3.92" }, {"Name":"2","Line":"3:0","BaseLine":"0:3",// The baseline is 0:3 means +3 advantage (Away team). // For the Bettor to win, home team must win by 2 goals or less. RESULT: Win"Status":1,"StartPrice":"1.341","Price":"1.21" }, {"Name":"1","Line":"0:4","BaseLine":"0:4",// The baseline is 0:4 means +4advantage (Away team). // For the Bettor to win, home team must win by 5 goals or more. RESULT: Loss"Status":1,"StartPrice":"19.05","Price":"17.0" }, {"Name":"2","Line":"2:0","BaseLine":"0:2",// The baseline is 0:2 means +2advantage (Away team). // For the Bettor to win, home team must win by 1 goals or less or draw. RESULT: Win"Status":1,"StartPrice":"1.781","Price":"1.62" }, {"Name":"X","Line":"0:2","BaseLine":"2:0",// The baseline is 2:0 means +2 advantage (Home team). // For the Bettor to win, away team must win by 2 goals only. RESULT: Loss"Status":1,"StartPrice":"16.428","Price":"15.0" }, {"Name":"1","Line":"0:5","BaseLine":"0:5","Status":1,"StartPrice":"28.111","Price":"26.0" } ] } ]}