# Rotary Agency — Instagram Posts by Username

> Rotary Agency — Instagram Posts by Username is a paid API for AI agents from rotaryagency.uk, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-12).

Fetches recent Instagram posts for a given username, returning structured post metadata including captions, likes, comments, timestamps, media URLs, and hashtags.

## Facts

- Endpoint: GET https://rotaryagency.uk/api/instagram/posts/%7Busername%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rotary-agency-instagram-posts-by-username-80b51725
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zUdPiFE_FqC6BKLTn2ZMD

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 rotary-agency-instagram-posts-by-username-80b51725
```

Example prompt: Pull the latest Instagram posts from the account @natgeo — I want to see the captions, like counts, comment counts, and any hashtags they're using.

## When to prefer this

Choose this endpoint when you need structured post-level data from a public Instagram profile without setting up Instagram Graph API credentials or going through Meta's app review process. It's ideal for ad-hoc agent workflows, competitor research, influencer analysis, or brand monitoring where pay-per-call via USDC is preferred over monthly subscriptions or API key management.

## Known failure modes

- Private or non-existent account returns empty array or 404-equivalent error
- Username not found returns an error response
- Instagram rate limiting or blocking may cause intermittent failures
- Scraping may lag behind real-time — very recent posts may not appear immediately
- Payment failure via x402 returns 402 with payment details required

## How this service works

AI-agent-friendly data marketplace. 206 endpoints: read any webpage, Exa semantic search, YouTube transcripts + search, dev.to, OpenAlex + PubMed scholarly search, Hacker News, Wikipedia, RSS, npm, PyPI, GitHub, arXiv, Stack Exchange, V2EX, Bilibili, plus Google Maps, LinkedIn, Reddit, Instagram, Airbnb. Pay per request with USDC via x402 — no keys, no signup.

## Output

A JSON array of InstagramPost objects, each containing: post ID, shortcode, media type (photo/video/carousel), caption text, like count, comment count, UTC timestamp, image URL, video URL (if applicable), a boolean indicating if the post is sponsored, and an array of hashtags extracted from the caption.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "posts": "InstagramPost[] — id, shortcode, type, caption, likes, comments, timestamp, image_url, video_url, is_sponsored, hashtags"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rotary-agency-instagram-posts-by-username-80b51725/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rotaryagency.uk](https://www.zero.xyz/host/rotaryagency.uk/llms.txt)
