Bones animation help !!!!

Hello

How can i get positions of head and tail of bone for each frame of animation? Is there sutch functionality?