How(if possbl) to get "weighted average" of translation tracks in 2D Stabilization? (MovieClip)

When 2D Stabilization is enabled in Movie Clip Editor space, a video frame is translated on canvas to stabilize footage. Is there somewhere in API something to fetch the amount of that translation for x, y?

Ok, so Python API is really restricted.
It’s better to try C++.