{"uid":"cap_3vv7DPJisggOUoQuGM-gS","slug":"youtube-comments-scraper-dbac60a2","name":"YouTube Comments Scraper","description":"Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.","url":"https://agent-data.centorprat.workers.dev/tools/youtube-comments-scraper?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sort":{"enum":["top","newest"],"type":"string","description":"Comment order."},"videos":{"type":"array","items":{"type":"string"},"maxItems":1,"description":"YouTube video URLs (watch, shorts, youtu.be) or 11-character ids."},"includeReplies":{"type":"boolean","description":"Also scrape the replies under each comment."},"maxCommentsPerVideo":{"type":"integer","maximum":100,"description":"Top-level comments per video (replies come on top)."},"maxRepliesPerComment":{"type":"integer","maximum":5,"description":"Cap on replies per comment."}}},"responseSchema":{"type":"json","example":{"items":[{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg","text":"We're so honored that the first ever YouTube video was filmed here!","likes":4800000,"author":"(reviewer)","isReply":false,"videoId":"jNQXAC9IVRw","commentId":"UgzuC3zzpRZkjc5Qzsd4AaABAg","isHearted":true,"replyCount":986,"publishedTime":"6 years ago","authorChannelId":null,"authorIsCreator":false,"parentCommentId":null,"authorIsVerified":true}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SboUplOdXgYvwTAMBmGcp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes top-level comments and replies from YouTube videos, including metadata like likes, author, channel ID, pinned/hearted status, and publish time — no YouTube API key or quota required.","exampleAgentPrompt":"Scrape the top 50 comments (sorted by top) from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — and include up to 3 replies per comment with their likes, author names, and publish times.","exampleUseCases":[{"title":"Brand sentiment on product launch video","prompt":"Pull the top 100 comments from this YouTube product launch video https://www.youtube.com/watch?v=abc123XYZ00, sorted by top, and include up to 5 replies per comment so I can analyze how people feel about the new release."},{"title":"Competitor audience reaction research","prompt":"Scrape the 50 newest comments from this competitor's YouTube video https://www.youtube.com/watch?v=xyz789ABC11 — I want the author names, like counts, and publish times so I can understand what their audience is saying."},{"title":"Detecting pinned and hearted creator responses","prompt":"Get the top 30 comments from https://www.youtube.com/watch?v=mnb456DEF22 and flag which ones are pinned or hearted by the creator — I want to see how the channel is engaging with its viewers."}],"resultDescription":"Returns an array of comment objects per video, each containing: comment text, author name, channel ID, like count, reply count, publish timestamp, direct comment link, pinned/hearted flags, and optionally nested reply objects with the same fields (up to the specified reply cap).","failureModes":["Video URL or ID is invalid or the video is unavailable — lookup fails without charge","Video has comments disabled — returns empty results","maxCommentsPerVideo or maxRepliesPerComment exceeds schema limits (100 and 5 respectively) — request rejected","Network or scraping timeout on heavily loaded videos — partial or empty results","Private or age-restricted videos may not return comments"],"whenToPreferThis":"Choose this endpoint when you need YouTube comment data without consuming YouTube Data API quota or managing API credentials. It is particularly valuable for competitive research, sentiment analysis, audience feedback collection, or NLP pipelines where raw comment text plus metadata (likes, author, timestamp, pinned/hearted) is needed at low cost per comment. Prefer it over official API wrappers when quota limits are a concern or when comment reply threads are needed with minimal setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:34:15.018Z","isFirstParty":false,"canonicalSlug":"youtube-comments-scraper-dbac60a2"}