# Instagram Comments Scraper (x402)

> Instagram Comments Scraper (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes and returns structured comments from public Instagram posts or reels given their URLs, charging only on successful results.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/instagram-comments?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/instagram-comments-scraper-x402-7a885815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8joiCgm6C0eRilMntT3G-

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 instagram-comments-scraper-x402-7a885815 -d '<json body>'
```

Example prompt: Can you pull the comments from these two Instagram posts — https://www.instagram.com/p/ABC123/ and https://www.instagram.com/p/XYZ789/ — and give me up to 15 comments per post, capped at 20 comments total?

## When to prefer this

Choose this endpoint when you need structured, per-comment data from specific public Instagram posts or reels without managing your own scraping infrastructure. It is ideal for pay-per-use scenarios where you only want to pay for successful data extractions. Prefer it over general-purpose scrapers when you need Instagram-specific fields like likes count, comment URL, and position out of the box.

## Known failure modes

- Private or restricted Instagram profiles return no results and are not charged
- Invalid or malformed Instagram URLs result in empty or error responses
- Instagram's public page may only expose 10–14 comments even if a higher limit is requested
- Rate limiting or bot detection by Instagram may result in partial or empty results
- Deleted or expired posts return no data

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of retrieved items and an array of comment objects, each containing the comment ID, text content, associated post ID and URL, position in the comment thread, timestamp, direct comment URL, and number of likes on the comment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Maximum comments across all URLs. Set to 0 for no total cap."
  },
  "directUrls": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Public Instagram post or reel URLs. Add one or more links; each link yields the comments exposed on its public page."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 15,
   "minimum": 1,
   "description": "Maximum comments to save from each URL. The public page often exposes only about 10 to 14 comments, even when a larger limit is entered."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "text": null,
    "postId": null,
    "postUrl": null,
    "position": null,
    "timestamp": null,
    "commentUrl": null,
    "likesCount": null
   }
  ],
  "product": "instagram-comments"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/instagram-comments-scraper-x402-7a885815/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
