{"uid":"cap_FphK90VCoY_QX6YJ472bm","slug":"api-direct-youtube-video-details-7234b996","name":"API Direct – YouTube Video Details","description":"Get detailed information about a YouTube video by URL or video ID.","url":"https://x402.apidirect.io/v1/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","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"}}}},"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_U3dZt9K42LmoGp9gvfqVZ","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":"Retrieves detailed metadata and information about a YouTube video given its URL or video ID.","exampleAgentPrompt":"Can you pull up all the details for this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — I want the title, view count, description, and when it was published?","exampleUseCases":[{"title":"Researching viral video performance","prompt":"I found this YouTube video going viral — https://youtu.be/dQw4w9WgXcQ — can you get me the full details like view count, likes, publish date, and channel name?"},{"title":"Content audit for competitor analysis","prompt":"Look up the metadata for this YouTube video at https://www.youtube.com/watch?v=9bZkp7q19f0 — I need the title, description, tags, and engagement numbers to compare against our own content."},{"title":"Verifying video details for a report","prompt":"I need to confirm the exact publish date, duration, and view count for this YouTube video: https://www.youtube.com/shorts/abc123XYZ45 — can you fetch those details for me?"}],"resultDescription":"Returns detailed metadata about the YouTube video including title, description, view count, like count, comment count, channel name, channel ID, publish date, video duration, thumbnail URLs, and tags.","failureModes":["Invalid or malformed YouTube URL returns an error — ensure URL matches one of the supported formats (watch?v=, youtu.be/, /shorts/, /embed/, /live/, /v/) or is an 11-character video ID","Video not found or deleted returns a 404-style error","Private or age-restricted videos may return limited or no data","Missing required 'url' query parameter returns a validation error","Payment failure or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need structured metadata about a specific YouTube video by URL or ID, particularly when you already have the video link and need stats, descriptions, or publishing info. Prefer this over search-based endpoints when the exact video is known. It supports all major YouTube URL formats including standard watch URLs, youtu.be short links, Shorts, embeds, and live URLs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:41.440Z","isFirstParty":false,"canonicalSlug":"api-direct-youtube-video-details-7234b996"}