# SocialFetch YouTube Video Comments

> SocialFetch YouTube Video Comments is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-14).

Fetches a paginated list of comments on a YouTube video, given its URL, with optional sort order.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/youtube/videos/comments
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-youtube-video-comments-5a1451e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nLypMUqd88p2u-oXCrg77

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 socialfetch-youtube-video-comments-5a1451e4
```

Example prompt: Can you pull the top comments from this YouTube video for me? https://www.youtube.com/watch?v=dQw4w9WgXcQ — sorted by top-ranked.

## When to prefer this

Use this endpoint when you need to programmatically retrieve comments from a YouTube video by URL, especially when you want to sort by top or newest and paginate through large comment threads. Prefer this over manual scraping or YouTube Data API when you want a simple, pay-per-call REST interface without OAuth setup.

## Known failure modes

- Invalid or non-YouTube URL returns an error
- Video has comments disabled returns empty list or error
- Malformed or expired pagination cursor returns an error
- Rate limiting or quota exceeded returns a 429-style error
- Private or deleted video returns an error

## How this service works

List comments on a YouTube video by URL.

## Output

A paginated list of comments on the specified YouTube video, including comment text and metadata, along with an opaque cursor for fetching subsequent pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Link to the YouTube video whose comments should be listed."
      },
      "order": {
       "enum": [
        "top",
        "newest"
       ],
       "type": "string",
       "description": "Comment sort order. `top` returns highest-ranked comments; `newest` returns the most recent comments."
      },
      "cursor": {
       "type": "string",
       "minLength": 1,
       "description": "Opaque cursor from a previous response to fetch the next page."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-youtube-video-comments-5a1451e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
