Simply pass a youtube videoId to the endpoint and it will return the subtitles/captions/transcript.
Optionial params are
Enjoy.