DENVER (AP) -- German Marquez came within three outs of what would have been a record-tying eighth no-hitter this season before allowing Ka'ai Tom's single leading off the ninth inning in the Colorado Rockies 8-0 win over the Pittsburgh Pirates on Tuesday night.
The 26-year-old Venezuelan right-hander faced one batter over the minimum.
Tom reached when lined an 0-1 knuckle-curve into right field. Michael Perez then grounded into a double play and Adam Frazier grounded out
Before that, Jacob Stallings was hit in the left ribs by a knuckle-curve with a 1-2 count and one out in the second inning, and Phillip Evans checked his swing and walked on a 3-2 slider that went low and outside with one out in the fifth. Kevin Newman then grounded into an inning ending double play.
Adam Frazier led the game off with a liner that first baseman Joshua Fuentes caught with a dive.
Ke'Bryan Hayes led off the top of the seventh with a slow-rolling comebacker that shortstop Trevor Story scooped up on the run to get Hayes at first by a step.
And Story made a leaping catch on Stallings' liner starting the eighth.
Marquez (7-6) struck out five and walked one, throwing 65 of 92 pitches for strikes in his fourth complete game and second shutout in 123 starts. He has allowed one earned run or fewer in eight of his last 10 starts and was coming off a June 23 outing at Seattle in which he retired his first 17 batters.
There have been seven no-hitters this season. The only season with eight was in 1884, the first year pitchers were allowed to throw overhand.
There has been only one no-hitter at Coors Field, the Rockies' hitter-friendly home since 1995. Hideo Nomo of the Dodgers no-hit the Rockies on Sept. 17, 1996, a 9-0 Los Angeles victory.
The only Rockies pitcher to throw a no-hitter is Ubaldo Jimenez against the Braves in Atlanta on April 17, 2010.
Pittsburgh was shut out for the second straight night and fifth time this season. Colorado pitched just its third shutout.
Chase DeJong (0-3) allowed five runs and nine hits in five innings.
Elias Diaz homered for the second time in two games, a solo shot in the three-run fifth.
Marquez, a 2018 Silver Slugger winner, doubled twice and drove in a run.
Colorado went ahead in the second when Garrett Hampson hit an RBI double and scored on a single by Joshua Fuentes.
Pirates: INF Colin Moran, who left Monday's game after being hit by a pitch in his first at-bat, is day to day with a bruised left wrist.
Rockies: LHP Kyle Freeland, who left Monday's game after five scoreless inning due to a leg cramp, was optimistic he can take his next turn.
Pirates: RHP Chad Kuhl (2-4, 5.05 ERA) will be seeking a third consecutive win when he takes the mound in Wednesday's series finale against the Rockies.
Rockies: RHP Jon Gray (4-6, 3.97 ERA) is set to make his sixth career start against the Pirates. He has gone 1-2 with a 7.94 ERA in his previous starts against the Pirates.