BOSTON (AP) Boston clinched its first postseason berth since 2009, beating Baltimore 3-1 on Thursday night behind John Lackey's two-hitter.
Coming off a last-place finish and a 69-93 record - their most losses since 1965, the Red Sox have rebounded under first-year manager John Farrell and ensured at least a wild-card berth in the postseason. They lowered their magic number to two for clinching the AL East.
Boston scored all its runs in the second on Stephen Drew's two-run homer and Dustin Pedroia's RBI single.
Lackey (10-12) held the Orioles hitless until Adam Jones homered with out one in the seventh, his 32nd this season. The right-hander allowed a one-out single to J.J. Hardy in the eighth, striking out eight and walked two in his 16th career complete game.
Chris Tillman (16-7) gave up three runs and seven hits in seven innings with eight strikeouts and two walks.
RANGERS 8, RAYS 2
ST. PETERSBURG, Fla. (AP) - Elvis Andrus drove in three runs and Texas beat Tampa for a split of their four-game series that left the teams tied atop the AL wild-card race.
The Rangers won the season series with the Rays 4-3, earning home-field advantage should the teams finish in tie for the two wild-card spots. They each have 10 games left.
The Indians, meanwhile, pulled within a half-game of the leaders by beating Houston 2-1 in 11 innings. Cleveland has nine remaining.
Yu Darvish won for the first time in seven starts since Aug. 12. Darvish (13-9) made it through five innings despite walking six.
Mitch Moreland, Andrus and Alex Rios homered off Matt Moore in the third inning to put the Rangers ahead to stay.
Craig Gentry had four of the Rangers' 16 hits and three of their five stolen bases, the most against the Rays this season.
Moore (15-4) gave up six runs, five earned, while striking out six in four innings.
INDIANS 2, ASTROS 1, 11 innings
CLEVELAND (AP) - Matt Carson's single with two outs in the 11th inning gave Cleveland the win as it closed within a half-game in the AL wild card race.
Yan Gomes singled with one out against Rhiner Cruz (0-2), and Asdrubal Cabrera reached on an infield single.
Trevor Crowe caught Michael Brantley's liner to center and nearly doubled Gomes off second, and Mike Aviles loaded the bases with a walk.
Carson hit a grounder under the glove of second baseman Jose Altuve for Cleveland's 10th walkoff win this season.
Tampa Bay and Texas (83-69) are tied for the two wild cards.
Bryan Shaw (5-3) pitched the 11th for the win.
The Astros lost their sixth straight.
Cleveland's Nick Swisher matched a career high with four hits.
BLUE JAYS 6, YANKEES 2
TORONTO (AP) - New York lost for the fifth time in six games.
Hiroki Kuroda lost his fifth straight decision, allowing two runs in the third inning and a solo home run to Anthony Gose in the sixth. Adam Lind added a three-run homer in the seventh off Joba Chamberlain.
New York, which dropped 3 1/2 games back for the second AL wild-card berth, lost two of three in Toronto while scoring just six runs and hitting .198 (19 for 96). The Yankees are in danger of missing the playoffs for only the second time in 19 seasons.
New York won 12 of its first 13 games against Toronto this year but lost four of its final six.
Kuroda allowed three runs and eight hits in six inning with four walks and seven strikeouts.
Rookie Todd Redmond (4-2) gave up one run and four hits in a career-high seven innings with seven strikeouts and a walk. Casey Janssen relieved with the bases loaded and one out in the ninth, then finished for his 32nd save in 34 chances.
TIGERS 5, MARINERS 4
DETROIT (AP) - Prince Fielder had three hits and scored the tiebreaking run in the seventh inning on a close play at the plate for Detroit.
The Tigers trailed 4-3 after Seattle's Dustin Ackley hit a three-run homer in the fifth, but Fielder's RBI single in the seventh tied it. Then he scored from first when Victor Martinez doubled off Charlie Furbush (2-6).
Torii Hunter homered for the Tigers. Doug Fister (13-9) struck out 10 in 7 2-3 innings. Joaquin Benoit pitched a perfect ninth for his 22nd save in 22 chances.
Detroit pushed its AL Central lead to 6 1/2 games. Second-place Cleveland hosted Houston on Thursday night.