{"uid":"cap_ypJ1jQ1JzEy8ePnHj_938","slug":"agdata-youtube-comments-fetcher-42b0e109","name":"agdata YouTube Comments Fetcher","description":"Unblock any URL as Markdown, or get search, social, maps, jobs and news as data. Paid per call in stablecoins over x402 or MPP, with no account.","url":"https://agdata.shveik.dev/v1/x402/youtube-comments?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":300},"sort":{"enum":["top","newest"],"type":"string"},"limit":{"type":"integer","maximum":100,"minimum":1}}},"responseSchema":{"type":"json","example":{"id":"Ugzge340…","text":"can conf…","pinned":null,"byOwner":false,"isReply":false,"postedAt":"1 year a…","likeCount":323000,"ownerLiked":true,"replyCount":962,"textTruncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H77NPMqafKKNcfI3YvGeh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches structured YouTube comment data (text, likes, replies, metadata) for a given video URL, sorted and limited as specified","exampleAgentPrompt":"Grab the top 50 comments from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — sorted by top, and give me the text, like counts, and reply counts for each.","exampleUseCases":[{"title":"Viral video audience sentiment analysis","prompt":"Fetch the top 100 comments from this YouTube video https://www.youtube.com/watch?v=abc123 sorted by top so I can see what viewers are saying and how many likes each comment got."},{"title":"Monitoring fresh viewer reactions","prompt":"Pull the 25 newest comments from https://www.youtube.com/watch?v=xyz789 so I can see what people are saying right after the video was published."},{"title":"Brand mention audit on YouTube","prompt":"Get the top 50 comments on https://www.youtube.com/watch?v=promo456 sorted by top — I want to check if people are mentioning our product and see how the community is reacting."}],"resultDescription":"Returns an array of comment objects, each containing: comment ID, comment text, pinned status, byOwner flag, isReply flag, postedAt timestamp, likeCount, ownerLiked flag, replyCount, and textTruncated flag. Structured JSON suitable for downstream analysis or display.","failureModes":["Invalid or non-YouTube URL returns an error","Video with comments disabled returns empty results or error","Limit out of range (below 1 or above 100) returns a validation error","Payment failure or insufficient USDC balance blocks the call","Private or age-restricted videos may return no results","Network or scraping block on YouTube's side may cause temporary failures"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable YouTube comment data — including like counts, reply counts, timestamps, and ownership flags — without managing YouTube Data API quotas or OAuth credentials. Ideal for agents that need to analyze audience sentiment, monitor reactions, or audit brand mentions on YouTube videos, paying only per call in stablecoins with no account setup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:42:03.666Z","isFirstParty":false,"canonicalSlug":"agdata-youtube-comments-fetcher-49855457"}