We consider the inverse problem of determining different type of information about a diffusion process, described by ordinary or fractional diffusion equations stated on a bounded domain, like the density of the medium or the velocity field associated with the moving quantities from a single boundary measurement. This properties will be associated with some general class of time independent coefficients that we recover from a single Neumann boundary measurement, on some parts of the boundary, of the solution of our diffusion equation with a suitable boundary input, located on some parts of the boundary.