PHOENIX -- J.D. Martinez hit a grand slam and drove in six runs, leading the Arizona Diamondbacks and their lineup of regulars to an 11-4 win over the San Francisco Giants on Tuesday night.

Martinez continued his torrid September in which he has 15 home runs, 35 RBIs and seven doubles with a .414 batting average. He has 28 homers since the Diamondbacks acquired him from Detroit, tied with Miami slugger Giancarlo Stanton for most in the majors since July 19.

The six RBIs tied a career high, and Martinez's total of 103 RBIs on the season is a career best.

The Diamondbacks went with their everyday lineup after giving all but second baseman Brandon Drury the night off Monday, one day after they clinched home-field advantage in the NL wild-card game Oct. 4.

The hitters came out swinging right away. Martinez doubled home two runs in the first inning, then drove his grand slam out to right field during a six-run second.

He trotted back to the home dugout with his third slam of the season to chants of "J.D.! J.D.!" from the crowd.

David Peralta and A.J. Pollock also drove in runs in the inning. Seven earned runs were charged to Giants starter Matt Moore (6-15), who couldn't make it out of the second inning.

Arizona starter Robbie Ray had more than enough support, though he gave up Tim Federowicz's two-run homer in the fifth. Ray (15-5) allowed three hits in five innings and won for the sixth time in his last seven starts. He struck out five.

Ketel Marte doubled and tripled for Arizona, driving in two runs in the fifth with his triple.

Pablo Sandoval and Joe Panik drove in single runs for the Giants in the seventh.

Pinch-hitter Christian Walker hit a line-drive home run in the bottom of the seventh that barely cleared the right-field fence, his second homer of the season.


Giants: RHP Jeff Samardzija (9-15) is set for his final start of 2017 in an afternoon game Wednesday against Arizona.

Diamondbacks: RHP Braden Shipley (0-1) replaces ace Zack Greinke, who was pushed back to Friday to line him up for the wild-card game. Arizona's starting rotation going forward is Shipley, Greinke, Taijuan Walker on Saturday and a pitcher to be determined on Sunday.