The performance of Al 0.52 In 0.48 P avalanche photodiodes was assessed as soft X-ray detectors at room temperature. The effect of the avalanche gain improved the energy resolution and an energy resolution (FWHM) of 682 eV is reported for 5.9 keV X-rays.