{"uid":"cap_UxrsG7nrGh_ies5rwLnic","slug":"youtube-video-metadata-lookup-98a862c0","name":"YouTube Video Metadata Lookup","description":"YouTube video metadata: title, channel, view count, length, description and thumbnail for any video URL or id. GET ?url=","url":"https://agentx.sale/x402/youtube-video?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"title":"Never Gonna Give You Up","views":1833303889,"channel":"Rick Astley","videoId":"dQw4w9WgXcQ","lengthSeconds":213}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IJXc6C4VXEwwi2FBf0TaX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches title, channel, view count, duration, description, and thumbnail for a YouTube video by URL or video ID","exampleAgentPrompt":"Can you grab the title, channel name, view count, and thumbnail for this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ?","exampleUseCases":[{"title":"Verify video before sharing","prompt":"Before I share this YouTube link in our newsletter, can you pull the title, channel, view count, and description for https://www.youtube.com/watch?v=dQw4w9WgXcQ so I can make sure it's the right video?"},{"title":"Content research dashboard enrichment","prompt":"I'm building a list of competitor YouTube videos — can you fetch the metadata like title, channel, views, and length for https://www.youtube.com/watch?v=abc123XYZ so I can add it to my spreadsheet?"},{"title":"Automated thumbnail preview card","prompt":"I need to generate a preview card for embedding on my site — can you get the thumbnail, title, and channel name for this YouTube video: https://youtu.be/M7lc1UVf-VE?"}],"resultDescription":"Returns structured metadata for the specified YouTube video including: title, channel name, view count, video duration/length, full description text, and thumbnail image URL","failureModes":["Invalid or malformed YouTube URL returns an error response","Private or deleted videos return a not-found or access-denied error","Missing required 'url' query parameter results in a validation error","Non-YouTube URLs passed to the endpoint may return an error or empty result","Rate limiting or upstream YouTube API issues may cause intermittent failures"],"whenToPreferThis":"Use this endpoint when you need quick, structured YouTube video metadata (title, channel, views, length, description, thumbnail) without needing full YouTube Data API credentials or quota management. Ideal for agents enriching content pipelines, building preview cards, or verifying video details before sharing. At $0.01 USDC per call via x402, it is cost-effective for occasional lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:33:25.430Z","isFirstParty":false,"canonicalSlug":"youtube-video-metadata-lookup-98a862c0"}