Using cosmological N-body simulations we study theline-of-sight velocity distribution of dark matterhaloes focusing on the lowest-order even moments,dispersion and kurtosis, and their application toestimate the mass profiles of cosmological structures.For each of the ten massive haloes selected from the simulation boxwe determine the virial mass, concentration and the anisotropy parameter.In order to emulate observations from each halo we choose randomly 300 particlesand project their velocities and positions along the line of sight and on the surfaceof the sky, respectively. After removing interlopers we calculate the profiles of the line-of-sightvelocity moments and fit them with the solutions of the Jeans equations.The estimates of virial mass, concentration parameter and velocity anisotropyobtained in this way are in good agreement with the values found from the full 3D analysis.