# agdata YouTube Comments Fetcher

> agdata YouTube Comments Fetcher is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.018/call, status unknown (last checked 2026-10-10).

Fetches YouTube video comments as structured data, sorted by top or newest, paid per call via stablecoin

## Facts

- Endpoint: POST https://agdata.shveik.dev/v1/mpp/youtube-comments?utm_source=zero.xyz
- Price: $0.018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-youtube-comments-fetcher-49855457
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IAVzGHH0AwAXs6EiJStGo

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 agdata-youtube-comments-fetcher-49855457 -d '<json body>'
```

Example prompt: Can you grab the top 50 comments from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — sorted by top?

## When to prefer this

Choose this endpoint when you need structured YouTube comment data without setting up a Google API key or managing OAuth. It is ideal for agents that need to quickly extract comments for sentiment analysis, brand monitoring, or content research on a per-call basis with no account setup, paying only for what is used in USDC stablecoins.

## Known failure modes

- Invalid or inaccessible YouTube URL returns an error
- Video with disabled comments returns empty result or error
- Limit exceeding maximum of 100 is rejected with validation error
- Payment failure (insufficient USDC) blocks the request
- Rate limiting if called too frequently
- Private or age-restricted videos may not return comments

## How this service works

Unblock any URL as Markdown, or get search, social, maps, jobs and news as data. Paid per call in stablecoins over x402 or MPP, with no account.

## Output

Returns an array of comment objects, each containing a unique comment ID, the comment text, whether it is pinned or a reply, whether the video owner liked it, the relative posted time, the number of likes, and the number of replies. Text truncation flag is included to signal if the comment was cut off.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 300
  },
  "sort": {
   "enum": [
    "top",
    "newest"
   ],
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "Ugzge340…",
  "text": "can conf…",
  "pinned": null,
  "byOwner": false,
  "isReply": false,
  "postedAt": "1 year a…",
  "likeCount": 323000,
  "ownerLiked": true,
  "replyCount": 962,
  "textTruncated": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-youtube-comments-fetcher-49855457/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
