{"slug":"hubvibe-io-com-work-video-youtube-50d825","title":"Search YouTube or look up videos by id, each with live statistics read at call t","host":"hubvibe-io.com","method":"POST","resource":"https://hubvibe-io.com/work/video/youtube","category":"image","description":"Search YouTube or look up videos by id, each with live statistics read at call time from the YouTube Data API v3: title, channel, upload time, duration, views, likes, comments, live flag and thumbnail. A query runs YouTube's own video search (sort by relevance, date, views, rating or title; filter b","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":832,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_results":3,"query":"open source licensing"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"oneOf":[{"required":["query"]},{"required":["video_ids"]}],"properties":{"language":{"description":"With query: ISO 639 language code of the results to prefer, e.g. en, ja.","pattern":"^[A-Za-z]{2,3}$","type":"string"},"max_results":{"description":"With query: videos to return, default 10.","maximum":25,"minimum":1,"type":"integer"},"order":{"description":"With query: YouTube's sort, default relevance.","enum":["relevance","date","viewCount","rating","title"],"type":"string"},"published_after":{"description":"With query: only videos uploaded at or after this RFC 3339 time, e.g. 2026-01-01T00:00:00Z.","format":"date-time","type":"string"},"query":{"description":"Words to search YouTube for, in any language. Use this OR `video_ids`.","maxLength":300,"minLength":1,"type":"string"},"region_code":{"description":"With query: ISO 3166-1 alpha-2 country whose results to prefer, e.g. US, JP.","maxLength":2,"minLength":2,"type":"string"},"video_ids":{"description":"YouTube video ids (11 characters) to look up directly; skips the search.","items":{"pattern":"^[A-Za-z0-9_-]{11}$","type":"string"},"maxItems":25,"minItems":1,"type":"array"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The 200 body of every paid /work call. `result` is the worker's own output (its schema is per route); everything else is the same on every /work route. A receipt for the job is at `receipt_url`.","properties":{"billing_warning":{"description":"Present only when the charge was recorded with a caveat.","examples":["settlement pending"],"type":"string"},"price_usd":{"description":"What this call cost, in USD.","examples":[0.02],"type":"number"},"provenance":{"description":"How the result was produced: which providers ran and how long each took.","properties":{"attempts":{"description":"Provider attempts made, including retries and failovers.","examples":[1],"type":"integer"},"elapsed_ms":{"description":"Wall-clock milliseconds for the whole job.","examples":[340],"type":"integer"},"providers_used":{"description":"Providers that served the job.","examples":[["coinbase-advanced-trade-public"]],"items":{"description":"Provider name.","examples":["coinbase-advanced-trade-public"],"type":"string"},"type":"array"},"steps":{"description":"Every step the job ran, in order.","items":{"description":"One step of the job.","properties":{"ms":{"description":"Milliseconds the step took.","examples":[312],"type":"integer"},"ok":{"description":"Whether the step succeeded.","examples":[true],"type":"boolean"},"provider":{"description":"Provider that served the step.","examples":["coinbase-advanced-trade-public"],"type":"string"},"reason":{"description":"Failure reason, on a failed step.","examples":["provider_timeout"],"type":"string"},"step":{"description":"Step name inside the worker.","examples":["quote"],"type":"string"}},"required":["step","ok","ms"],"type":"object"},"type":"array"}},"required":["steps","providers_used","attempts","elapsed_ms"],"type":"object"},"receipt_id":{"description":"Receipt id for this job.","examples":["rcpt_9f1c2b3a4d5e6f70"],"type":"string"},"receipt_url":{"description":"Where to fetch the machine-readable receipt (free, no payment).","examples":["/work/receipts/rcpt_9f1c2b3a4d5e6f70"],"type":"string"},"result":{"properties":{"as_of":{"description":"The same instant as checked_at: YouTube does not stamp its statistics.","examples":["2026-09-27T12:00:00Z"],"type":"string"},"checked_at":{"description":"When this node read the source (UTC). Nothing here is cached.","examples":["2026-09-26T18:00:00Z"],"format":"date-time","type":"string"},"item_count":{"description":"Videos returned.","examples":[3],"type":"integer"},"items":{"description":"Videos, in YouTube's search order (or the order of the ids asked); ids YouTube does not know are absent.","items":{"description":"One video, with its live statistics.","properties":{"channel_id":{"description":"Uploading channel id.","examples":["UCoBPd2jgYzQ5m8k3f1nR9wA"],"type":["string","null"]},"channel_title":{"description":"Uploading channel name.","examples":["Coinbase Developer Platform"],"type":["string","null"]},"comment_count":{"description":"Comments; null when hidden or comments are off.","examples":[112],"type":["integer","null"]},"description":{"description":"Description, cut at 500 characters; null when empty.","examples":["A short intro to open source licences."],"type":["string","null"]},"duration_seconds":{"description":"Length in whole seconds from contentDetails.duration; 0 for a live or upcoming stream; null when YouTube did not return the video's details.","examples":[754],"type":["integer","null"]},"like_count":{"description":"Likes; null when the uploader hides them.","examples":[2225],"type":["integer","null"]},"live":{"description":"Live or upcoming broadcast (liveBroadcastContent is not none); null when not stated.","examples":[false],"type":["boolean","null"]},"published_at":{"description":"Upload time as YouTube states it (ISO 8601).","examples":["2026-05-14T16:00:12Z"],"type":["string","null"]},"thumbnail_url":{"description":"Thumbnail URL, the high size when YouTube offers it.","examples":["https://i.ytimg.com/vi/IJhS_fv5Ktk/hqdefault.jpg"],"type":["string","null"]},"title":{"description":"Title.","examples":["Open source licensing explained"],"type":["string","null"]},"url":{"description":"Watch URL.","examples":["https://www.youtube.com/watch?v=IJhS_fv5Ktk"],"type":"string"},"video_id":{"description":"YouTube video id.","examples":["IJhS_fv5Ktk"],"type":"string"},"view_count":{"description":"Views; null when YouTube does not send it.","examples":[52004],"type":["integer","null"]}},"required":["video_id","url","title","description","channel_id","channel_title","published_at","duration_seconds","view_count","like_count","comment_count","live","thumbnail_url"],"type":"object"},"type":"array"},"query":{"description":"The query as given; null when video_ids were looked up.","examples":["open source licensing"],"type":["string","null"]},"source":{"const":"youtube-data-api","description":"Data source.","type":"string"},"total_results":{"description":"YouTube's estimated total matches for the query (pageInfo.totalResults); null when not sent.","examples":[19113],"type":["integer","null"]},"video_ids":{"description":"The ids asked for, in order; null when a query was searched.","examples":[["IJhS_fv5Ktk"]],"items":{"type":"string"},"type":["array","null"]}},"required":["query","video_ids","total_results","items","item_count","source","as_of","checked_at"],"type":"object"},"status":{"const":"ok","description":"Present only on a delivered result.","type":"string"},"worker":{"description":"Catalog name of the worker that ran.","examples":["market.quote"],"type":"string"}},"required":["status","worker","price_usd","result","provenance","receipt_id","receipt_url"],"title":"video.youtube response","type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":832,"error":null}],"description_full":"Search YouTube or look up videos by id, each with live statistics read at call time from the YouTube Data API v3: title, channel, upload time, duration, views, likes, comments, live flag and thumbnail. A query runs YouTube's own video search (sort by relevance, date, views, rating or title; filter by upload date, country, language) plus one details call; video_ids skips it. Input: query or video_ids; optional max_results, order, published_after, region_code, language.","last_updated":"2026-09-27T09:04:51.809Z","schemes":["exact"]}