# API Direct – YouTube Channel Info

> API Direct – YouTube Channel Info is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-30).

Retrieves detailed profile information about a YouTube channel by channel ID, URL, or name/handle.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/youtube/channel?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-youtube-channel-info-98a5144b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OlB1WSHhDahmCZ3AYfXjo

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 api-direct-youtube-channel-info-98a5144b
```

Example prompt: Can you pull up the channel details for @mkbhd on YouTube — I want to see their subscriber count, total views, and when the channel was created?

## When to prefer this

Choose this endpoint when you need structured metadata about a specific YouTube channel — especially subscriber counts, view totals, video counts, or channel descriptions. Prefer it over scraping YouTube directly or using the YouTube Data API (which requires OAuth setup) when you need a quick, pay-per-call lookup by channel ID, URL, or handle without API key management.

## Known failure modes

- Channel not found for given ID/URL/name — returns 404 or empty result
- Invalid channel ID format (must start with UC and be 24 characters) — returns validation error
- Ambiguous channel name with multiple matches — may return wrong channel
- Private or terminated channels may return partial or no data
- Rate limiting or quota exhaustion may return 429 error

## How this service works

Get detailed information about a YouTube channel by channel ID, URL, or name/handle.

## Output

Returns structured profile data for the specified YouTube channel, including channel name, description, subscriber count, total view count, video count, channel ID, creation date, country, and upload playlist ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "id": {
       "type": "string",
       "maxLength": 500,
       "description": "YouTube channel ID (24 characters, starts with UC), e.g. UCXuqSBlHAE6Xw-yeJA0Tunw"
      },
      "url": {
       "type": "string",
       "maxLength": 500,
       "description": "Channel URL, used instead of id: youtube.com/channel/..., youtube.com/@handle, /c/ or /user/ forms"
      },
      "name": {
       "type": "string",
       "maxLength": 500,
       "description": "Channel name or @handle, used instead of id (e.g. @mkbhd or Linus Tech Tips)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-youtube-channel-info-98a5144b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
