youtube_comments
Scrape YouTube video comments, including text, likes, replies, author details, and pagination tokens to fetch more pages.
Instructions
Scrapes comments from any YouTube video, returning comment text, likes, reply counts, author details, and pagination tokens for fetching additional pages. [Credits: 5 API credits per successful request] Notes: Shares the single /youtube endpoint with all other YouTube tools; combination of v + comment-specific params selects Comments behavior (distinguish from Transcripts/Video by the presence of next_page_token support and response shape). Each comment includes its own replies_next_page_token for paginating that comment's reply thread. ENDPOINT VERIFIED LIVE 2026-07-10: docs show bare /youtube but the working endpoint is /youtube/comments. Returns: { total_comments, comments: [{ comment_id, link, channel: {id,handle,link,thumbnail}, published_date, text, likes, replies, replies_next_page_token }], pagination: {next_page_token} }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | Yes | Video ID of the YouTube video whose comments you want to scrape, found in the video URL after `?v=`. | |
| country | No | Two-letter country code specifying search location (e.g., `us`, `uk`, `fr`). (default: us) | |
| language | No | Language of the results. Possible values: `en`, `es`, `fr`, `de`, etc. (default: en) | |
| next_page_token | No | Defines the next page token for retrieving the next page of comments or replies. Use the `next_page_token` value from the previous response (top-level pagination.next_page_token, or a comment's own replies_next_page_token to fetch that comment's replies). |