Splits dipeptides with a prolyl in the C-terminal position and a nonpolar amino acid at the N-terminal position. Hydrolysis of Xaa-|-Pro dipeptides. Also acts on aminoacyl-hydroxyproline analogs. No action on Pro-|-Pro. Binds 2 cobalt ions per subunit. Homodimer. Belongs to the peptidase M24B family. Archaeal-type prolidase subfamily.