{"uid":"cap_JywHcKMF86mVJNc2QeHTq","slug":"api-direct-youtube-video-comments-8c3fb99f","name":"API Direct – YouTube Video Comments","description":"Get comments (comment threads) from a YouTube video.","url":"https://x402.apidirect.io/v1/youtube/comments?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":500,"description":"YouTube video URL (watch?v=, youtu.be/, /shorts/, /embed/, /live/ or /v/ forms) or 11-character video ID"},"pages":{"type":"integer","default":1,"maximum":20,"minimum":1,"description":"Number of pages to fetch and merge (1-20). Each page returns up to ~100 comments. Billed per page."},"sort_by":{"enum":["most_recent","relevance"],"type":"string","default":"relevance","description":"Sort order"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EALHo_O5v89S0Ogg1naJm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches comment threads from a YouTube video by URL or video ID, with optional pagination and sort order.","exampleAgentPrompt":"Grab the top 200 comments (2 pages, sorted by relevance) from this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ so I can see what viewers are saying.","exampleUseCases":[{"title":"Brand sentiment monitoring from YouTube","prompt":"Pull the 100 most relevant comments from our product launch video at https://www.youtube.com/watch?v=abc123XYZ so I can see what customers think of the new release."},{"title":"Research audience reaction to a viral video","prompt":"Fetch the 5 pages of most recent comments from https://youtu.be/def456UVW — I want to understand how people are reacting to this trending video."},{"title":"Competitor content analysis","prompt":"Get me the top comments sorted by relevance from this competitor's tutorial video at https://www.youtube.com/watch?v=ghi789RST so I can identify what questions viewers have that we could address."}],"resultDescription":"Returns one or more pages of YouTube comment threads for the specified video, each page containing up to ~100 comments with text, author, and metadata. Multiple pages are merged into a single response. Billed per page fetched.","failureModes":["Invalid or unrecognized YouTube URL/video ID returns an error","Video has comments disabled returns empty or error response","Private or deleted video returns an access error","Pages parameter out of range (outside 1-20) causes validation failure","Network or rate-limit issues from upstream YouTube may cause partial or failed responses"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve YouTube video comments at scale without YouTube Data API quotas or credentials. Ideal for sentiment analysis, audience research, competitive intelligence, or content monitoring pipelines. Choose this over manual scraping when you need structured comment data quickly with configurable pagination and sort order.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:28.153Z","isFirstParty":false,"canonicalSlug":"api-direct-youtube-video-comments-8c3fb99f"}