# x402 Data Hub - YouTube Search

> x402 Data Hub - YouTube Search is a paid API for AI agents from x402-data-hub.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Searches YouTube videos by keyword query and returns structured results, paid via USDC on Base using x402 protocol.

## Facts

- Endpoint: POST https://x402-data-hub.vercel.app/api/youtube/search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-hub-youtube-search-293da47e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EoaQ2CXxrYOf1I5h_RI8z

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 x402-data-hub-youtube-search-293da47e -d '<json body>'
```

Example prompt: Search YouTube for videos about 'Bitcoin ETF 2024' and show me the top results including titles, channels, and view counts.

## When to prefer this

Use this endpoint when you need programmatic YouTube search results and want to pay per-call with USDC on Base via x402 rather than managing a YouTube API key. Ideal for agents that need occasional YouTube lookups without API key provisioning overhead.

## Known failure modes

- Invalid or missing search query returns 400 error
- Payment failure or insufficient USDC balance blocks request
- YouTube API quota exceeded returns error
- Empty result set if no videos match the query
- Network timeout on Vercel serverless cold start

## How this service works

Social media intel (Twitter, Instagram, YouTube) + crypto data + exchange rates. Pay with USDC on Base.

## Output

A structured list of YouTube video results matching the search query, including video IDs, titles, channel names, thumbnails, view counts, and publish dates.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-hub-youtube-search-293da47e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-hub.vercel.app](https://www.zero.xyz/host/x402-data-hub.vercel.app/llms.txt)
