Although research into ultrahigh dose-rate (UHDR) radiation therapy is ongoing, there is a significant lack of experimental measurements for two-dimensional (2D) dose-rate distributions. Additionally, conventional pixel-type detectors result in significant beam loss. In this study, we developed a pixel array-type detector with adjustable gaps and a data acquisition system to evaluate its effectiveness in measuring UHDR proton beams in real time. We measured a UHDR beam at the Korea Institute of Radiological and Medical Sciences using an MC-50 cyclotron, which produced a 45-MeV energy beam with a current range of 10–70 nA, to confirm the UHDR beam conditions. To minimize beam loss during measurement, we adjusted the gap and high voltage on the detector and determined the collection efficiency of the developed detector through Monte Carlo simulation and experimental measurements of the 2D dose-rate distribution. We also verified the accuracy of the real-time position measurement using the developed detector with a 226.29-MeV PBS beam at the National Cancer Center of the Republic of Korea. Our results indicate that, for a current of 70 nA with an energy beam of 45 MeV generated using the MC-50 cyclotron, the dose rate exceeded 300 Gy/s at the center of the beam, indicating UHDR conditions. Simulation and experimental measurements show that fixing the gap at 2 mm and the high voltage at 1000 V resulted in a less than 1% loss of collection efficiency when measuring UHDR beams. Furthermore, we achieved real-time measurements of the beam position with an accuracy of within 2% at five reference points. In conclusion, our study developed a beam monitoring system that can measure UHDR proton beams and confirmed the accuracy of the beam position and profile through real-time data transmission.