An apparatus for winding coil springs out of wire which is uncoiled by an uncoiling device and fed by means of a separate guiding assembly to a forming device for winding the wire in helical shape, wherein at least one winding parameter is determined and the measuring results are directly used for controlling the forming device, said apparatus comprising the uncoiling device for uncoiling the wire from a spool or a coil, and the guiding assembly for feeding the wire towards a forming device for the winding of said wire characterized by the formation of a loop of the wire between the uncoiling device and the guiding assembly, by a recognition unit located next to said loop for measuring a lateral deflection of the wire loop, and by a wire pull-off guide of the uncoiling device arranged rotatably around the spool or coil axis and controlled by the recognition unit to carry out an additional movement, and wherein the recognition unit comprises two sensors located on both sides of the wire loop that create signals when the wire loop is laterally deflected, the signals controlling a swivel movement of the rotatable uncoiling device around an axis parallel to the wire pull-off direction.