# Apify Instagram Comment Scraper via StableApify

> Apify Instagram Comment Scraper via StableApify is a paid API for AI agents from stableapify.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Scrapes comments (and optionally nested replies) from Instagram post or reel URLs, returning structured comment data per-URL.

## Facts

- Endpoint: POST https://stableapify.dev/api/actors/apify/instagram-comment-scraper/call
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apify-instagram-comment-scraper-via-stableapify-672d8a61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vWqf3loenjAsGARy1ylBP

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 apify-instagram-comment-scraper-via-stableapify-672d8a61 -d '<json body>'
```

Example prompt: Scrape the top 50 comments from this Instagram post — https://www.instagram.com/p/ABC123/ — and include any nested replies too.

## When to prefer this

Use this endpoint when you need structured comment data from specific Instagram posts or reels without managing your own scraping infrastructure. Prefer it over generic web scrapers when you need Instagram-specific comment formatting including nested replies, and when you want pay-per-call pricing via USDC rather than a subscription. Best suited for targeted extraction from known URLs rather than broad discovery.

## Known failure modes

- Invalid or private Instagram URL returns empty results or access error
- Instagram rate limiting or anti-bot measures may cause partial results
- resultsLimit not met if the post has fewer comments than requested
- Payment failure via x402/MPP blocks the run before it starts
- Actor memory limit exceeded for very large comment sets causing truncation

## How this service works

Search Apify Store actors, start actor runs, and fetch results over x402 and MPP.

## Output

Returns an array of comment objects, each containing the comment text, author username, timestamp, and (if includeNestedComments is true) any nested reply objects. Results are paginated up to the resultsLimit per input URL, with replies counted separately toward the total.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "directUrls"
   ],
   "properties": {
    "directUrls": {
     "type": "array",
     "items": {
      "type": "string"
     },
     "description": "Add one or multiple URLs to scrape comments from - posts or reels. You can add URLs one by one or upload a list using the Bulk edit option."
    },
    "resultsLimit": {
     "type": "integer",
     "maximum": 9007199254740991,
     "minimum": 1,
     "description": "Set the number of comments you expect to scrape from each post or reel. If set to 5 , you will get 5 comments per URL. If you add 2 URLs, you will extract 10 results altogether. ❗️ If you choose to scrape replies as well, the total number will be greater than you set for comments."
    },
    "includeNestedComments": {
     "type": "boolean",
     "description": "This feature is for paying users only. If checked, the scraper will extract replies for each comment. ⚠️ Note that each reply/comment will be displayed as a separate result, so you'll get more results in total than you set in `resultsLimit` section above."
    }
   },
   "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": "integer",
     "maximum": 100000,
     "minimum": 1
    }
   },
   "description": "Optional Apify run options.",
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apify-instagram-comment-scraper-via-stableapify-672d8a61/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)
