# GGWP API Hub – YouTube API

> GGWP API Hub – YouTube API is a paid API for AI agents from ggwp-ten.vercel.app, paid per call via x402, $0.128443/call, status unknown (last checked 2026-09-15).

Fetches YouTube data (videos, channels, search results, or metadata) via a pay-per-call x402 endpoint on Base chain.

## Facts

- Endpoint: POST https://ggwp-ten.vercel.app/api/yt-api
- Price: $0.128443/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ggwp-api-hub-youtube-api-f2bc07d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U9XIpZ5T1zC_qYC0Yfbu2

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

Example prompt: Search YouTube for the top videos about 'machine learning for beginners' and give me the titles, view counts, and links for the first 5 results.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to YouTube data without managing a Google API key or quota yourself, especially in agent workflows that use x402 micropayments on Base chain for access control.

## Known failure modes

- Invalid or missing YouTube video/channel ID returns empty or error result
- Rate limiting or quota exhaustion from the underlying YouTube API may cause failures
- Malformed query parameters may return no results
- Payment failure on Base chain blocks the request before it reaches the API
- Private or deleted videos return no data

## 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 a result object containing YouTube data such as video titles, IDs, descriptions, thumbnails, view counts, channel names, and other metadata depending on the query type.

## Request schema (JSON Schema)

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

## 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/ggwp-api-hub-youtube-api-f2bc07d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ggwp-ten.vercel.app](https://www.zero.xyz/host/ggwp-ten.vercel.app/llms.txt)
