Extracting Bones' Coordinate data from a level sequence

I have made a custom animation for Metahuman, with Control Rig, on Level Sequencer. I need to extract the bones-data - specifically, the coordinates of desired bones, to a file, for every frames.

The file should have the frame number followed by the coordinates of specified bones, with the appropriate bone names.

Is there a way to do this?

Else,
If it can be done in a gameplay, how? or in a level sequence, how?