{"uid":"cap_MkFDjg4wo2KZ6-DRwahpP","slug":"radar-youtube-comments-scraper-0dacedfb","name":"Radar YouTube Comments Scraper","description":"Fast tools (web read, domain RDAP/DNS/SSL, Federal Register, clinical trials, Polymarket+Kalshi odds, OSV vulnerabilities) and data APIs (leads, jobs, YouTube, Reddit, Trends, tenders...). POST JSON, pay per call in USDC on Base via x402. Charged only when results are returned.","url":"https://2-29-135-242.sslip.io/x402/youtube-comments-scraper?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sortBy":{"enum":["top","newest"],"type":"string","example":"top","description":"Same as the sort menu under a YouTube video."},"videos":{"type":"array","items":{"type":"string"},"example":["https://www.youtube.com/watch?v=jNQXAC9IVRw","https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"description":"Video links (watch, youtu.be, Shorts, live, embed) or 11-character video IDs. One per line, any number."},"keywords":{"type":"array","items":{"type":"string"},"description":"Optional. Keep comments that contain any of these words (case-insensitive), e.g. price, refund, bug, competitor name. Only kept comments are charged."},"maxComments":{"type":"integer","example":0,"description":"Hard cap for the whole run (0 = no cap). Keeps the cost predictable."},"includeReplies":{"type":"boolean","example":false,"description":"Also collect the reply thread of each comment (marked isReply=true with parentCommentId)."},"publishedAfter":{"type":"string","description":"Optional. Skip comments older than this date (YouTube shows relative dates, so this is approximate to the day)."},"maxCommentsPerVideo":{"type":"integer","example":50,"description":"Top-level comments to collect from each video (replies count too when enabled)."},"maxRepliesPerComment":{"type":"integer","example":20,"description":"Only used when replies are on."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"...":"one result object"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-Qjb8GB5B9wc0CITFCRdu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes and filters comments (and optional reply threads) from one or more YouTube videos, sorted by top or newest, with keyword filtering and per-video caps.","exampleAgentPrompt":"Scrape the top 50 comments from these two YouTube videos — https://www.youtube.com/watch?v=jNQXAC9IVRw and https://www.youtube.com/watch?v=dQw4w9WgXcQ — sorted by top, and only keep comments that mention 'price' or 'refund'. Include reply threads, up to 10 replies per comment.","exampleUseCases":[{"title":"Product feedback mining from reviews","prompt":"Pull the top 100 comments from this YouTube product review video https://www.youtube.com/watch?v=abc123XYZ — sorted by top — and only keep comments that mention 'bug', 'crash', or 'refund' so I can triage customer complaints."},{"title":"Competitor sentiment analysis","prompt":"Grab the 50 newest comments from each of these three YouTube videos about our competitor: https://www.youtube.com/watch?v=vid1, https://www.youtube.com/watch?v=vid2, https://www.youtube.com/watch?v=vid3 — filter for any mention of 'price' or 'switch' — and include reply threads with up to 5 replies each."},{"title":"Content creator audience research","prompt":"Scrape the top 200 comments from https://www.youtube.com/watch?v=dQw4w9WgXcQ, sorted by top, posted after 2024-01-01, no keyword filter needed — I want to understand what the general audience is talking about."}],"resultDescription":"A JSON object with a count field and an items array; each item represents one comment and includes the comment text, metadata (author, timestamp, like count), a flag indicating whether it is a reply (isReply), and the parentCommentId when applicable. Only comments matching the keyword filter (if provided) are included and charged.","failureModes":["Invalid or private/deleted YouTube URL returns empty results or an error","No comments match keyword filter — returns count:0 with empty items array and no charge","Rate limiting or YouTube access restrictions may reduce or truncate results","Invalid date format for publishedAfter may cause unexpected filtering behavior","Exceeding maxComments or maxCommentsPerVideo caps silently truncates results","Payment failure via x402/USDC halts the request before execution"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract YouTube comment data at scale — especially with keyword filtering to control cost (only matching comments are charged), multi-video batch collection, or reply thread traversal. Preferred over manual YouTube Data API integration when you want pay-per-result pricing in USDC with no API key setup, or when you need a simple POST JSON interface for agent-driven workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:58.072Z","isFirstParty":false,"canonicalSlug":"radar-youtube-comments-scraper-0dacedfb"}