Is it possible to get the live video using the API?

You can get the screenshot from the streams API

use the “preview” key

For anything else it works better if you integrate “client side” in the actual streaming software.

You cannot directly connect to the video feed and take a screenshot. There are not API’s for that.