# agdata Instagram Scraper

> agdata Instagram Scraper is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.0108/call, status unknown (last checked 2026-09-14).

Scrapes public Instagram posts by profile, hashtag, keyword search, or user lookup and returns structured JSON results, billed per call in USDC

## Facts

- Endpoint: POST https://agdata.shveik.dev/mpp/instagram
- Price: $0.0108/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-instagram-scraper-95db8a2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rrk5PlvXKr_b25VN2gvWf

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 agdata-instagram-scraper-95db8a2c -d '<json body>'
```

Example prompt: Pull the 10 most recent posts from the Instagram profile 'natgeo' and give me the structured data — captions, likes, and timestamps.

## When to prefer this

Choose this endpoint when an AI agent needs to extract public Instagram data on demand without managing API keys, OAuth flows, or subscriptions — especially useful for one-off lookups, agent pipelines that need fresh social data, or situations where pay-per-call economics are preferred over monthly platform fees. It is specifically suited for Instagram profile posts, hashtag feeds, and keyword searches, not for private data or Instagram Stories.

## Known failure modes

- Private or restricted Instagram accounts return no results
- Rate limiting or Instagram anti-scraping blocks may result in empty or partial results
- Invalid or nonexistent usernames/hashtags return empty result sets
- Exceeding the maximum limit of 20 is clamped silently
- Payment failure in USDC via x402 prevents the call from completing
- Malformed mode enum value causes request rejection

## How this service works

Web scraping API for AI agents: extract public data from Instagram, TikTok, and Google Maps as clean structured JSON, billed pay-per-result in USDC on Base via the x402 exact scheme. An agent-native alternative to web-scraping platforms like Apify, Bright Data, and ScraperAPI — no API keys, no accounts, no subscriptions: the agent just pays per call.

## Output

A structured JSON array of Instagram posts matching the query, including post captions, media metadata, engagement data, timestamps, and user info, capped at the requested limit (1–20 results).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "profile",
    "hashtag",
    "search",
    "user"
   ],
   "type": "string",
   "description": "profile=account's posts, hashtag=posts under a tag, search=keyword→posts, user=posts from matching users"
  },
  "limit": {
   "type": "integer",
   "default": 5,
   "maximum": 20,
   "minimum": 1,
   "description": "max results returned (clamped to this range)"
  },
  "query": {
   "type": "string",
   "description": "username (profile), hashtag without #, or search keywords"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-instagram-scraper-95db8a2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
