PHOENIX -- Paul Goldschmidt's Arizona Diamondbacks teammates are becoming numb to his heroics.
Goldschmidt homered with one out in the ninth inning to lift the Diamondbacks to a 5-4 win over the New York Mets on Friday.
"I played with him in Double-A and I was kind of stunned the first couple of weeks I played with him," outfielder Adam Eaton said. "He can do everything and anything. Defensively he's stellar. Mentally he's stellar. Now it's like I'm not even shocked anymore. He goes up there and I'm like 'yeah, he hit a walk-off.' It's no big deal. It's just him. He's going to do it."
Eaton, Martin Prado and Wil Nieves added RBI doubles for the Diamondbacks, who won their third straight game.
"We've seen we can do it," Goldschmidt said. "We just haven't done it consistently for a long time, especially in the second half. For the last three weeks we haven't put it together for three games in a row. That's what we need to do."
Brad Ziegler (5-1) pitched a perfect eighth for the win, Arizona's 14th in 20 one-run games at Chase Field.
Justin Turner had two hits and three RBIs for the Mets, who saw their three-game winning streak snapped.
The Diamondbacks carried a 4-2 lead into the eighth both couldn't hold it.
Daniel Murphy, Marlon Byrd and Josh Satin hit consecutive singles to start the inning against Heath Bell. Turner and Wilmer Flores each had a run-scoring groundout to tie the game at 4-4.
Scott Atchison (2-1) retired Prado on a come-backer to the mound. But Goldschmidt lined a 1-1 pitch just over the right-field fence for his 27th home run and second walk-off homer of the season.
"He was the right guy to have up there," said Diamondbacks manager Kirk Gibson. "His at-bats earlier didn't work out the way he wanted them to. That one did."
Goldschmidt leads the NL with 91 RBIs.
"I was working him like I work anybody else," Atchison said. "I left a cutter up and he's a good hitter. He's got power to all fields and he made me pay."
The Mets tied the game at 2-2 in the sixth when Daniel Murphy singled, Arizona starter Patrick Corbin hit Byrd with a pitch and Turner stroked an RBI single to left.
Arizona answered in the bottom of the inning. Aaron Hill singled, Ross doubled and Nieves followed with a two-run double to left to make the score 4-2.
Mets starter Jeremy Hefner went five innings, allowing the four runs on eight hits and three walks with one strikeout.
"If you look back he had two strikes on a lot of hitters but he couldn't put anyone away," said Mets manager Terry Collins. "In this game, especially with Jeremy, it's all about location."
The Mets took a 1-0 lead with two outs in the fourth inning against Corbin.
Satin walked and advanced to second on a wild pitch. Turner followed with a clean single to center to score Satin. It was only the second hit for the Mets.
The Diamondbacks answered in the fifth turning three two-out doubles by Corbin, Eaton and Prado into a 2-1 lead.
Marlon Byrd nearly sprinted for his 100th career home run in the second when he lined a pitch off a rounded seating area overhanging right-center field. The ball took a wild ricochet past Eaton and rolled into left field as Byrd motored around the bases.
Prado finally came up with the ball and threw to second baseman Aaron Hill, whose relay home beat Byrd by three steps. Byrd nearly avoided Nieves' tag with a hook slide but his left hand was blocked off the plate.
NOTES: Arizona's three-game winning streak is its first since July 11-13. ... Ziegler hasn't given up a run at Chase Field since May 27. ... Turner's fourth-inning RBI was just his second in 13 games since coming off the disabled list July 21. His multi-hit game was his first since April 20 against Wasnington. ... The Mets have lost six of their past eight road games. ... Mets RHP Scott Rice has recorded 12 straight scoreless outings spanning eight innings. ... Arizona was using the same starting lineup -- excluding pitchers -- for the third straight game for only the second time this season and first time since May. ... Four of Corbin's seven hits are doubles and his four doubles this year lead all major league pitchers.