The liquidlike structure of colloidal suspensions with both electrostatic and magnetic interactions is investigated by means of small angle x-ray scattering (SAXS) dependent on an external magnetic field. For weak magnetic interactions, without external field, the magnetic dipoles are randomly oriented. Under this condition, isotropic structures are observed. In an external field, however, the magnetic momenta arrange parallel to the external field and induce anisotropic liquidlike structures. For weak magnetic interactions, the structure factor can be described within the framework of the rescaled mean spherical approximation. Due to the high experimental accuracy of synchrotron SAXS, from the anisotropic distortion of liquidlike structures, interparticle forces smaller than 10(-15) N can easily be detected.