# QuantaFlow x402 API Gateway – Rapid YouTube Scraper

> QuantaFlow x402 API Gateway – Rapid YouTube Scraper is a paid API for AI agents from quanta-roan.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Scrapes YouTube video data via a pay-per-request x402 micropayment gateway, proxying requests to an upstream YouTube scraping service for $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/rapid-youtube-scraper7?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-x402-api-gateway-rapid-youtube-scraper-21356d3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ODvQcwuhGe_r70k511QOy

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 quantaflow-x402-api-gateway-rapid-youtube-scraper-21356d3a -d '<json body>'
```

Example prompt: Scrape the YouTube video at https://www.youtube.com/watch?v=dQw4w9WgXcQ and give me its title, description, view count, and thumbnail URL — use the rapid-youtube-scraper path.

## When to prefer this

Choose this endpoint when you need to extract YouTube video or channel metadata without consuming Google YouTube Data API v3 quota, want pay-per-use micropayment pricing at $0.01 per call via x402, or are building web3-native agent workflows that require on-chain or crypto-settled API access. Prefer it over the official YouTube API for cost-sensitive scraping tasks or when API key management is undesirable.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 protocol error returns 402 Payment Required
- Upstream scraper unavailable: if the rapid-youtube-scraper service is down, returns 502 or 503
- Invalid path or query: malformed path/query parameters may return 400 or empty upstream response
- Rate limiting: upstream scraper may throttle requests returning 429
- YouTube blocking: if YouTube blocks the scraper, upstream returns empty or error data
- Invalid video ID: non-existent or private videos may return empty or error response

## How this service works

Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.

## Output

Returns the raw upstream response from the YouTube scraping service — typically structured JSON containing video metadata such as title, description, view count, like count, thumbnail URLs, channel info, and other scraped fields, passed through transparently after successful $0.01 USDC payment via x402.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "description": "Optional JSON body forwarded to POST requests."
  },
  "path": {
   "type": "string",
   "description": "Path below the selected upstream origin."
  },
  "query": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "description": "The upstream response body and content type are passed through after successful payment."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantaflow-x402-api-gateway-rapid-youtube-scraper-21356d3a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quanta-roan.vercel.app](https://www.zero.xyz/host/quanta-roan.vercel.app/llms.txt)
