# Komo.ai YouTube API

> Komo.ai YouTube API is a paid API for AI agents from komo-ai.vercel.app, paid per call via x402, $0.086463/call, status unknown (last checked 2026-11-18).

Fetches YouTube video or channel data via a pay-per-call API endpoint using the x402 payment protocol on Base chain

## Facts

- Endpoint: POST https://komo-ai.vercel.app/api/yt-api?utm_source=zero.xyz
- Price: $0.086463/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/komo-ai-youtube-api-bb98dc7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tq2DZmT-7KCTXlhNASqhU

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 komo-ai-youtube-api-bb98dc7f -d '<json body>'
```

Example prompt: Can you grab the metadata for this YouTube video — title, view count, duration, and description — for video ID dQw4w9WgXcQ?

## When to prefer this

Choose this endpoint when you need programmatic access to YouTube video or channel data without managing your own YouTube Data API quota or keys, and when you are already operating in an x402 payment context on Base chain. It is especially useful for agents that need on-demand YouTube metadata lookups at a fixed per-call cost.

## Known failure modes

- Invalid or missing YouTube video/channel ID returns an error response
- x402 payment failure or insufficient USDC balance blocks the request
- Malformed request body causes a 400-level error
- YouTube rate limits or quota exhaustion on the underlying API may cause failures
- Non-existent video or private/deleted content returns empty or error result

## How this service works

150 premium API endpoints with pay-per-call pricing via x402 protocol on Base chain

## Output

Returns a JSON object with a 'result' field containing YouTube API response data such as video metadata (title, description, duration, view count, like count), channel details (subscriber count, upload count), or search results depending on the query parameters sent.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/komo-ai-youtube-api-bb98dc7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from komo-ai.vercel.app](https://www.zero.xyz/host/komo-ai.vercel.app/llms.txt)
