Magnetic switching by circular polarized laser pulses is a promising tool for an ultrafast control of magnetism without the need for external magnetic fields. A principle limitation of the spatial resolution is set by the optical diffraction limit which is a clear disadvantage in view of the trend towards nanoscale magnetic structures to achieve high density storage. Here we suggest to exploit the light-matter interaction to achieve atomistic spatial and femtosecond temporal resolutions. The idea is to drive current loops in fullerenes attached to a scanning tip by virtue of femtosecond optical vortices. Using full- edge quantum simulations we calculate the magnetic field associated with the fullerenes current loops and employ this magnetic field for ferromagnetic resonance studies on magnetic adatoms.