DETROIT (AP) -- The New York Yankees chased David Price with nine straight hits in the third inning, beating the Detroit Tigers 8-4 Wednesday night.

Derek Jeter of the New York Yankees is congratulated by Carlos Beltran after scoring at Comerica Park in Detroit. (Duane Burleson, Getty Images)

The Yankees scored all eight of their runs in the third off Price (12-10), who had pitched a one-hitter in his previous start. Jacoby Ellsbury started the barrage, and New York went all the way through the batting order until the 2012 AL Cy Young Award winner was pulled after the ninth hit of the inning.

Rookie Shane Greene (4-1) allowed two runs and five hits in seven innings, struck out eight and walked one.

The Yankees pulled within 2 1/2 games of Seattle for the second AL wild card, while Detroit remained a half-game behind the Mariners. The Tigers fell 2 1/2 games behind first-place Kansas City in the AL Central.

Victor Martinez homered for Detroit.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)