Keyframe position in Dope Sheet

I have an idea about a script that will add stuff between keyframes in the dopesheet or timeline. However unlike the Curve Editor, where the keyframe X and Y position is equal to the X and Y position in that 2d editor, in the dopesheet we don’t have Y position that we can use. I haven’t poked it too much, but last time I went out looking through the python api, there is no Y position for keyframes in the dopesheet.
I get it that maybe they use the channel’s position, but I don’t think I’ve seen such position value for channels in the dope sheet.
Can we access this value from Python, if not, would it be too much work to add it?