Peralta signed with Pittsburgh Pirates as an international free agent on July 3, 2017.
Peralta returned to the club in 2019, posting a 2–2 record and 2.01 ERA with 34 strikeouts across 14 appearances (6 starts).
[4] Peralta began the 2024 season with the High–A Greensboro Grasshoppers, recording an 0.60 ERA with 50 strikeouts and 3 saves over 19 appearances out of the bullpen.
[5] On July 29, 2024, the Pirates traded Peralta to the Colorado Rockies in exchange for Jalen Beeks.
[6] On August 23, Peralta was selected to the 40-man roster and promoted to the major leagues for the first time, where he retired the first two batters he faced.