# YouTube Comments Scraper (MAX Tier)

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

Scrapes up to 500 top-level comments and 20 replies per comment from up to 5 YouTube videos, returning author info, likes, timestamps, pinned/hearted status, and direct comment links — no API key or quota needed.

## Facts

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

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-comments-scraper-max-tier-bd6513d5 -d '<json body>'
```

Example prompt: Can you scrape the top 200 comments (with up to 10 replies each) from these two YouTube videos — https://www.youtube.com/watch?v=abc123 and https://www.youtube.com/watch?v=xyz789 — sorted by top, and include the author names, like counts, and timestamps?

## When to prefer this

Choose this endpoint when you need bulk YouTube comment data (up to 500 comments across up to 5 videos) with rich metadata like likes, replies, pinned/hearted status, and author channel IDs — without needing a YouTube Data API key or worrying about quota exhaustion. It is more cost-effective per comment than lighter-tier scrapers and handles reply threads natively. Prefer it over the YouTube Data API when you need quota-free, key-free access, or when scraping at scale for research, sentiment analysis, or competitive intelligence.

## Known failure modes

- Video URL or ID is invalid or the video is private/deleted — that video is skipped and not charged
- Requested more than 5 videos — request is rejected by schema validation
- maxCommentsPerVideo or maxRepliesPerComment exceed allowed maximums (500 and 20 respectively) — schema validation error
- Video has comments disabled — returns empty comment list for that video
- Network or scraping timeout for a specific video — that video may be excluded from 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 a structured list of comments for each requested video, including: comment text, author name, author channel ID, like count, reply count, pinned and hearted flags, publish timestamp, direct link to the comment, and optionally nested reply threads (each reply with the same fields). Failed video lookups are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sort": {
   "enum": [
    "top",
    "newest"
   ],
   "type": "string",
   "description": "Comment order."
  },
  "videos": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 5,
   "description": "YouTube video URLs (watch, shorts, youtu.be) or 11-character ids."
  },
  "includeReplies": {
   "type": "boolean",
   "description": "Also scrape the replies under each comment."
  },
  "maxCommentsPerVideo": {
   "type": "integer",
   "maximum": 500,
   "description": "Top-level comments per video (replies come on top)."
  },
  "maxRepliesPerComment": {
   "type": "integer",
   "maximum": 20,
   "description": "Cap on replies per comment."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg",
    "text": "We're so honored that the first ever YouTube video was filmed here!",
    "likes": 4800000,
    "author": "(reviewer)",
    "isReply": false,
    "videoId": "jNQXAC9IVRw",
    "commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg",
    "isHearted": true,
    "replyCount": 986,
    "publishedTime": "6 years ago",
    "authorChannelId": null,
    "authorIsCreator": false,
    "parentCommentId": null,
    "authorIsVerified": true
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youtube-comments-scraper-max-tier-bd6513d5/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)
