From PathfinderWiki

Hematomancy is the alchemical analysis of blood and bodily fluids.[1] A skilled hematomancer can identify a creature's name, gender, race, and profession by its blood or fluids, as well as how and when the blood or fluid was shed.[2]

On Golarion

The sleepless detectives of the Sleepless Agency are known practitioners of hematomancy.[1]

The blood biography spell provides the same information as hematomancy.[1]