Guides for YouTube and TikTok data
Practical, tested guides for developers: transcripts, subtitles, comments, channels, playlists, search and metadata, with code in curl, Python and JavaScript.
RSS feed- TikTok5 min read
How to Get the Transcript of a TikTok Video
Get the transcript of a TikTok video from its captions as text, timed JSON, SRT or VTT: short links, languages, videos without captions, and code to automate.
Read the guide → - YouTube5 min read
How to Export a YouTube Playlist to CSV or JSON
Export every video of a YouTube playlist with title, position, duration, views and channel to CSV or JSON, even playlists of thousands of videos, with code.
Read the guide → - Guides7 min read
Is It Legal to Scrape YouTube? A Practical Guide
What the law and YouTube’s terms say about collecting public data: transcripts, comments and personal data under GDPR, copyright, and good practice for teams.
Read the guide → - Guides5 min read
YouTube Transcripts for RAG: Chunking and Embeddings
Turn YouTube videos into a searchable knowledge base: timestamped transcript chunks, chunk size and overlap, embeddings and citations to the exact second.
Read the guide → - YouTube6 min read
How to Scrape YouTube Comments (Python and JavaScript)
Export the comments of a YouTube video to JSON or CSV with authors, likes, dates and replies, without a browser or quota. Code in curl, Python and JavaScript.
Read the guide → - YouTube5 min read
How to Download YouTube Subtitles as SRT or VTT
Download the subtitles of a YouTube video as SRT, VTT or text, pick the language, tell manual captions from auto-generated ones, and batch it with code.
Read the guide → - YouTube5 min read
How to Get YouTube Video Metadata: Views, Likes, Tags
Get the title, description, views, likes, comment count, upload date, tags, categories and chapters of any YouTube video as JSON, with curl, Python or JS.
Read the guide → - YouTube5 min read
How to Get All Videos from a YouTube Channel
List every video of a YouTube channel by @handle, page by page with a cursor, export it to CSV, with or without Shorts, and get the transcripts of a channel.
Read the guide → - Comparisons6 min read
YouTube Search API Without Quota Limits
The YouTube Data API allows about 100 searches a day. How its quota works, what it costs to go beyond it, and how to search YouTube from code without units.
Read the guide → - Comparisons5 min read
youtube-transcript-api Alternative: When the Library Breaks
Why the youtube-transcript-api Python library gets RequestBlocked on servers, what proxies really cost, and when a hosted transcript API is the better choice.
Read the guide → - Comparisons5 min read
Can the YouTube Data API Get Transcripts? Not Really
Why captions.download of the official YouTube Data API v3 only works for your own videos, what the quota costs, and how to get any public video’s transcript.
Read the guide → - YouTube6 min read
How to Get a YouTube Transcript with Python
Fetch the transcript of any YouTube video in Python: timestamps, plain text and SRT, languages, errors and batches, with requests or the official SDK.
Read the guide →
Try it on your own videos
100 free calls every month, no credit card. Then $1 per 1,000 calls, only for the calls that succeed.