# A niche finder API for YouTube.

> Build a YouTube niche finder: search channels, read their size, list their top uploads and compare views to subscribers. One key, pay per answer.

Search by topic, list what each channel posts and compare views to size. Build your own niche finder, or let an agent do the digging.

[Get started](https://wagamiai.com/signup)

Sign up is open, no card needed. Got an invite code? [Set up your account](https://wagamiai.com/setup)

### Search by topic

Look up videos or channels, filtered by upload date, length and sort order.

### Views against size

Divide a channel's top video views by its subscribers. A high number points to a topic that travels beyond the channel.

### Cents per scan

The example below, one channel search and the top uploads of 20 channels, is at most 63 credits: about three cents at the base rate.

In code

## Small channels, big videos.

Search for channels on a topic, list each one's top uploads, and divide the top video's views by the subscribers.

- Subscribers, video count and join date for every channel
- Newest or most popular uploads, shorts too, up to 1,000 rows a call
- You decide what a good niche looks like

python

```
r = S.post(f"{API}/v1/search", json={"query": "woodworking for beginners",
                                   "kind": "channel", "limit": 20})
for ch in r.json()["items"]:
    v = S.post(f"{API}/v1/channel/videos", json={"ref": ch["id"],
               "sort": "popular", "limit": 10}).json()["items"]
    top = max((x["views"] or 0 for x in v), default=0)
    print(round(top / (ch["subscribers"] or 1), 2), ch["title"])
```

shell

```
curl -X POST "https://wagamiai.com/v1/search" \
  -H "Authorization: Bearer $WAGAMI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "woodworking for beginners", "kind": "channel", "limit": 20}'
```

Questions

## Good to know

### What does a scan cost?

The example above is at most 63 credits: 3 for the channel search and 3 for each of 20 channels' top uploads. 2,000 credits = $1, so that is about three cents.

### Which numbers can I read?

Subscribers, views, video count, country and links for a channel. Views, likes, comments, duration and publish time for a video. Hashtags and suggestions for ideas, and top comments to see what people want next.

### Does it tell me what a good niche is?

No. You get the numbers and rank them in your own code, by views per subscriber, upload pace or age.

### Can an AI agent run it?

Yes. An agent sets itself up from one link, or connects over [MCP](https://wagamiai.com/mcp) from Claude Code, Cursor, VS Code, Windsurf or Claude Desktop.

## A scan costs cents.

2,000 credits = $1, from $25. Credits never expire and errors are never charged.

[Get started](https://wagamiai.com/signup) [See pricing](https://wagamiai.com/pricing)

---
This is the Markdown copy of https://wagamiai.com/niche-finder-api (WagamiAI). Every page has one: add `.md` to its address. All pages: https://wagamiai.com/llms.txt
