{"uid":"cap_ZmL7niITNQE5fwVR-Tel-","slug":"hubvibe-youtube-video-search-lookup-b53b7e0d","name":"HubVibe YouTube Video Search & Lookup","description":"YouTube search and video stats, live: search YouTube or look up videos by id, each with title, channel, upload time, duration, views, likes, comments, live flag and thumbnail from the YouTube Data API at call time. Sort by relevance, date, views or rating; filter by upload date, country and language. Input: query or video_ids; optional max_results, order, published_after, region_code.","url":"https://hubvibe-io.com/work/video/youtube?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"enum":["relevance","date","viewCount","rating","title"],"type":"string"},"query":{"type":"string","maxLength":300,"minLength":1},"language":{"type":"string","pattern":"^[A-Za-z]{2,3}$"},"video_ids":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_-]{11}$"},"maxItems":25,"minItems":1},"max_results":{"type":"integer","maximum":25,"minimum":1},"region_code":{"type":"string","maxLength":2,"minLength":2},"published_after":{"type":"string","format":"date-time"}}},"responseSchema":{"type":"json","example":{"result":{"as_of":"2026-09-27T12:00:00Z","items":[{"url":"https://www.youtube.com/watch?v=IJhS_fv5Ktk","live":false,"title":"Open source licensing explained","video_id":"IJhS_fv5Ktk","channel_id":"UCoBPd2jgYzQ5m8k3f1nR9wA","like_count":2225,"view_count":52004,"description":"A short intro to open source licences.","published_at":"2026-05-14T16:00:12Z","channel_title":"Coinbase Developer Platform","comment_count":112,"thumbnail_url":"https://i.ytimg.com/vi/IJhS_fv5Ktk/hqdefault.jpg","duration_seconds":754}],"query":"open source licensing","source":"youtube-data-api","video_ids":["IJhS_fv5Ktk"],"checked_at":"2026-09-26T18:00:00Z","item_count":3,"total_results":19113},"status":"ok","worker":"video.youtube","price_usd":0.05,"provenance":{"steps":[{"ms":640,"ok":true,"step":"youtube","provider":"youtube-data-api"}],"attempts":1,"elapsed_ms":660,"providers_used":["youtube-data-api"]},"receipt_id":"rcpt_9f1c2b3a4d5e6f70","receipt_url":"/work/receipts/rcpt_9f1c2b3a4d5e6f70"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OH480NHXrXppcnDlfPxKH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search YouTube by query with live statistics or fetch metadata for specific video IDs, returning title, channel, views, likes, comments, duration, and more from the YouTube Data API v3.","exampleAgentPrompt":"Search YouTube for the top 5 videos about 'machine learning tutorials' uploaded after 2025-01-01T00:00:00Z, sorted by view count, and show me the live stats — views, likes, and comments — for each one.","exampleUseCases":[{"title":"Trending topic video research","prompt":"Find the 10 most-viewed YouTube videos about 'electric vehicles' uploaded after 2025-01-01T00:00:00Z, sorted by viewCount, and give me the live view and like counts for each."},{"title":"Competitor video performance check","prompt":"Look up the live stats — views, likes, comments, and duration — for these YouTube video IDs: dQw4w9WgXcQ, 9bZkp7q19f0, and kJQP7kiw5Fk."},{"title":"Regional content discovery","prompt":"Search YouTube for videos about 'street food' in Japan, preferring Japanese-language results from the JP region, sorted by relevance, and return up to 8 results with their current view counts and thumbnails."}],"resultDescription":"Returns an array of video objects, each containing: video ID, title, channel name, upload timestamp, duration, view count, like count, comment count, live broadcast flag, and thumbnail URL — all read live from YouTube at call time.","failureModes":["Invalid or non-existent video IDs return empty results or per-ID errors","Query returning no results yields an empty array","YouTube API quota exhaustion causes service unavailability","Malformed published_after datetime causes validation error","region_code or language not supported by YouTube returns unfiltered results","Network timeout to YouTube Data API returns error response"],"whenToPreferThis":"Choose this endpoint when you need live, up-to-the-moment YouTube statistics (views, likes, comments) rather than cached data, or when you want to combine YouTube search and detail fetching in a single API call. Prefer it over scraping YouTube directly or using stale data sources when accuracy of engagement metrics matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:38:19.058Z","isFirstParty":false,"canonicalSlug":"hubvibe-youtube-video-search-lookup-b53b7e0d"}