# Instagram Scraper API (x402 Pay-per-call)

> Instagram Scraper API (x402 Pay-per-call) 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 public Instagram posts, reels, and profile details by search term or direct URL, returning structured JSON data on a pay-per-call basis.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/instagram?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-scraper-api-x402-pay-per-call-3fa5ead6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HQYd_wkI0F23QUNBlrszT

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-scraper-api-x402-pay-per-call-3fa5ead6 -d '<json body>'
```

Example prompt: Search Instagram for the top 12 posts about 'sustainable fashion' and pull full details including captions, hashtags, timestamps, and engagement counts for each one.

## When to prefer this

Choose this endpoint when you need structured Instagram data (posts, reels, or profile details) without maintaining your own scraping infrastructure. It is ideal for agents that need on-demand, pay-per-use Instagram data with no subscription commitment. Prefer it over browser automation when you need clean JSON output quickly, and over the official Instagram API when you need public data without OAuth or app review. Best suited for public content discovery, competitor research, hashtag analysis, and content audits.

## Known failure modes

- Private or restricted accounts return no data — the scraper only accesses public content
- Instagram rate limiting or anti-scraping measures may result in empty results (not charged)
- Invalid or deleted URLs return empty item arrays
- Search terms that match no public discovery feed posts return zero items
- Date filters requiring visible timestamps may exclude posts where timestamps are hidden

## 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 results and an array of items, each containing fields such as post ID, URL, type, caption, hashtags, short code, record type, and product type. When includePostDetails is true, items also include timestamps, engagement counts (likes, comments), media dimensions, and direct media links.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "search": {
   "type": "string",
   "description": "Comma-separated terms for public popular-search posts. Leave blank when using URLs. Search is an approximate public discovery feed."
  },
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Stop after this many records across all targets. Zero means no additional cap."
  },
  "directUrls": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Public profile, post, or reel URLs. URLs take priority over search terms."
  },
  "resultsType": {
   "enum": [
    "posts",
    "reels",
    "details"
   ],
   "type": "string",
   "default": "posts",
   "description": "Choose posts, reels, or public profile details."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 12,
   "minimum": 1,
   "description": "Maximum posts or reels per URL or search term. Public pages currently expose up to 12 feed items per target."
  },
  "includePostDetails": {
   "type": "boolean",
   "default": true,
   "description": "Visit each post to add available timestamps, engagement counts, dimensions, and media links. This uses more requests."
  },
  "onlyPostsNewerThan": {
   "type": "string",
   "description": "Optional ISO date or relative age such as 7 days or 2 months. Requires a visible post timestamp."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "url": null,
    "type": null,
    "caption": null,
    "hashtags": null,
    "shortCode": null,
    "recordType": null,
    "productType": null
   }
  ],
  "product": "instagram"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/instagram-scraper-api-x402-pay-per-call-3fa5ead6/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)
