Answers
Is there a YouTube search API without the 100-searches-a-day limit, and can it search inside one channel?
Short answer
okdata YouTube video search takes a keyword and returns about 20 videos a page with title, channel, views and link for $0.004; there is no daily quota and no Google Cloud project. To search inside one channel, list its uploads with YouTube channel videos (about 30 a page, $0.002) and filter the titles yourself: two pages, 60 videos, cost $0.004. On the official Data API, search.list takes a channelId parameter for the same job, but every page is a call from the small search allowance, while reading the channel's uploads playlist costs 1 unit a page.
People asking for a "YouTube search API" usually want one of two things: search all of YouTube for a keyword, the way the search box does, or search inside one channel ("every MKBHD video about the iPhone"). Both work with two okdata endpoints and a few lines of Python.
Search all of YouTube by keyword
One call, one page of about 20 results in YouTube's own relevance order:
import os, requests
r = requests.get(
"https://api.okdata.online/v1/youtube/videos/search",
params={"query": "air fryer review"},
headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"},
timeout=60,
)
for v in r.json()["data"]["items"]:
print(v["metrics"]["views"], v["author"]["name"], v["title"])
Run on 2026-11-30, it returned 20 videos for $0.004. The first five:
| Views | Channel | Title |
|---|---|---|
| 106,223 | The Barbecue Lab | Best Air Fryer for 2026? I Tested 9 … |
| 2,109 | Meem Reviews & Tips | Air Fryers I'd Buy After 8 Years of Testing … |
| 38,072 | Empowered Cooks | Which Air Fryer Is Best? 2026 Buying Guide … |
| 1,262,561 | Project Farm | I've Never Seen An Air Fryer This Good! |
| 31,314 | Sprint Kitchen | Best Non Toxic Air Fryers (Black Friday 2026) |
Relevance is not popularity: a video with 2,109 views sits above one with 1.26 million. If you want the most watched, sort the page yourself by metrics.views, and fetch more pages with cursor first, since each page is a separate call. Upload dates in search results are worked out from YouTube's "2 weeks ago" text, so treat them as approximate; YouTube video details gives the exact publish time and likes for the videos you keep.
Search inside one channel
List the channel's uploads by handle or channel ID, newest first, and filter:
def channel_videos(handle, pages=2):
cursor, out = None, []
for _ in range(pages):
params = {"username": handle, **({"cursor": cursor} if cursor else {})}
d = requests.get("https://api.okdata.online/v1/youtube/channels/videos/list",
params=params, headers=HEADERS, timeout=60).json()
out += d["data"]["items"]
cursor = d["page"].get("next_cursor")
if not cursor:
break
return out
hits = [v for v in channel_videos("mkbhd") if "iphone" in v["title"].lower()]
On 2026-11-30, two pages gave MKBHD's 60 newest videos, back to early February 2026, for $0.004. Four have "iPhone" in the title, among them "iPhone 18 Pro/Duo Impressions: Mogged" at about 28 million views and "iPhone Duo Review: First Generation Fun!" at about 13 million. Channel-list views are rounded the way YouTube shows them ("13M views"); call video details for the exact count.
Filtering titles locally also means you can match several words, use a regex, or search descriptions, which a search box can't.
The same jobs on the official Data API
search.list has a channelId parameter, so channel search works there too. The catch is the allowance: search calls come out of a small daily search budget, separate from the 10,000 units everything else uses, and every extra page is another search call. Reading a channel's uploads playlist with playlistItems.list costs 1 unit a page, so for "search inside a channel" the playlist route is the cheaper one on either API. Why the search quota runs out has the details.
What it costs
- Keyword search, 5 pages (about 100 videos): $0.02
- One channel's last 300 uploads (10 pages): $0.02
- Exact stats for 50 of them: $0.10
For finding channels rather than videos, see the YouTube channel search API. New accounts get free credit to try it.
Sources
- YouTube Data API: Search: list (channelId, q, type, quota impact)
- YouTube Data API: Quota Calculator
- YouTube Data API: PlaylistItems: list
Where people asked this (read 2026-11-17)
Updated