ST. LOUIS (AP) -- St. Louis' Peter Bourjos scored the winning run on a throwing error in the 10th inning to give the majors-leading Cardinals a 3-2 win against the Chicago Cubs on Friday.
Elsewhere, Chris Young thrived in his hometown to lead the New York Yankees to victory at Houston, Toronto routed a badly out-of-form Texas and American League leader Kansas City won at Oakland.
St. Louis' winning run came in unusual circumstances. Bourjos began the 10th inning with a double off Justin Grimm (1-2). Kolten Wong followed with a single which deflected off the second base bag and Matt Carpenter was walked to load the bases.
Jhonny Peralta then hit a routine grounder to second base, where right fielder Mike Baxter had been moved in to create a five-man infield. He had plenty of time to compose himself for the throw to home plate but it went astray and Bourjos ran in from third.
St. Louis won its seventh straight at home, where the Cardinals are a major-league best 27-7.
New York's Chris Young had a go-ahead, three-run homer among three hits to lead the Yankees past Houston 3-2.
Young, who extended his hitting-streak to nine games, has nine homers, 33 RBIs and 14 multi-hit games in 25 career games at Minute Maid Park.
Yankees starter Nathan Eovaldi (7-2), another Houston native, yielded two runs with six strikeouts in six innings to give him a career-high seven wins.
Toronto's Edwin Encarnacion hit his seventh career grand slam and also a solo homer as the Blue Jays beat Texas 12-2 to hand the slumping Rangers a season-worst sixth straight loss.
Encarnacion had three hits and narrowly missed a third home run in his final at-bat, flying out to the warning track in left field.
Russell Martin and Danny Valencia each hit solo homers for the Blue Jays, who improved to 17-7 in June and boosted their ML-leading run total to 417.
Kansas City's Kendrys Morales and Alex Gordon homered to help the Royals beat Oakland 5-2.
Unlike when these two teams met in April, when there were bench-clearing scuffles in all three games, there were no signs of lingering animosity.
Instead the Royals rode the power of Morales and Gordon, and got another strong outing from starting pitcher Edinson Volquez.
Pitching against the A's for the first time since 2007, Volquez (8-4) gave up one run in seven innings. He also reached 1,000 strikeouts for his career.
The Athletics had won their previous five games.
Pittsburgh's Jordy Mercer hit a double to drive in the winning run with one out in the bottom of the 10th inning to lift the Pirates to a 3-2 win over Atlanta.
Andrew McCutchen doubled off Jason Grilli (2-3) leading off the inning and three batters later, Mercer's third hit of the game smacked off the right-field wall and McCutchen scored.
The Braves dropped their fourth straight game.
Boston also won in 10 innings, with Mookie Betts scoring on Brock Holt's single to give the Red Sox a 4-3 win at Tampa Bay.
Earlier, Betts lifted a perfectly placed fly ball that dropped down the left field line to give him a safe hit for the 13th straight game; the Red Sox's longest streak for two years. Holt followed with his game-winning hit off Steve Geltz (1-3).
Colorado's Nolan Arenado hit a pair of home runs and had four RBIs for the Rockies, who hung on to win 8-6 at San Francisco.
Carlos Gonzalez matched his career high with five hits for the Rockies, who won their fifth in six games after losing eight of nine.
The Giants scored three times in the ninth to make things interesting.
New York's Noah Syndergaard pitched eight sharp innings to guide the light-hitting Mets to a 2-1 win against Cincinnati.
The Mets returned home from a 1-7 road trip in which they totaled 11 runs, and won despite getting just two hits. Curtis Granderson launched a leadoff homer into the second deck on Johnny Cueto's third pitch.
Cueto (4-5), pitching with eight days' rest to give his aching right elbow some extra rest, hadn't walked a batter all game until the fifth when he issued three to force home the go-ahead run.
Los Angeles' Brett Anderson tied a career high with 10 strikeouts to help the Dodgers win 7-1 and send Miami to its fifth straight loss.
Baltimore's Chris Davis singled in the tiebreaking run in the eighth inning as the Orioles edged Cleveland 4-3.
Seattle's Taijuan Walker pitched seven sharp innings to win his fourth straight start and steer the Mariners to a 3-1 victory over the Los Angeles Angels.
San Diego's Tyson Ross overcame control problems to lead the Padres to a 4-2 win against Arizona.
Detroit's J.D. Martinez hit a tiebreaking home run in the eighth inning to lift the Tigers past the Chicago White Sox 5-4.
Washington's Max Scherzer retired the first 16 batters to set up the Nationals' 5-2 win against Philadelphia on the day that Ryne Sandberg quit as Phillies manager.
Milwaukee scored six runs in the first inning and Kyle Lohse took his first victory in nine weeks as the Brewers beat Minnesota 10-4.