A ball and socket joint with integrated angle sensor, especially for use as a vehicle level control in the chassis of a motor vehicle. The ball and socket joint has a ball and socket joint housing (1), a ball pivot (2) mounted in the ball and socket joint housing (1), a bipolar field transducer (4) arranged at the joint ball (3) of the ball pivot (2), and at least one magnetic field direction sensor (5), which is arranged at the ball and socket joint housing (1) and interacts with the magnetic field generated by the field transducer (4), wherein only one pole of the bipolar field transducer (4) is arranged on the surface of the ball.