# botsmith Instagram Recent Posts

> botsmith Instagram Recent Posts is a paid API for AI agents from x402.botsmith.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Fetch up to 12 recent posts from a public Instagram account by username, returning permalink, caption, like/comment counts, timestamp, and video flag as clean JSON

## Facts

- Endpoint: GET https://x402.botsmith.dev/ig/posts
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Success rate: 0% of calls made through Zero
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/botsmith-instagram-recent-posts-11bb8bf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I7_Ry0OM06zkc_EiBRrOj

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 botsmith-instagram-recent-posts-11bb8bf4
```

Example prompt: Grab the last 12 posts from the Instagram account @natgeo — I want the captions, like counts, comment counts, timestamps, and links for each post.

## When to prefer this

Choose this endpoint when you need recent post content and engagement metrics from a public Instagram account without requiring an Instagram developer account or API credentials. It is ideal for quick one-shot lookups of up to 12 posts, influencer research, brand monitoring, or social analytics pipelines where OAuth setup is impractical. Prefer a direct Instagram Graph API integration if you need more than 12 posts, need private account data with user consent, or require real-time webhook-based updates.

## Known failure modes

- Private or nonexistent Instagram account returns an empty posts array or error
- Username pattern validation failure (invalid characters or length > 30) returns a 400-level error
- Instagram rate limiting or anti-scraping measures may cause intermittent failures or empty results
- Recently created accounts with no posts return a count of 0 and an empty posts array
- Network timeout if Instagram is slow to respond

## How this service works

Instagram Recent Posts ($0.006/call): Fetch up to 12 recent posts from a public Instagram account by username: permalink, caption, like and comment counts, ISO timestamp, video flag, as clean JSON. One call resolves the username and returns the posts. No Instagram account or API key needed.

## Output

A JSON object containing the resolved username, the number of posts returned (up to 12), and an array of post objects each with: Instagram shortcode, post permalink URL, caption text, like count, comment count, ISO 8601 timestamp, and a boolean indicating whether the post is a video.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._]{1,30}$",
       "description": "Instagram username, without the leading @"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "username",
      "count",
      "posts"
     ],
     "properties": {
      "count": {
       "type": "integer",
       "maximum": 9007199254740991,
       "minimum": -9007199254740991,
       "description": "Number of posts returned (max 12)"
      },
      "posts": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "code",
         "url",
         "caption",
         "likes",
         "comments",
         "takenAt",
         "isVideo"
        ],
        "properties": {
         "url": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ],
          "description": "Post permalink"
         },
         "code": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ],
          "description": "Instagram shortcode"
         },
         "likes": {
          "anyOf": [
           {
            "type": "integer",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991
           },
           {
            "type": "null"
           }
          ]
         },
         "caption": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "isVideo": {
          "type": "boolean"
         },
         "takenAt": {
          "anyOf": [
           {
            "type": "string"
           },
          
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/botsmith-instagram-recent-posts-11bb8bf4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.botsmith.dev](https://www.zero.xyz/host/x402.botsmith.dev/llms.txt)
