Wrong: "YouTube doesn't have an API for transcripts."
It doesn't have a PUBLIC one. But transcripts exist for nearly every video including auto-generated ones.
~94% of videos have extractable transcripts. The data is there. The access layer was missing.