# AnyAPI YouTube Channel Lookup

> AnyAPI YouTube Channel Lookup is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-16).

Fetches YouTube channel metadata (subscribers, views, video count, description, avatar) by channel handle or ID

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/youtube.channel
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-youtube-channel-lookup-5cd25b93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eXW2yv951dQpm-_qhbguL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-youtube-channel-lookup-5cd25b93 -d '<json body>'
```

Example prompt: Can you pull up the YouTube channel stats for @MrBeast — I want to know their subscriber count, total views, and how many videos they've posted?

## When to prefer this

Use this endpoint when you need structured YouTube channel metadata (subscriber count, views, video count, avatar) given a known channel handle (e.g. @channelname) or channel ID (UC...). Prefer this over YouTube search endpoints when you already know the channel identifier and want profile-level stats rather than search results or video-level data.

## Known failure modes

- Channel not found — 'found' returns false and 'data' returns null
- Invalid handle or channel ID format — may return not-found or error
- Both handle and channelId omitted — request may fail or return error
- Network timeout or upstream YouTube data unavailability
- Incorrect UC... format for channelId causes lookup failure

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON object with a 'found' boolean and, if found, a 'data' object containing channelId, title, subscriber count (integer), video count (integer), total views (integer), channel description (string), and avatar URL (string). Also includes the USD cost charged and provider name.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-youtube-channel-lookup-5cd25b93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
