Is it possible to retrieve animation data at runtime?

I haven’t found a post answering this, but does anyone know of a way to retrieve bone location or rotation data at runtime? What I would like to do is fetch certain values, such as the pelvis bone’s component distance from the root at a given animation frame, but not by querying the location of the pelvis and root in world space. I could alternatively create a collection of cached curves that have all this data, but that seems like an unnecessary amount of work since the animation file also has this data cached.