{"agent":{"expose":"search","prompt":"Use Crawl4AI to get youTube search results."},"also":["search videos","videos about a topic","find videos","video search"],"beta":false,"call":{"aliases":["POST /recipes/youtube-search"],"method":"POST","path":"/tools/youtube-search"},"categories":["video"],"cost":{"cases":[{"price":"1 credit","when":"A run"},{"price":"","when":"1.5 when limit asks for more"},{"price":"free","when":"A run with no row"}],"rule":"1 credit · 1.5 when limit asks for more · a run with no row is free","text":"1 to 1.5 cr"},"description":"The videos YouTube finds for a query: title, link, video id, channel, views, when it was published (as YouTube says it, \"3 years ago\"), length and a short description. `limit` caps the rows (at most 20). A run takes about a second: YouTube's own search answer, plus one more call when it holds fewer videos than `limit`.","docs":"/tools/youtube-search","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"channel":"Fireship","description":"Rust is a memory-safe compiled programming language for building high…","length":"2:29","published":"4 years ago","title":"Rust in 100 Seconds","url":"https://www.youtube.com/watch?v=5C_HPTJg5ek","video_id":"5C_HPTJg5ek","views":2538000},{"channel":"freeCodeCamp.org","description":"In this comprehensive Rust course for beginners, you will learn about…","length":"13:59:10","published":"3 years ago","title":"Learn Rust Programming - Complete Course 🦀","url":"https://www.youtube.com/watch?v=BpPEoZW5IiY","video_id":"BpPEoZW5IiY","views":1259022}],"took_ms":707,"tool":"youtube-search","usage":{"credits":0.5}},"credits":0.5,"more":3,"rows":5,"took_ms":707},"input":{"query":"rust programming"},"label":"rust programming"},{"input":{"limit":5,"query":"rust programming"},"label":"rust programming, 5"}],"id":"youtube-search","input_schema":{"additionalProperties":true,"properties":{"limit":{"default":20,"description":"`limit` caps the rows (at most 20).","type":"integer"},"query":{"description":"Words to find videos by.","type":"string"}},"required":["query"],"type":"object"},"inputs":[{"example":"rust programming","help":"Words to find videos by.","name":"query","required":true,"type":"string"},{"advanced":true,"default":20,"help":"`limit` caps the rows (at most 20).","name":"limit","type":"integer"}],"kind":"sites","name":{"lead":"YouTube","rest":"search"},"output":{"fields":[{"meaning":"The video's title.","name":"title","type":"string"},{"meaning":"The watch link, https://www.youtube.com/watch?v=<video_id>.","name":"url","type":"string"},{"meaning":"YouTube's 11-character video id.","name":"video_id","type":"string"},{"meaning":"The name of the channel that published the video.","name":"channel","type":"string"},{"meaning":"The view count as a number; YouTube's rounded figure (1.2M = 1200000) when it shows only that; null for a live stream or a video with no views yet.","name":"views","type":"integer"},{"meaning":"When the video was published, in YouTube's own words (\"3 years ago\", \"14 hours ago\"); empty for a live stream.","name":"published","type":"string"},{"meaning":"The video's length as YouTube shows it (\"13:59:10\", \"2:29\"); empty for a live stream.","name":"length","type":"string"},{"meaning":"The description snippet YouTube shows under the result, at most 300 characters.","name":"description","type":"string"}],"row_is":"","view":"rows"},"related":[{"id":"youtube-captions","why":"Title, language, available languages, text, segments"},{"id":"youtube-channel","why":"Handle, title, description, subscribers, subscribers text, videos"},{"id":"instagram-reels","why":"Plays, likes, comments, thumbnail"}],"run":"sync","source":"youtube","status":"verified","summary":"Title, channel, views, published, length, description","synonyms":["results","search","youtube","search videos","videos about a topic","find videos","video search"],"typical":"1.5 s","version":2,"visibility":"public"}