PHOENIX -- After playing 13 innings on the road the day before, a long game with a taxed bullpen was about the last thing the Arizona Diamondbacks wanted Thursday night.
Ketel Marte made sure this one ended in 10.
Josh Donaldson put the Braves ahead 2-1 with a leadoff homer against closer Greg Holland in the top of the ninth. Luke Jackson retired the first two batters in the bottom half before Peralta sent a drive over the right field fence.
"We never give up. We are going to battle every at-bat," Peralta said. "We told Holland, `Don't worry, we got your back.' The guy made a mistake with me hanging a slider."
Jackson had held opponents scoreless over his past 15 innings and converted his previous two save chances.
"Felt great out there. Got two quick outs. Fell behind a good hitter, made a bad pitch," Jackson said. "Unfortunately, it cost us huge. Wish I could have locked that down, but you can't dwell on it."
Nick Ahmed drew a leadoff walk from A.J. Minter (0-4) in the 10th and went to third on Carson Kelly's single. With the infield playing in, Marte won it with a blooper that fell between two Braves in shallow right field for his second career walk-off hit.
"I just tried to put the ball in play," Marte said. "He threw me a fastball up and in, but I just put my hands inside and got the base hit."
Minter was unable to hold down the closer role after the Braves lost Arodys Vizcaino to season-ending shoulder surgery last month.
"I think it's another product of a guy that didn't have spring training," Atlanta manager Brian Snitker said of Minter. "He hasn't been throwing like we saw last year."
Called up from Triple-A Reno before the game, Jon DuPlantier (1-0) worked a scoreless inning for his first major league win.
Atlanta (18-20) has lost four straight.
The surprising Diamondbacks (22-16) won their second consecutive extra-inning game after beating Tampa Bay in 13 innings at Tropicana Field on Wednesday.
Braves right-hander Mike Soroka, who won his previous three starts, allowed one run in six innings. The 21-year-old has permitted one earned run or none in each of his five starts this season and eight of 10 in his career.
Luke Weaver continued his recent run of quality starts for Arizona, going seven innings and allowing one run on three hits with six strikeouts.
Atlanta tied it in the third when former Diamondback Ender Inciarte scored from first on Ozzie Albies' double that was initially misplayed off the wall by Jarrod Dyson. But the center fielder recovered quickly and fired to third base to get Albies.
The Diamondbacks flashed more good defense in the seventh. Peralta dived to his left to grab a sinking line drive hit by Nick Markakis, and Jones ended the inning by hauling in Brian McCann's deep drive to right against the fence.
"There's really good things on the back end of tough times in this business," Snitker said.
Inciarte was hit by a pitch twice, and Ahmed and Flores were plunked by Atlanta pitchers.
Braves: LHP Max Fried is on track to make his next start Sunday at Arizona after getting hit with a comebacker on his pitching hand in the second inning Tuesday against the Dodgers. Fried left that game.
Diamondbacks: C Alex Avila (quadriceps strain) is scheduled to run the bases and continue catching bullpens this week. He's been on the injured list for a month. ... INF Jake Lamb (quadriceps strain) is taking batting practice and throwing, and running the bases is next as he moves closer to a return. ... RHP Taijuan Walker is scheduled for a bullpen Friday as he aims to return from elbow surgery. ... Weaver was hit with a grounder in the sixth and checked by a trainer, but remained in the game.
Braves: RHP Julio Teheran (2-4, 4.63 ERA) faces Arizona on Friday in his ninth start of the season. His 20 walks are the most among Braves pitchers.
Diamondbacks: RHP Zack Greinke (5-1, 3.42) takes a 4-1 career mark against Atlanta into Friday's start. Greinke is 3-0 with a 1.35 ERA in his last four outings.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
A's Anderson gets another start vs. rebuilding Mariners
Tanner Anderson's first major league start went so well, he's getting another chance.
Giants look for second straight sweep vs. Brewers
The San Francisco Giants bid to cap an impressive eight-game homestand in style against the Milwaukee Brewers on Sunday when they vie for their second straight series sweep.
Rookies face off in Padres-Rockies series finale
An explosive four-game series at Coors Field in Denver wraps up Sunday afternoon with two rookie pitchers facing each other in a National League West matchup.
Astros look to add Jays to sweeping list
Even on the heels of two clean performances coming out of an off day, Astros manager AJ Hinch believes his team could use another break to offset the heavy workload heaped upon its healthy regulars.
Twins turn to Perez seeking sweep of Royals
Left-hander Martin Perez will try to pick up his first victory in four starts as the Minnesota Twins go for a series sweep of the Kansas City Royals on Sunday afternoon in Minneapolis.
Yankees look to salvage split with White Sox
Powerful reinforcements are on the way for the New York Yankees in the form of Edwin Encarnacion, Giancarlo Stanton and Aaron Judge.