{"uid":"cap_3ozk49aF3fNKipNhxRMNH","slug":"youtube-comments-scraper-10672be4","name":"YouTube Comments Scraper","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/v1/youtube-comments?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":0,"minimum":0,"description":"Hard cap across all videos. Zero means no total cap."},"startUrls":{"type":"array","description":"Public YouTube video URLs. Watch, Shorts, live, embedded, and short links are accepted."},"maxComments":{"type":"integer","default":100,"minimum":1,"description":"Stop after this many comments and replies per video."},"includeReplies":{"type":"boolean","default":true,"description":"Follow public reply threads as well as top-level comments."},"sortCommentsBy":{"enum":["TOP_COMMENTS","NEWEST_FIRST"],"type":"string","default":"NEWEST_FIRST","description":"Order top-level comments by featured ranking or newest first."},"oldestCommentDate":{"type":"string","description":"Optional UTC date such as 2026-09-01 or relative age such as 7 days. YouTube supplies relative times, so this filter is approximate and selects newest-first order."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"cid":null,"author":null,"comment":null,"commentUrl":null,"authorAvatarUrl":null,"authorChannelId":null,"authorChannelUrl":null,"authorIsVerified":null}],"product":"youtube-comments"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__JTYjs3QU9ZsOL2Op-Czo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes and returns structured public comments and replies from one or more YouTube videos, with sorting and date filtering options.","exampleAgentPrompt":"Pull the 200 newest comments (including replies) from this YouTube video https://www.youtube.com/watch?v=dQw4w9WgXcQ and return them as structured data.","exampleUseCases":[{"title":"Brand sentiment monitoring on YouTube","prompt":"Scrape the top 500 comments from https://www.youtube.com/watch?v=abc123 — sort by top comments and include replies so I can see what people are saying about the product launch."},{"title":"Competitor video audience research","prompt":"Get me the 100 newest comments from https://www.youtube.com/watch?v=xyz789, only include comments posted in the last 7 days, and include replies so I can understand recent viewer reactions."},{"title":"Creator feedback analysis","prompt":"Extract all comments from these three YouTube videos — https://www.youtube.com/watch?v=v1, https://www.youtube.com/watch?v=v2, and https://www.youtube.com/watch?v=v3 — sorted newest first, up to 150 comments each, so I can review audience feedback on the series."}],"resultDescription":"Returns a JSON object with a count of items and an array of comment objects, each containing the comment ID, author name, comment text, comment URL, author avatar URL, author channel ID, author channel URL, and whether the author is verified. Failed or empty runs are not billed.","failureModes":["Video is private or age-restricted — returns empty result with no charge","Invalid or malformed YouTube URL — may return empty items array","Video has comments disabled — returns empty items array","Rate limiting or YouTube anti-scrape measures — may return partial results","oldestCommentDate filter is approximate due to YouTube's relative timestamp display"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable YouTube comment data at scale without managing browser automation or YouTube API quotas. It is pay-per-call with no charge for failed or empty runs, making it cost-efficient for batch or exploratory tasks. Prefer it over the YouTube Data API v3 when you need more than quota allows or want simpler flat output without OAuth setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:18.308Z","isFirstParty":false,"canonicalSlug":"youtube-comments-scraper-10672be4"}