Search YouTube
/youtube/searchSearch YouTube for videos, shorts, channels, and playlists.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- Search queryNeededThe search query. You can use anything that you would use in a regular YouTube search.
- HlOptionalThe language to use for the Youtube search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionall…
- GlOptionalThe country to use for the Google search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France)
- SpOptionalCan be used for pagination. YouTube uses continuous pagination and the next page token can be found in the JSON response `serpapi_pagination -> next_page_token…
- Json restrictorOptionalThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@serpapi:/youtube/searchTopics
YouTubeMore from SerpApi
All 124Search Private MapsSearch DuckDuckGo Maps (Apple Maps data) for local places.2.5 credits a callRead Restaurant ReviewsGet diner reviews of one OpenTable restaurant.2.5 credits a callCompare Product PricesSearch Google Shopping and compare product offers across stores.2.5 credits a callAsk Naver AIAsk Naver's AI tab a question and get its cited answer.2.5 credits a callSearch Yandex WebRun a Yandex web search and get parsed organic results.2.5 credits a callGet Play ListingGet one Google Play listing with details, ratings, and reviews.2.5 credits a call