# AnyAPI Instagram User Posts

> AnyAPI Instagram User Posts is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14, last successful call 2026-08-13).

Fetches paginated posts for a given Instagram username, returning post URLs, captions, likes, comments, and timestamps

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/instagram.user_posts
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-08-13
- Success rate: 97% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 219
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-instagram-user-posts-341d6ac7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hZuDLCRL4uiSbjCBW1R3E

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 anyapi-instagram-user-posts-341d6ac7 -d '<json body>'
```

Example prompt: Can you pull the recent posts from Instagram user 'natgeo' — I want to see their post URLs, captions, like counts, and comment counts?

## When to prefer this

Use this endpoint when you need to programmatically retrieve an Instagram user's public post feed with engagement metrics (likes, comments) without managing Instagram API credentials or OAuth. Ideal for influencer research, content auditing, social monitoring, or competitive analysis. Prefer over direct Instagram API when you want pay-per-call pricing with no subscription or OAuth setup.

## Known failure modes

- User not found: found=false, data=null returned when the Instagram handle doesn't exist or is private
- Invalid handle format: error if handle includes @ symbol or is malformed
- Rate limiting or Instagram blocking: upstream scraper may fail intermittently
- Empty results: account exists but has no public posts
- Invalid cursor: pagination fails if a stale or invalid nextCursor is supplied

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a list of Instagram posts for the given handle, each containing post ID, URL, caption text, like count, comment count, and creation date, plus a nextCursor for fetching the next page of results. Also includes a boolean indicating whether the user was found.

## Example request

```json
{
 "handle": "natgeo"
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-instagram-user-posts-341d6ac7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
