PHOENIX — Paul Goldschmidt doubled in the last two of Arizona's three runs in the 10th inning and the Diamondbacks beat the Miami Marlins 4-3 on Wednesday.
Miami had taken a 3-1 lead in the 10th on Donovan Solano's two-run double off Brad Ziegler (4-1), who got the victory.
Aaron Hill opened the Arizona 10th with a pinch-hit single off Steve Cishek. Ender Inciarte walked on four pitches, then David Peralta's RBI single cut the lead to 3-2.
On the next pitch, Goldschmidt hit one to the left-center gap for his major league-best 35th double and his fifth career walk-off hit.
Cishek (4-5) blew his third save in 23 opportunities.
Nathan Eovaldi blanked Arizona on two hits and nursed a 1-0 lead through seven innings before giving up a leadoff triple to Didi Gregorius in the eighth. Nick Ahmed singled on the next pitch for his first major league RBI to tie it at 1-all.
It appeared Miami was headed for its second final-inning win in a row, a day after Marcell Ozuna's two-out, two-run homer in the ninth gave the Marlins a 2-1 victory Tuesday night.
Adeiny Hecchavarria led off the 10th with a single off the glove of third baseman Martin Prado and advanced to second on Jeff Mathis' sacrifice bunt. Pinch-hitter Reed Johnson struck out before an intentional walk brought up Solano, who was recalled from Triple-A New Orleans on June 25.
Solano doubled to the left-field corner, bringing both runners home to make it 3-1 for Cishek, who earned the save Tuesday night.
Arizona tied it in the eighth after right fielder Giancarlo Stanton made a diving attempt on Gregorius' sinking liner and the ball got past, rolling to the fence.
Eovaldi left after Ahmed's game-tying hit, and pinch-hitter Cody Ross singled off reliever Mike Dunn. The runners advanced on Ender Inciarte's sacrifice bunt, Goldschmidt was walked intentionally to load the bases and Miguel Montero ended the inning by bouncing out to second.
Eovaldi went seven innings plus two batters, allowing a run on four hits.
Josh Collmenter held Miami scoreless through five, but in the sixth, Christian Yelich and Solano singled with one out, then Stanton's fly ball to center brought a run home.
Ozuna doubled to lead off the seventh, extending his hitting streak to 15 games. He was stranded, though, when Collmenter fanned Hechavarria and Jeff Mathis, and Eovaldi lined out softly to first.
Collmenter gave up a run, scattering seven hits, in seven innings, striking out six and walking one.