Is there a reliable way to find VOD id of a live stream?

As you’re doing it continuously, you can find the VOD matching the current stream by checking which VOD has "status": "recording" using the videos endpoint in the post above.