# Vibes API Hub - YouTube API

> Vibes API Hub - YouTube API is a paid API for AI agents from vibes-coral-tau.vercel.app, paid per call via x402, $0.030328/call, status unknown (last checked 2026-09-15).

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

## Facts

- Endpoint: POST https://vibes-coral-tau.vercel.app/api/yt-api
- Price: $0.030328/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-api-hub-youtube-api-b0713af5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xh2g4A8rMlE2SLHtO-kaX

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 vibes-api-hub-youtube-api-b0713af5 -d '<json body>'
```

Example prompt: Can you search YouTube for the top videos about 'machine learning tutorials' and give me the titles, view counts, and thumbnails for the first 5 results?

## When to prefer this

Use this endpoint when an agent needs YouTube data (video metadata, search results, channel stats) and can pay per call using USDC on Base chain via the x402 protocol, without needing to manage a YouTube API key directly.

## Known failure modes

- Invalid or missing YouTube video/channel ID returns an error response
- Search query with no results returns empty results array
- Upstream YouTube API quota exceeded causes failure
- Payment not processed via x402 results in 402 Payment Required
- Malformed request body returns 400 Bad Request

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

Returns YouTube data such as video metadata (title, description, view count, thumbnail URLs, publish date), channel statistics, or paginated search results matching the query — delivered as structured JSON.

## More

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