# YouTube Comments Scraper (stableapify.dev)

> YouTube Comments Scraper (stableapify.dev) is a paid API for AI agents from stableapify.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Starts an Apify actor run that extracts comments data from one or more YouTube videos, with no API quotas or limits.

## Facts

- Endpoint: POST https://stableapify.dev/api/actors/streamers/youtube-comments-scraper/call?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youtube-comments-scraper-stableapify-dev-2d5223e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YiuiVzLi3sZeJrn7dnBxH

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-stableapify-dev-2d5223e5 -d '<json body>'
```

Example prompt: Scrape all comments from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — and give me the full comment text and posting dates, up to 500 comments.

## When to prefer this

Use this endpoint when you need to extract YouTube comments at scale without hitting the YouTube Data API's strict quotas, when you need full comment text and metadata from multiple videos in one run, or when you need a pay-per-call model rather than managing your own API credentials and quota limits.

## Known failure modes

- Invalid or unavailable YouTube video URL returns an error or empty dataset
- Comments disabled on the video results in an empty dataset
- Insufficient memory allocation causes the actor run to fail
- Invalid input schema (missing video URL) returns a 400 error
- Actor run timeout if too many comments requested with insufficient resources
- Payment failure via x402 prevents run from starting

## How this service works

Start the "YouTube Comments Scraper" Apify actor (streamers/youtube-comments-scraper). This alternative YouTube Data API has no limits or quotas. Extract YouTube comments data from one or multiple YouTube videos: full comment text, posting date,…

## Output

Returns an Apify actor run object with a run ID, status (READY), actor ID, start timestamp, default dataset ID where results will be stored, and a JWT access token to poll for results or retrieve the scraped comment data.

## Example request

```json
{
 "input": {
  "bbox": {
   "east": -73.9,
   "west": -74,
   "north": 40.8,
   "south": 40.7
  },
  "maxItems": 50,
  "listingType": "for_sale",
  "extractionMethod": "MAP_MARKERS"
 },
 "options": {
  "memory": 2048
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "startUrls",
    "maxComments",
    "sortCommentsBy"
   ],
   "properties": {
    "startUrls": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "url"
      ],
      "properties": {
       "url": {
        "type": "string",
        "format": "uri"
       },
       "method": {
        "type": "string"
       },
       "headers": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {
         "type": "string"
        }
       },
       "payload": {
        "type": "string"
       },
       "userData": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "additionalProperties": false
     },
     "default": [],
     "description": "Enter a link to a specific Youtube video YouTube video . You can also import a CSV file or Google Sheet with a list of URLs."
    },
    "maxComments": {
     "type": "integer",
     "default": 1,
     "maximum": 9007199254740991,
     "minimum": 1,
     "description": "Limit the number of comments you want to scrape per video."
    },
    "sortCommentsBy": {
     "enum": [
      "TOP_COMMENTS",
      "NEWEST_FIRST"
     ],
     "type": "string",
     "default": "NEWEST_FIRST",
     "description": "Select Youtube sorting parameter for comments"
    },
    "oldestCommentDate": {
     "type": "string",
     "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])(T[0-2]\\d:[0-5]\\d(:[0-5]\\d)?(\\.\\d+)?Z?)?$|^(\\d+)\\s*(minute|hour|day|week|month|year)s?$",
     "description": "Only comments published after or on this date will be scraped. Alternatively, specify how old the scraped comments should be. Putting 1 day will get you only today's comments, 2 days - yesterday's and today's, and so on. Note, that if you select this, sorting parameter will be auto-reset to newest first"
    }
   },
   "description": "Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).",
   "additionalProperties": {}
  },
  "options": {
   "type": "object",
   "properties": {
    "build": {
     "type": "string",
     "maxLength": 100,
     "minLength": 1
    },
    "memory": {
     "type": "integer",
     "maximum": 32768,
     "minimum": 128
    },
    "maxItems": {
     "type": "intege
… (truncated)
```

## More

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