YouTube Search API
YouTube video search results as stable JSON — titles, channels, durations, views and ages, page after page.
https://api.endpointry.com/v1/youtube/search- Estimated results
- 3,536,678
Videos · showing 1 of 1
Best of lofi hip hop 2021 ✨ [beats to relax/study to]
https://www.youtube.com/watch?v=n61ULEU7CO0
https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg
Duration seconds 22,258Views 58,932,440
Checking live calls…
What you get
Searches YouTube for videos, in YouTube’s order: each result with its channel and the description snippet YouTube shows, plus YouTube’s estimate of the total.
- Duration seconds — Null for a live stream in progress and for Shorts, whose lists show no length
- Views — The view count the list shows, often rounded (
101M); null while live - Live viewers — People watching now, while the video is a live stream in progress; otherwise null
- Published text — The age as YouTube words it in English, relative to
meta.as_of(10 days ago,Streamed 3 months ago) - Thumbnails — Every size offered, smallest first
- Description snippet — The part of the description YouTube shows under the result
- Estimated results — YouTube's estimate of how many results the query has
- Did you mean — The spelling YouTube suggests instead, when it suggests one
Use cases
What teams build with it
- Keyword and topic research on YouTube
- Brand and competitor monitoring in video search
- Discovering creators by what they publish
- Search context for LLM and RAG pipelines
FAQ
Frequently asked questions
What does a result include?
The video id, title, duration, view count, age, live state, thumbnails, channel, and the description snippet YouTube shows under it.
Are channels and playlists returned?
Search returns videos. Channels and playlists have their own endpoints.
How many results can I get?
About 20 per page; follow meta.pagination.next_cursor while it is not null. estimated_results carries YouTube’s own estimate of the total.
More from the YouTube API
Try it on the free plan
One key covers the whole catalog, this endpoint included, starting on the free plan with no card.