Single-shot determination of spin-polarization for ultrarelativistic electron beams via nonlinear Compton scattering