{"uid":"cap_nLypMUqd88p2u-oXCrg77","slug":"socialfetch-youtube-video-comments-5a1451e4","name":"SocialFetch YouTube Video Comments","description":"List comments on a YouTube video by URL.","url":"https://api.socialfetch.dev/v1/youtube/videos/comments","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":4096,"minLength":1,"description":"Link to the YouTube video whose comments should be listed."},"order":{"enum":["top","newest"],"type":"string","description":"Comment sort order. `top` returns highest-ranked comments; `newest` returns the most recent comments."},"cursor":{"type":"string","minLength":1,"description":"Opaque cursor from a previous response to fetch the next page."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.014","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.014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__zeHdA2RHxfBUTWSVhbcC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a paginated list of comments on a YouTube video, given its URL, with optional sort order.","exampleAgentPrompt":"Can you pull the top comments from this YouTube video for me? https://www.youtube.com/watch?v=dQw4w9WgXcQ — sorted by top-ranked.","exampleUseCases":null,"resultDescription":"A paginated list of comments on the specified YouTube video, including comment text and metadata, along with an opaque cursor for fetching subsequent pages.","failureModes":["Invalid or non-YouTube URL returns an error","Video has comments disabled returns empty list or error","Malformed or expired pagination cursor returns an error","Rate limiting or quota exceeded returns a 429-style error","Private or deleted video returns an error"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve comments from a YouTube video by URL, especially when you want to sort by top or newest and paginate through large comment threads. Prefer this over manual scraping or YouTube Data API when you want a simple, pay-per-call REST interface without OAuth setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:21.923Z","isFirstParty":false}