ST. LOUIS: Harrison Bader tripled and homered to help the St. Louis Cardinals clinch a postseason berth on the final day of the regular season with a 5-2 win over Milwaukee, and the Brewers also earned a playoff spot Sunday via help on the West Coast moments later.
St. Louis (30-28) will be the fifth seed in the NL and open a three-game wild-card series at San Diego on Wednesday. By winning, the Cardinals avoided having to travel to Detroit for two makeup games Monday.
The Brewers (29-31) locked up the eighth seed and a third consecutive postseason berth after the Padres beat San Francisco 5-4 in a game that ended about 15 minutes later. The Giants finished with an identical record as the Brewers but lost out on a tiebreaker due to an inferior intradivision record.
Milwaukee will face the top-seeded Dodgers in Los Angeles in a three-game series that also starts Wednesday.
The Brewers havent had a winning record at any point this season. Milwaukee and Houston will be the first teams ever to qualify for the playoffs with a losing mark.
Giovanny Gallegos (2-0), Gnesis Cabera and Alex Reyes combined to pitch the final five innings. Reyes got his first save.
Brett Anderson (4-4) surrendered a triple to Bader and a walk to Tyler ONeill to start the third inning before departing with a blister on his left index finger. Anderson opened the season on the injured list with a blister on the same finger and did not make his debut until Aug. 3.
PADRES 5, GIANTS 4
SAN FRANCISCO: San Francisco had its postseason hopes dashed on the final day of the regular season, finishing 29-31 under first-year manager Gabe Kapler.
The Giants finished tied with Milwaukee for the eighth and final NL playoff spot but lost the tiebreaker.
Wil Myers homered in the second for San Diego (37-23), the NLs No. 4 seed, as the Padres prepare for their first postseason in 14 years. Theyll host a three-game series against St. Louis beginning Wednesday.
Trevor Rosenthal closed it out for his 11th save, retiring Austin Slater on a called third strike to end it. Slater put his hands on his head, and Giants players cursed from the dugout at plate umpire Rob Drake.
Mauricio Dubon homered in the bottom of the second for San Francisco, which also missed giving Drew Smyly (0-1) his first victory in five starts and seven appearances.
Dan Altavilla (2-3) relieved and pitched 1 2/3 innings for the win.
RAYS 5, PHILLIES 0
ST. PETERSBURG, Fla.: Rookie pitcher Josh Fleming allowed four hits over six innings and AL East champion Tampa Bay eliminated Philadelphia from the playoff race.
Philadelphia (28-32) needed a win over the Rays and losses by San Francisco and Milwaukee to earn its first playoff berth in nine years. The Brewers and Giants both lost, but the Phillies were unable to give themselves a chance.
Fleming (5-0) struck out five and walked one for the top-seeded Rays, who will face No. 8 seed Toronto in a best-of-three wild-card series that starts Tuesday at Tropicana Field. Oliver Drake, Aaron Loup and Ryan Sherriff completed a six-hitter.
Tampa Bay (40-20) has the ALs top record after reaching the postseason last season as a wild card. The Rays will host Toronto in a wild-card series starting Tuesday.
Pinch-hitter Kevan Smith had a run-scoring single in the second before Joey Wendle and Hunter Renfroe both had third-inning RBI hits off Aaron Nola (5-5) that put the Rays up 3-0. Nola gave up three runs and six hits in 3 2/3 innings
NATIONALS 15, METS 5
WASHINGTON: Juan Soto became the National Leagues youngest batting champion, Trea Turner hit a grand slam and drove in seven runs, and Washington beat New York.
Soto walked and singled before being lifted for a pinch hitter in the third inning, elevating his average to .351 and sealing the NL lead in the category. The 21-year-old surpassed Brooklyns Pete Reiser for the youngest ever to take a batting crown. Reiser was 22 when he ended the 1941 season hitting a league-leading .343.
Yan Gomes also homered for Washington, which closed the season on a three-game winning streak and caught the Mets in the NL East standings. The Nationals finished 26-34 a year after winning their first World Series.
Pete Alonso homered twice for 26-34 New York and finished with 16 after clubbing a rookie-record 53 last season. Guillermo Heredia added a solo shot for the Mets. The Nationals chased Mets starter Seth Lugo (3-4) after 1 1/3 innings.
Washington right-hander Austin Voth (2-5) needed 36 pitches to escape the first but made it through five innings to close his season with back-to-back victories. Voth allowed four runs while striking out four.
REDS 5, TWINS 3
MINNEAPOLIS: Tucker Barnhart and Eugenio Surez had RBI singles a three-run 10th inning, and Cincinnati beat Minnesota in a regular-season finale that determined postseason matchups.
Cincinnati (31-29) became the National Leagues seventh seed and will play No. 2 Atlanta starting Wednesday.
Minnesota (36-24) clinched its second straight American League Central title despite the defeat when the Chicago White Sox lost to the Cubs. The Twins host No. 6 Houston starting Tuesday.
Joey Votto had a based-loaded walk in the 10th for the Reds.
Raisel Iglesias (4-3) pitched 1 1/3 innings, allowing Marwin Gonzalezs RBI single in the bottom of the 10th..
Caleb Thielbar (2-1) started the 10th and got one out, then was replaced by Sergio Romo, who allowed the run-scoring hits and bases-loaded walks while failing to get any outs.
RANGERS 8, ASTROS 4
ARLINGTON, Texas: Houston is going into the playoffs with a losing record after Rougned Odor homered twice for Texas in a win, the third in a row for the Rangers over the defending American League champions.
Jose Altuve, Carlos Correa and Aledmys Diaz hit solo homers for the Astros (29-31), who went from a majors-best 107 wins last season to being the last AL team to clinch a berth in an expanded playoff during this pandemic-shortened season. They got in as the second-place team in the AL West.
Houston and Milwaukee also 29-31 are the first teams to ever qualify for the postseason with losing records.
Taylor Hearn (1-0), the third of seven Rangers pitchers, earned the win. Astros starter Chase De Jong (0-1) struck six in 3 2/3 innings, but also gave up six runs and six hits while walking two.
ATHLETICS 6, MARINERS 2
OAKLAND, Calif.: Mark Canha drove in four runs and Oakland came back to beat Seattle in its final tune-up before the postseason.
Oaklands victory, coupled with Minnesotas loss to Cincinnati, gave the AL West champion As the No. 2 seed in the American League playoffs. Theyll be home at the Coliseum for a best-of-three series against the seventh-seeded Chicago White Sox beginning Tuesday.
Frankie Montas had a career-high 13 strikeouts in six innings for Oakland. Jake Lamb homered and Tommy La Stella added a pair of hits. Yusmeiro Petit (2-1) retired all three batters he faced to get the win.
Lambs tiebreaking home run off Yoshihisa Hirano (0-1) leading off the seventh put the As up 3-2.
BLUE JAYS 7, ORIOLES 5
BUFFALO, N.Y.: Toronto Blue is set to face the Tampa Bay Rays in the first round of the postseason after losing to Baltimore in its regular season finale.
The Orioles denied Toronto (32-28) a chance to finish second in the AL East and instead relegated the Blue Jays to the eighth and final seed in the AL playoffs. Toronto will open a three-game series in Tampa Bay on Tuesday.
Renato Nez reached base three times in his return to the lineup and Cedric Mullins hit two triples for the Orioles. Baltimores Travis Lakins Sr. (3-2) pitched two scoreless innings for the win. Cesar Valdez worked the ninth for his third save in three chances.
Torontos Shun Yamaguchi (2-4) took the loss, allowing three runs and four hits in two innings.
DODGERS 5, ANGELS 0
LOS ANGELES: AJ Pollock homered twice and NL West champion Los Angeles completed a three-game sweep of the Angels.
Pollocks drive gave the Dodgers a major league-leading 118 homers. It was their fifth shutout victory; they went 15-1-4 in series this season. The Dodgers won their eighth consecutive division title and finished 43-17 for the best record in the majors over the 60-game schedule.
The Angels stumbled to a 26-34 mark. They announced as the game ended that general manager Billy Eppler was fired after his fifth straight losing season.
Victor Gonzlez made his first career start for the Dodgers, tossing a scoreless inning with one strikeout before turning the ball over to Dustin May (3-1). The red-headed right-hander allowed two hits in four innings, struck out five and walked two.
Angels starter Patrick Sandoval (1-5) left the game with an apparent injury after giving up three straight walks that led to two runs with two outs in the third.
MARLINS 5, YANKEES 0
NEW YORK: Miami ended a streak of 10 straight seasons without a winning record, beating New York behind a home run and three RBIs from rookie Jazz Chisholm.
Miami (31-29) finished third in the NL East and earned the NLs sixth seed and a matchup at the Chicago Cubs in the first round. This will be the Marlins first postseason appearance since beating the Yankees in the 2003 World Series. Miami lost an NL-worst 105 games last year.
Chisholm hit a two-run double in Miamis three-run second off rookie Clark Schmidt (0-1), who made his first big league start, and homered off Nick Nelson in the eighth. Brian Anderson homered against Jonathan Holder, and Corey Dickerson hit an RBI single for Miami.
Daniel Castano (1-2) pitched 6 1/3 innings for his first career win. Schmidt allowed three runs and four hits in four innings.
The Marlins lost outfielder Starling Mart and right-hander Jos Urea to injuries in the first three innings. Marte left with a bruised left ear after being hit by Schmidts 94 mph fastball in the second. Urea, a candidate for Miamis bullpen in the postseason, was hit on the right hand by DJ LeMahieus liner in the third.
Streaky New York (33-27) finished seven games of Tampa Bay and hung on for the ALs fifth seed when Toronto third-place Toronto (32-28) lost to Baltimore. The Yankees will play at Cleveland in the first round.
CUBS 10, WHITE SOX 8
CHICAGO: Reynaldo Lpez (1-3) struggled and the White Sox tumbled out of position for a home playoff series, losing to Kris Bryant and the crosstown Cubs.
The White Sox (35-25) finished the season with seven losses in eight games to go from first in the AL Central to the seventh seed for their first playoff appearance since 2008. They were in second place in the division heading into the final day, but Cleveland rallied for an 8-6 victory over Pittsburgh and hopped over Chicago based on its 8-2 record in the season series.
The South Siders scored five in the eighth inning, and Yasmani Grandals two-run homer trimmed the Cubs lead to 10-8 in the ninth. Andrew Chafin came in with two outs and a runner on and struck out Nomar Mazara looking for his first save of the season.
Bryant, Billy Hamilton and David Bote homered for the Cubs (34-26), who rested Anthony Rizzo, Jason Heyward, Willson Contreras and Ian Happ a day after clinching the NL Central title. Adbert Alzolay (1-1) struck out a career-high eight in five effective innings.
The Cubs are the NLs third seed for their fifth playoff appearance in the last six years. They will be at Wrigley Field for the wild-card round beginning on Wednesday against No. 6 seed Miami.
RED SOX 9, BRAVES 1
ATLANTA: Jackie Bradley Jr. homered and made a leaping catch as last-place Boston won its final game under manager Ron Roenicke, beating playoff-bound Atlanta.
The NL East champion Braves wound up as the No. 2 seed and will face Cincinnati in a best-of-three playoff series starting Wednesday. All games will be played in Atlanta.
Braves star outfielder Ronald Acua Jr. was scratched with left wrist irritation and right-handed reliever Chris Martin exited with right groin discomfort.
Bradley, heading toward free agency, gave Boston a 2-1 lead with his fourth-inning homer to left-center off Will Smith (2-1). J.D. Martinez had a two-run homer, the biggest hit in Bostons five-run seventh off Luke Jackson. Xander Bogaerts and Jonathan Arauz also homered. Arauz had three hits and drove in three runs.
Nick Pivetta (2-0) allowed one run on four hits and two walks in five innings.
INDIANS 8, PIRATES 6
CLEVELAND: Carlos Santana had four RBIs and delivered a go-ahead, two-run double in the seventh inning as Cleveland rallied to clinch home-field advantage for its AL wild-card series.
The Indians moved into second place in the AL Central and fourth in the AL on the final day of the regular season. They will host the Yankees in a best-of-three series beginning Tuesday.
The Pirates held a 6-2 lead in the bottom of the sixth, when Franmil Reyes belted a three-run homer that chased starter JT Brubaker.
Nik Turley (0-3) entered for the seventh, hitting Csar Hernndez with a pitch and giving up a double to Jos Ramrez before Santana plated them both to put Cleveland ahead 7-6. A sacrifice fly by Reyes drove in Santana, who hit a two-run homer in the third.
James Karinchak (1-2) struck out all three batters he faced in the seventh for the win and Brad Hand got four outs for his AL-high 16th save in 16 opportunities.
DIAMONDBACKS 11, ROCKIES 3
PHOENIX: Madison Bumgarner pitched five scoreless innings to win his first game for Arizona in his ninth and final start this season.
Bumgarner (1-4), a former World Series MVP for San Francisco, left the Giants as a free agent for an $85 million, five-year contract to pitch in the desert. The 31-year-old left-hander never got untracked, plagued by inconsistency and a monthlong stint on the injured list with a mid-back strain.
Bumgarner allowed two hits with four strikeouts for first win since Sept. 4, 2019. He finished with a 6.48 ERA.
Arizona scored two runs in the first inning off Kyle Freeland (2-1) and four more in the third to close with five wins in its final six games.
ROYALS 3, TIGERS 1
KANSAS CITY, Mo.: Brady Singer (4-5) finished his rookie season with a stellar performance, Alex Gordon wrapped up his long Royals career with a fond farewell and Kansas City ended its season with a win over Detroit.
Adalberto Mondesi and Ryan McBroom homered for the Royals, who finished just above the Tigers in the AL Central in their first season under manager Mike Matheny. Kansas City (26-34) has been fourth in the division in back-to-back seasons. The Royals havent reached postseason play since winning the World Series in 2015.
Detroit (23-35) finished last for the fourth time in six years. Lloyd McClendon wound up the season as the Tigers manager after Ron Gardenhire retired on Sept. 19.
Mondesi hit his sixth home run in the fourth, connecting off Tarik Skubel (1-4) to make it 1-all. McBroom hit a solo homer the next inning.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports