MIAMI - Paul Goldschmidt is one of the hottest - er, "dangerous" - hitters in baseball.

Goldschmidt homered twice, tied his career high with four hits and drove in four runs to lead the Arizona Diamondbacks over the Miami Marlins 9-2 on Friday night.

"Watch the kid, watch the way he stays with his approach, he's dangerous," said manager Kirk Gibson, whose D-backs (24-18) are tied with San Francisco for the NL West lead.

Goldschmidt hit a two-run homer in the first, a 428-foot drive to left on an 0-2 pitch, before Chavez homered to right on the very next pitch. He later fouled off six straight pitches in the third before hitting another two-run homer, a drive to left on the 13th pitch of the at-bat that made it 5-0.

"However many I fouled off, all of them were down and away, mostly really good pitches, and fortunately for me he made a mistake," Goldschmidt said.

It was the second career multihomer game for Goldschmidt, who also connected twice May 18 at the Dodgers. He's hitting .414 (29 for 70) with nine homers and 26 RBIs on the road, but .272 with three homers and nine RBIs at Chase Field.

"You just try to go out there and play well. If it happens to be on the road, good. If it's at home, that's good, as well," Goldschmidt said.

He doubled to lead off the seventh, singled in the ninth and is hitting .440 (22 for 50) in his last 15 games with seven homers, six doubles and 17 RBIs.

"He's got a lot of talent," said Martin Prado. "We are expecting a lot of things from him. Every time he goes to home plate, we're just waiting for something to happen."

Eric Chavez homered and had four hits, and Gerardo Parra and Prado had three hits apiece for Arizona, which had 16 hits to win its third straight game.

"I just hope we can do this more often, it would sure help our pitching staff," Gibson said.

Trevor Cahill (3-4) won for the third time in four decisions after an 0-3 start, allowing one run, five hits and four walks in eight innings. He walked his first two batters in the third before retiring 13 in a row.