DENVER -- Nolan Arenado hit a tie-breaking home run in the eighth inning, and the Colorado Rockies beat the Arizona Diamondbacks 8-7 on Wednesday to end a seven-game home losing streak.
Charlie Blackmon homered among his three hits and drove in three runs for Colorado. The Rockies had tied the franchise record for consecutive defeats at Coors Field and were within two of the mark for home losses in Denver set in 1993 at Mile High Stadium.
Arenado rescued Colorado after starter Chad Bettis and the bullpen blew a six-run lead. With two outs in the bottom of the eighth, Arenado hit Tyler Clippard's 2-2 pitch just inside the foul pole in left field for his NL-leading 13th homer of the season.
The Rockies threatened for more but Clippard (2-1) worked out of a jam.
Gonzalez German (1-0) got the win and Jake McGee pitched the ninth for his ninth save.
Yasmany Tomas had three hits and Paul Goldschmidt added two for the Diamondbacks, who had won five straight.
The Rockies built a 7-1 lead on Blackmon's solo homer in the third, his two-run single in the fourth and Ryan Rayburn's double in the sixth that drove in two more.
Bettis retired 12 straight after Jean Segura's double to lead off the game but ran into trouble in the seventh. Arizona started the inning with three straight hits and Bettis left after Chris Owings' RBI single made it 7-4.
Two doubles, a triple and an infield single tied it in the eighth and took a win away from Bettis. He allowed four runs on nine hits and matched a career high with eight strikeouts in 6 1/3 innings.
Arizona starter Robbie Ray gave up five runs -- three earned -- and fanned a career-high nine in 4 2/3 innings.
Diamondbacks: OF David Peralta will see a hand specialist in Arizona on Thursday. Peralta has not played since Sunday because of a sore right wrist.
Rockies: INF Daniel Descalso (broken left hand) played in another rehab game and is getting closer to returning from the 15-day DL. "I'm not sure if it's his last (rehab game) but things are going well for him," manager Walt Weiss said. ... Weiss said C Nick Hundley (oblique strain) is making progress. Hundley was placed on the 15-day DL on Friday.
Goldschmidt's RBI single in the sixth extended his streak of reaching base against the Rockies to 44 games. That tied him with Ryan Klesko for the third-longest against Colorado, and it's the longest active streak in the majors against any team.
Diamondbacks: RHP Zack Greinke (3-2, 5.15 ERA) will open a four-game series at home against San Francisco on Thursday. He is 8-0 with a 2.12 ERA in 11 career starts against the Giants.
Rockies: RHP Jon Gray (0-1, 5.40) goes for his first big league win when the Rockies host the New York Mets on Friday. Gray is 0-1 with a 1.38 ERA in his last two starts.