In this paper, a high-altitude balloon was employed to transport the spectral measurement system to the near space at an altitude of 35km, based on which a near space solar spectral measurement experiment was developed to obtain the solar irradiance data ranging from 10 to 35km. In this sense, the experimental results were comprehensively analyzed and compared with the Air Mass Zero (AM0) and Air Mass 1.5 (AM1.5) standard. It was indicated that the solar spectral distribution at 35 km was almost identical to AM0. And at a wavelength of 450.5 nm, the peak solar radiation intensity has reached 91.63% of AM0. Besides, it was demonstrated that the vertical distribution of aerosol optical depth (AOD) and water vapor column was consistent with the experimental solar spectral at different altitudes. Finally, the measurement methods and results discussed in this paper filled the vacuum in near space solar spectral data and can be used in the design of ground-based solar photovoltaic systems.