# AnyAPI YouTube Video Comments Scraper

> AnyAPI YouTube Video Comments Scraper is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches comments from a YouTube video by video ID or URL, returning structured comment data via a pay-per-request API.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/youtube.video_comments
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-youtube-video-comments-scraper-4f0f8887
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XLzE1b0MkmA9gKcXguacf

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 anyapi-youtube-video-comments-scraper-4f0f8887 -d '<json body>'
```

Example prompt: Can you pull all the comments from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — so I can see what people are saying about it?

## When to prefer this

Choose this endpoint when you need to programmatically extract YouTube video comments without managing a YouTube Data API quota, setting up OAuth, or paying a monthly subscription. Ideal for one-off or low-frequency comment scraping tasks billed at $0.002 per call via x402/USDC.

## Known failure modes

- Invalid or missing video ID returns an error response
- Video with comments disabled returns empty or error result
- Private or deleted video returns access error
- Rate limit or payment failure returns 402 or error
- Malformed URL or ID format causes parsing failure

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON object containing a list of comments for the specified YouTube video, including comment text, author name, timestamp, like count, and reply count per comment.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-youtube-video-comments-scraper-4f0f8887/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
