YouTube API — Endpoints — FetchLayer Docs

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

OpenAPI JSON

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.

Product overviewYouTube API: what it returns, pricing and use cases