International audienceContext. Massive, main-sequence (MS) AF-type stars have so far remained unexplored in past radial velocities (RV) surveys due to their small number of spectral lines and high rotational velocities that prevent the classic RV computation method. Aims: Our aim is to search for giant planets (GPs) around AF MS stars, to get primary statistical information on their occurrence rate and to compare the results with evolved stars and lower-mass MS stars. Methods: We used the HARPS spectrograph located on the 3.6 m telescope at ESO La Silla Observatory to observe 108 AF MS stars with B-V in the range -0.04 to 0.58 and masses in the range 1.1 to 3.6 M⊙. We used our SAFIR software developed to compute the RV and other spectrosc...