AMERICAN LEAGUE

Red Sox 10, Yankees 2

Mookie Betts claimed the big-league batting title with one more hit and J.D. Martinez hit his 43rd homer to lead American League East champion host Boston into the playoffs with its franchise-record 108th win, a victory over the wild-card winning New York Yankees.

Five days before they might meet in the postseason for the first time since Boston's epic comeback in their cathartic 2004 World Series championship run, the teams ran out 41 players in a meaningless Game 162. Red Sox manager Alex Cora compared it to the final day of spring training.

Orioles 4, Astros 0

Host Baltimore ended a trying season with a salute to outfielder Adam Jones and a victory over Houston that could end up serving as a parting gift to manager Buck Showalter. Jimmy Yacabonis, Paul Fry (1-2) and Mychal Givens combined on a one-hitter against the AL West champions, who open the playoffs at home Friday against the Indians.

Mariners 3, Rangers 1

Roenis Elias allowed one hit in five innings, and host Seattle closed out the regular season with a win over Texas in what could be the final game of Adrian Beltre's career. The Texas third baseman has not announced whether this was his final season, although Sunday had the feeling of finality.

Angels 5, Athletics 4

Mike Scioscia ended his 19-year run as Los Angeles Angels manager with a win over playoff-bound host Oakland when Taylor Ward hit a tie-breaking, two-run homer in the ninth inning.

Scioscia, the longest-tenured manager in the major leagues, finished with a 1,650-1,428 record, including 80-82. He guided the franchise to its only World Series title in 2002.

Twins 5, White Sox 4

Joe Mauer received one more pitch as catcher for the Twins, and host Minnesota likely said goodbye to the longtime face of its franchise during an emotional win over Chicago.

Mauer, 35, was playing the final game of an eight-year, $184 million contract. He doubled into the left-center gap with a line drive of Juan Minaya in his final at-bat.

Rays 9, Blue Jays 4

Ryan Yarbrough got his rookie-leading 16th win and host Tampa Bay turned another bullpen game into its 90th victory, beating Toronto. The Rays (90-72) went to the unconventional plan of using relievers to start games in addition to traditional starters in mid-May due to injuries.

NATIONAL LEAGUE

Mets 1, Marlins 0

Noah Syndergaard pitched his first major-league shutout and host New York wrapped up a disappointing season with its second consecutive 1-0 victory over Miami.

Todd Frazier hit an RBI double for the Mets, who finished fourth in the NL East at 77-85 under rookie manager Mickey Callaway — a seven-win improvement over last year.

Dodgers 15, Giants 0

Justin Turner and free-swinging Los Angeles headed for a one-game showdown against Colorado to determine the NL West champion, jumping on host San Francisco from the start in a win for a weekend sweep.

The Rockies routed Washington 12-0 at Coors Field, setting up a tiebreaker at Dodger Stadium on Monday. The winner will get the division, the loser will go into the NL wild-card game Tuesday.

Phillies 3, Braves 1

Freddie Freeman, Nick Markakis and NL East champion Atlanta are set to open the playoffs on the road. All they need is an NL West champion to play.

Needing at least a win to have a shot at home field in the NLDS, the Braves lost to host Philadelphia.

Pirates 6, Reds 5

Pablo Reyes scored on Jackson Stephens' wild pitch in the top of the 10th inning, rallying Pittsburgh over host Cincinnati.

The Reds finished 67-95, their fourth straight season with at least 90 losses — the second-worst stretch in franchise history. Their first item in the offseason is choosing a next manager.

Padres 4, Diamondbacks 3

The deflated Diamondbacks concluded their disappointing September with a late miscue. Manuel Margot scored on a dropped third strike in the 10th inning to lift host San Diego.

The Diamondbacks, a playoff team last year who led the NL West on the first day of every month this season, ran out of steam to finish in third place, nine games behind the Dodgers and Rockies.

Cubs 10, Cardinals 5

Anthony Rizzo had four hits and scored three times, and host Chicago set up a tiebreaker game for the NL Central title by beating St. Louis.

Shortly after Milwaukee completed an 11-0 victory over Detroit, Jorge De La Rosa worked a hitless ninth inning to move the Cubs back into a tie with the Brewers at 95-67.

Rockies 12, Nationals 0

Playoff-bound host Colorado is headed to Los Angeles for a tie-breaking game to decide the NL West title after routing Washington behind Charlie Blackmon's cycle.

Tied atop the division with the Dodgers entering the last day, the Rockies won for the ninth time in 10 games, while Los Angeles routed San Francisco 15-0 to send the season to game 163.

INTERLEAGUE

Brewers 11, Tigers 0

Triple Crown contender Christian Yelich and host Milwaukee advanced to an NL Central tiebreaker against Chicago, putting themselves in that position with a romp over Detroit.

The Brewers will play the Cubs at Wrigley Field on Monday in a one-game matchup for the division title. The loser will host the NL wild-card game Tuesday vs. the loser of the Colorado-Los Angeles Dodgers tiebreaker in the NL West.