detective

nouns

a police officer who investigates crimes
an investigator engaged or employed in obtaining information not easily available to the public
is a type of (narrower)
someone who investigates