# Is there a YouTube search API without the 100-searches-a-day limit, and can it search inside one channel?

> Search YouTube videos by keyword with views and channel in every result, or search one channel's uploads, without a daily quota. Real results from 2026-11-30, Python and prices.

Canonical page: https://okdata.online/answers/youtube-video-search-api/

**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:

```python
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](/apis/youtube/videos/get/) 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:

```python
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](/answers/youtube-search-quota-exceeded/) 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](/answers/youtube-channel-search-api/). New accounts get free credit to try it.

## Endpoints used

- [YouTube video search](https://okdata.online/apis/youtube/videos/search/) `youtube.videos.search`: $0.004 per call · about 20 videos per page
- [YouTube channel videos](https://okdata.online/apis/youtube/channels/videos/list/) `youtube.channels.videos.list`: $0.002 per call · about 30 videos per page
- [YouTube video detail](https://okdata.online/apis/youtube/videos/get/) `youtube.videos.get`: $0.002 per call
- [YouTube channel search](https://okdata.online/apis/youtube/channels/search/) `youtube.channels.search`: $0.004 per call · about 20 accounts per page

## More about YouTube

- [YouTube API](https://okdata.online/apis/youtube/)
- [How to export YouTube comments for every video on a topic](https://okdata.online/guides/youtube-comments-export/)
- [How to get YouTube video transcripts from a keyword search](https://okdata.online/guides/youtube-video-transcript/)
- [How do I search YouTube channels by keyword and get their subscriber counts with an API?](https://okdata.online/answers/youtube-channel-search-api/)
- [How do I get a YouTube channel's subscriber count and stats through an API?](https://okdata.online/answers/youtube-channel-subscriber-count-api/)
- [How do I track clip views on TikTok, YouTube Shorts, Instagram Reels and X to pay clippers per 1,000 views?](https://okdata.online/answers/clipper-payout-view-tracking/)
- [YouTube video ID, channel ID (UC…) and @handle: what is each?](https://okdata.online/answers/youtube-video-channel-id-handle/)
- [How can I get a YouTube video's tags and description with an API?](https://okdata.online/answers/youtube-video-tags-api/)
- [Official platform APIs vs third-party data APIs (2026)](https://okdata.online/compare/official-apis-vs-data-apis/)
- [How to choose a social media data API (2026)](https://okdata.online/compare/social-media-data-apis/)
- [Post detail API](https://okdata.online/roles/posts-get/)
- [Post search API](https://okdata.online/roles/posts-search/)

## Sources

- [YouTube Data API: Search: list (channelId, q, type, quota impact)](https://developers.google.com/youtube/v3/docs/search/list) (read 2026-11-17)
- [YouTube Data API: Quota Calculator](https://developers.google.com/youtube/v3/determine_quota_cost) (read 2026-11-17)
- [YouTube Data API: PlaylistItems: list](https://developers.google.com/youtube/v3/docs/playlistItems/list) (read 2026-11-17)

Where people asked this (read 2026-11-17): 

- https://developers.google.com/youtube/v3/docs/search/list

Updated 2026-11-30
