Endpoints
All endpoints follow the same pattern: POST https://api.fetchlayer.dev/youtube/{endpoint} with a JSON body and Bearer auth header.
TypeScript / JavaScript? Use the open-source SDK: @fetchlayer/youtube on npm · Source on GitHub
Comments
Extract comments and nested replies from YouTube videos.
Videos and channels
Full details for one video or one channel.
Transcript
Extract video transcripts as timestamped segments and plain text.