PHILADELPHIA -- Bryce Harper hit a two-run double off Dodgers closer Kenley Jansen with one out in the bottom of the ninth after pinch-hitter Matt Beaty hit a three-run homer off Philadelphia closer Hector Neris in the top half, rallying the Phillies to a 9-8 win over Los Angeles on Tuesday night.
Pinch-hitter Andrew Knapp hit a double with one out in the bottom of the ninth and Cesar Hernandez singled. Scott Kingery followed with a bloop single to center that scored Knapp to get the Phillies within a run. Harper then ripped a ball to the gap that bounced off A.J. Pollock's glove and went to the wall.
Cody Bellinger hit his major league-leading 34th homer and Max Muncy, A.J. Pollock and Joc Pederson also went deep for the Dodgers.
Harper hit a three-run homer and drove in five RBIs, Brad Miller and Kingery also connected for the Phillies.
Ranger Suarez (1-0) got two outs for the win.
Jansen (3-3) has four blown saves in 24 tries.
YANKEES 8, RAYS 3
NEW YORK (AP) — Aaron Judge hit a go-ahead, two-run homer in the eighth inning, Didi Gregorius followed with a grand slam as New York beat Tampa Bay after another surly clash between CC Sabathia and the Rays.
Judge smashed a 3-2 pitch from left-hander Colin Poche (2-3) into the right-center field seats to make it 4-3. It was Judge's 10th homer.
Gregorius took a curtain call after hitting a long grand slam. Edwin Encarnación hit his 28th homer, DJ LeMahieu also went deep, and New York stretched its AL East lead over Tampa Bay to six games.
Yandy Díaz hit a solo homer and an RBI double, and Austin Meadows hit his 14th homer for Tampa Bay.
Benches cleared during the sixth inning amid a shouting match between Sabathia and hitter Avisaíl García. After Sabathia struck out García looking to strand two runners, the 38-year-old barked and pointed at García. Sabathia was restrained by Gregorius and never got close to García while both benches and bullpens emptied. No punches were thrown.
David Hale (3-0) pitched two scoreless innings for New York.
BLUE JAYS 10, RED SOX 4
BOSTON (AP) — Teoscar Hernández hit a three-run homer off new Boston starter Andrew Cashner, and Lourdes Gurriel Jr. had three hits to lead Toronto.
Gurriel had a single, double and triple, and Justin Smoak also homered for Toronto, which lost three of its previous four games.
Cashner (9-4) was acquired from the Orioles on Saturday. He failed to get an out in the sixth, allowing six runs — five earned — on eight hits and two walks, striking out two. He also gave up two homers, hit a batter and threw a wild pitch on a third strike.
Xander Bogaerts had a single, double and home run, and Mookie Betts also had three hits for Boston, which fell 10 games behind the first-place New York Yankees in the AL East.
Justin Shafer (1-1) got the win. Toronto broke it open with four runs in the ninth.
NATIONALS 8, ORIOLES 1
BALTIMORE (AP) — Matt Adams and Juan Soto homered and rookie Austin Voth extended a streak of strong performances by Washington's rotation in a win over neighboring Baltimore.
Washington has won 13 of 16.
Voth (1-0) allowed one run and four hits over six innings. He walked one and hit two batters, all in an eventful but scoreless first inning.
Adams's home run off Asher Wojciechowski (0-3) made him the 102nd player in the 28-year history of Camden Yards to hit a ball onto Eutaw Street, beyond the right field wall and in front of the B&O Warehouse.
Hanser Alberto homered for the lone run for Baltimore.
MARLINS 12, PADRES 7
MIAMI (AP) — Brian Anderson hit a three-run homer in the first inning and Miami dealt San Diego its fourth straight loss.
The Padres (45-49) fell four games under .500 for the first time this season.
Harold Ramirez had two doubles, two RBIs and two runs scored. Garrett Cooper hit his 11th homer and a two-run single, and Starlin Castro had a bases-loaded triple to make it 11-3 in the sixth.
Jordan Yamamoto (4-0) struggled early and needed 99 pitches to get through five innings, but he gave up only two earned runs. Padres rookie Logan Allen (2-2) had his second rough start in a row, allowing seven runs in 2 1/3 innings.
Franmil Reyes hit his 26th homer pinch-hitting in the ninth. San Diego teammate Manuel Margot hit his sixth homer.
PIRATES 3, CARDINALS 1
ST. LOUIS (AP) — Colin Moran drove in the go-ahead run with an infield single and Pittsburgh Pirates scored twice in the ninth to beat St. Louis.
Francisco Liriano (4-1) pitched the eighth and earned the victory. Felipe Vazquez pitched a 1-2-3 ninth for his 21st save.
Carlos Martinez (2-1) worked one inning of relief and took the loss.
With the score tied 1-1 and one out in the top of the ninth, Starling Marte reached base when he was hit in the back with a pitch by Martinez. Josh Bell beat the shift with a single to the left side of second base, sending Marte to third. Moran hit a sharp grounder to Kolten Wong, who made a diving stop and rose to one knee, but his throw was not in time as Moran slid safely into first and Marte scored for a 2-1 lead.
Corey Dickerson walked, loading the bases. Kevin Newman hit a grounder to short, but the Cardinals failed to turn a double play, and Bell scored to give Pittsburgh a 3-1 lead.
DIAMONDBACKS 9, RANGERS 2
ARLINGTON, Texas (AP) — Rookie Alex Young allowed one run in 5 1/3 innings to help Arizona beat Texas.
Young (3-0) gave up three hits and one walk to defeat Lance Lynn (12-5), who went into the game with an 8-0 home record this season and led the majors in wins. Young struck out four and was lifted following 79 pitches.
The Diamondbacks have won five of seven.
Ketel Marte's two-run single with the bases loaded in the fifth inning broke a 1-1 tie for Arizona. Ildemaro Vargas added a two-run home run, and the Diamondbacks scored four times in the ninth inning aided by two Rangers errors.
The Rangers have lost nine of their last 13 games.
ROYALS 11, WHITE SOX 0
KANSAS CITY, Mo. (AP) — Glenn Sparkman pitched a five-hitter for his first career complete game, Whit Merrifield and Hunter Dozier each had three hits including a home run as Kansas City blanked Chicago.
Sparkman (3-5) walked one and had a career-high eight strikeouts in the Royals' first complete-game shutout since June 2, 2017, when Jason Vargas beat Cleveland 4-0.
Kansas City improved to 4-1 since the All-Star break and dropped the White Sox to 0-5.
Merrifield raced to an inside-the-park homer down the right-field line in the fourth inning after Cam Gallagher doubled.
Dozier hit a two-run, 447-foot homer to left field in the eighth inning to cap a four-run inning and finish the scoring.
Chicago starter Dylan Cease (1-1) gave up six runs — four earned — and eight hits in six innings. He walked one and struck out seven.
METS 3, TWINS 2
MINNEAPOLIS (AP) — Michael Conforto went 4 for 4 and drove in the go-ahead run with a two-out single in the fifth inning, helping New York over Minnesota.
Conforto even made the defensive play of the game, a graceful leaping grab at the top of the wall in left-center to end the third with a runner on and take away a potential homer from Nelson Cruz.
Jonathan Schoop homered for the Twins.
Luis Avilán (2-0) picked up the victory. Edwin Díaz survived a tense ninth for his 21st save in 25 attempts.
Michael Pineda (6-5) allowed one earned run for the fifth time in his last six starts. Pineda finished six innings for the third straight turn, allowing six hits without a walk.
INDIANS 8, TIGERS 0
CLEVELAND (AP) — Oscar Mercado hit a two-run homer and Zach Plesac and three relievers combined for a one-hitter as Cleveland beat Detroit.
Nicholas Castellanos accounted for the Tigers' only hit with a leadoff single up the middle in the fifth inning off Tyler Clippard. Detroit had two baserunners and sent 28 batters to the plate — one above the minimum.
Plesac worked the first three innings, while Clippard, Nick Goody and Tyler Olson pitched two innings apiece. Plesac walked Victor Reyes to begin the game, then erased him with his MLB-leading fifth pickoff.
Goody (1-0) retired six straight batters in the sixth and seventh to earn his first victory since June 17, 2017.
Mercado hit a two-run shot and Francisco Lindor added a two-run double in a five-run second inning, as Cleveland bolted to a 7-0 lead through three.
CUBS 4, REDS 3, 10 INNINGS
CHICAGO (AP) — Kyle Schwarber hit a solo home run with one out in the bottom of the 10th inning to rally Chicago past Cincinnati.
Schwarber stroked a 1-1 pitch from closer Raisel Iglesias (2-8) into the basket in front of the left field bleachers for his 21st homer.
Robel Garcia and Kris Bryant also connected for the NL Central leaders, who have won six of eight.
Eugenio Suárez homered for Cincinnati, which fell to 7-4 against Chicago this season.
Steve Cishek (3-5) pitched the 10th and four Cubs relievers combined for four scoreless innings.
New catcher Martín Maldonado, acquired Monday night by Chicago from Kansas City, started and went 0 for 4.
BREWERS 13, BRAVES 1
MILWAUKEE (AP) — Christian Yelich hit his second career grand slam, Keston Hiura and Lorenzo Cain each had a solo homer and Milwaukee routed Atlanta.
Brandon Woodruff (11-3) gave up one run and five hits in 6 2/3 innings for the Brewers, who had lost eight of their previous 10 games. He walked one and struck out seven.
Mike Moustakas picked up his 1,000th career hit with a single to right-center field in the seventh.
Bryse Wilson (1-1) allowed four runs and six hits in four innings for the Braves. He became the youngest pitcher to start a game in the National League this season at 21 years, 208 days.
Tyler Flowers scored the lone run for the Braves on a solo homer in the fifth.
GIANTS 8, ROCKIES 4, 10 INNINGS
DENVER (AP) — Alex Dickerson had a career-best four hits, including the go-ahead RBI single in San Francisco's four-run 10th inning.
Mike Yastrzemski homered and doubled among his three hits and had three RBIs for the Giants, who have won seven of eight, including four in a row.
Trevor Story and Ian Desmond homered for the Rockies, who have lost 10 of 12.
Giants closer Will Smith (3-0) picked up the win. Wade Davis (1-4) took the loss.
ATHLETICS 9, MARINERS 2
OAKLAND, Calif. (AP) — All-Star Matt Chapman homered and had five RBIs and Oakland won its fifth straight.
Matt Olson followed Chapman's fifth-inning drive with a solo homer that extended his hitting streak to 11 games, marking the seventh time the A's hit back-to-back homers this year.
Daniel Mengden (5-1) allowed one run and four hits over seven impressive innings, striking out three and not walking a batter for the third straight start.
Omar Narvaez hit two homers for the Mariners.
Mariners lefty Marco Gonzales (10-8) was tagged for six runs and seven hits over six innings. He struck out five and walked one in Seattle's fifth consecutive loss.
ANGELS 7, ASTROS 2
ANAHEIM, Calif. (AP) — Albert Pujols hit a bases-clearing double during a six-run first inning and Los Angeles remained unbeaten in five games since the All-Star break.
Mike Trout missed his second straight game with a mildly strained right calf, but Shohei Ohtani and Luis Rengifo also drove in first-inning runs in Los Angeles' eighth victory in 11 games since the death of pitcher Tyler Skaggs.
Tyler White had three hits and an RBI in the Astros' fourth loss in six games. Their division lead over Oakland is down to 4½ games, matching their smallest advantage since May 9.
Astros opener Héctor Rondón (3-2) gave up six runs on five hits and a walk in just nine batters while failing to get out of the first.
Andrew Heaney pitched eight-hit ball into the fifth inning and got five strikeouts in his second start since the death of Skaggs, his best friend.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP—Sports