# YouTube Channel Scraper

> YouTube Channel Scraper is a paid API for AI agents from agent-data.centorprat.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-29).

Scrapes YouTube channel metadata and full video/Shorts/streams listings (views, publish date, duration, thumbnails) without needing a YouTube API key or quota.

## Facts

- Endpoint: POST https://agent-data.centorprat.workers.dev/tools/youtube-channel-scraper?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youtube-channel-scraper-ad4ff727
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AuqFwi1FXY3amLRriktjT

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 youtube-channel-scraper-ad4ff727 -d '<json body>'
```

Example prompt: Pull the channel info and the 20 most recent videos (including Shorts) from the YouTube channel @MrBeast — I need subscriber count, video view counts, publish dates, and thumbnails.

## When to prefer this

Choose this endpoint when you need YouTube channel stats or video listings without a YouTube Data API key, want to avoid quota exhaustion, need cheap per-video pricing, or need to quickly audit a channel's Shorts and live streams alongside regular videos. Ideal for competitor research, influencer vetting, or content monitoring workflows where official API access is unavailable or cost-prohibitive.

## Known failure modes

- Channel handle or URL not found — lookup fails silently and is not charged
- Private or terminated channels return no data
- maxVideosPerChannel capped at 30 — cannot retrieve more per call
- Only one channel per call (maxItems:1 on channels array)
- Rate limits or platform-side blocks may cause incomplete results

## How this service works

Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.

## Output

Returns structured JSON with channel-level metadata (subscribers, video count, description, country, keywords) and per-video records for the requested tabs (videos, Shorts, live streams) each containing title, view count, publish date, duration, and thumbnail URL. Failed lookups are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tabs": {
   "type": "array",
   "items": {
    "enum": [
     "videos",
     "shorts",
     "streams"
    ],
    "type": "string"
   },
   "maxItems": 3,
   "description": "Channel tabs to list (default: Videos)."
  },
  "channels": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 1,
   "description": "@handles, channel URLs or UC... channel ids."
  },
  "maxVideosPerChannel": {
   "type": "integer",
   "maximum": 30,
   "description": "Newest first."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "tab": "videos",
    "url": "https://www.youtube.com/watch?v=ESABTN4VtrA",
    "type": "video",
    "title": "iPhone Duo Review: First Generation Fun!",
    "views": 9300000,
    "channel": "Marques Brownlee",
    "videoId": "ESABTN4VtrA",
    "duration": "29:05",
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "published": "1 day ago",
    "thumbnail": "https://i.ytimg.com/vi/ESABTN4VtrA/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCv0vxcvRzt55WpDomQaObkJOprlQ"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youtube-channel-scraper-ad4ff727/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data.centorprat.workers.dev](https://www.zero.xyz/host/agent-data.centorprat.workers.dev/llms.txt)
