# Instagram Profile & Posts

> Instagram Profile & Posts is a paid API for AI agents from instagram.use.x402atlas.com, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-15).

Fetches a full Instagram profile (bio, followers, verified status) plus recent posts (captions, likes, comments, media type) for a given username

## Facts

- Endpoint: GET https://instagram.use.x402atlas.com/profile/%7Busername%7D
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/instagram-profile-posts-c25b6b98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YYMj0QYLQisL606NNydLA

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-profile-posts-c25b6b98
```

Example prompt: Pull up the Instagram profile and latest posts for @nasa — I want to see their follower count, bio, and the likes and captions on their recent posts.

## When to prefer this

Use this endpoint when you need structured Instagram profile and post data for a specific public username without building your own Instagram scraper. It is ideal for influencer research, brand monitoring, competitor analysis, or content auditing workflows where you need follower counts, engagement metrics (likes, comments), and post metadata in a single call. Prefer this over general web-scraping tools when you want a clean, structured JSON response keyed to Instagram-specific fields. Not suitable for private accounts or when you need real-time streaming of new posts.

## Known failure modes

- Username not found — 404 returned for non-existent or deleted accounts
- Private account — profile shell returned but posts may be empty or restricted
- Payment not included — 402 challenge response requiring X-PAYMENT header with USDC on Base/Polygon/Arbitrum
- Rate limiting — repeated calls in short succession may be throttled
- Instagram API changes — scraping-based endpoints can break when Instagram updates its internal structure
- Username with special characters — URL encoding issues with non-ASCII usernames

## How this service works

**Instagram Profile & Posts** on x402 Atlas — pay-per-call over the [x402 protocol](https://x402.org).

Paid routes are billed per call in USDC on Base, Polygon, or Arbitrum, starting at $0.005; each operation states its exact price below. Request a route with no payment to receive the `402` challenge, then repeat it with an `X-PAYMENT` header — an x402 client (`x402-fetch` / `x402-axios`) performs that exchange for you.

Full onboarding, quickstart, and the other APIs: https://use.x402atlas.com/docs

## Output

Returns a JSON object with two top-level keys: 'profile' (id, username, full_name, biography, bio_links, followers, following, posts_count, is_verified, is_private, has_reels, external_url) and 'posts' (array of recent posts each with id, shortcode, url, caption, likes, comments, is_video, dimensions, display_url, thumbnail_url, carousel, tagged_users, location, product_type, video_duration, accessibility_caption, and flags like comments_disabled and is_paid_partnership).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "posts": [
   {
    "id": "3502108108334577896",
    "url": "https://www.instagram.com/p/DBaVQ2Rx3Ho/",
    "likes": 812345,
    "owner": {
     "id": "528817151",
     "username": "nasa"
    },
    "caption": "A new view of the Sun's corona, captured during totality.",
    "carousel": [],
    "comments": 4102,
    "is_video": false,
    "location": {
     "id": "212999109",
     "name": "Kennedy Space Center",
     "slug": "kennedy-space-center"
    },
    "has_audio": false,
    "shortcode": "DBaVQ2Rx3Ho",
    "dimensions": {
     "width": 1080,
     "height": 1350
    },
    "display_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_1.jpg",
    "product_type": "feed",
    "tagged_users": [
     "nasahubble"
    ],
    "thumbnail_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_1_thumb.jpg",
    "comments_disabled": false,
    "is_paid_partnership": false,
    "accessibility_caption": "Photo by NASA of the Sun's corona against a black sky.",
    "like_and_view_counts_disabled": false
   },
   {
    "id": "3498765432109876543",
    "url": "https://www.instagram.com/p/DBOxK1LvQ8m/",
    "likes": 1204553,
    "owner": {
     "id": "528817151",
     "username": "nasa"
    },
    "title": "Artemis II crew training",
    "caption": "Artemis II crew training, in 60 seconds.",
    "carousel": [],
    "comments": 8891,
    "is_video": true,
    "has_audio": true,
    "shortcode": "DBOxK1LvQ8m",
    "dimensions": {
     "width": 1080,
     "height": 1920
    },
    "display_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_2.jpg",
    "product_type": "clips",
    "tagged_users": [],
    "thumbnail_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_2_thumb.jpg",
    "video_duration": 58.6,
    "comments_disabled": false,
    "is_paid_partnership": false,
    "accessibility_caption": "Video by NASA of astronauts in training suits.",
    "like_and_view_counts_disabled": false
   }
  ],
  "profile": {
   "id": "528817151",
   "username": "nasa",
   "bio_links": [
    {
     "url": "https://www.nasa.gov/",
     "title": "NASA",
     "link_type": "external"
    }
   ],
   "biography": "Exploring the universe and our home planet.",
   "followers": 97600000,
   "following": 78,
   "full_name": "NASA",
   "has_reels": true,
   "has_guides": false,
   "is_private": false,
   "has_channel": false,
   "is_verified": true,
   "posts_count": 4212,
   "external_url": "https://www.n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/instagram-profile-posts-c25b6b98/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from instagram.use.x402atlas.com](https://www.zero.xyz/host/instagram.use.x402atlas.com/llms.txt)
