Hidden photons and axion-like particles are candidates for cold dark matter if they were produced non-thermally in the early universe . We conducted a search for both of these bosons using 800 live-days of data from the XMASS detector with 327 kg of liquid xenon in the fiducial volume . No significant signal was observed , and thus we set constraints on the \alpha ^ { \prime } / \alpha parameter related to kinetic mixing of hidden photons and the coupling constant g _ { Ae } of axion-like particles in the mass range from 40 to 120 keV/ c ^ { 2 } , resulting in \alpha ^ { \prime } / \alpha < 6 \times 10 ^ { -26 } and g _ { Ae } < 4 \times 10 ^ { -13 } . These limits are the most stringent over this mass range derived from both direct and indirect searches to date .