# API Direct — Instagram Hashtag Posts & Reels

> API Direct — Instagram Hashtag Posts & Reels is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-30).

Fetches posts and reels for a given Instagram hashtag, sorted by top, recent, or reels, with optional AI sentiment analysis.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/instagram/hashtag/posts?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-instagram-hashtag-posts-reels-6e438044
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SkZn6YSesxEUd40C4S2aY

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 api-direct-instagram-hashtag-posts-reels-6e438044
```

Example prompt: Pull the top 2 pages of Instagram posts for the hashtag #sustainablefashion, sorted by most recent, and include AI sentiment analysis on each post.

## When to prefer this

Choose this endpoint when you need to retrieve Instagram posts or reels by hashtag at scale, especially when you want built-in deduplication across pages and optional AI emotion analysis. It is ideal for social listening, brand monitoring, influencer research, and trend detection on Instagram where direct API access is unavailable.

## Known failure modes

- Invalid or non-existent hashtag returns empty results
- Pages parameter out of range (1–10) causes validation error
- Rate limiting or Instagram-side blocking may reduce result count
- Payment failure (insufficient USDC) blocks the request
- Sentiment flag adds cost; unexpected billing if enabled unintentionally

## How this service works

Get posts and reels for any Instagram hashtag.

## Output

Returns a list of Instagram posts or reels for the specified hashtag, including post content, metadata, and (if requested) Plutchik's Wheel emotion scores per post — covering dominant emotion, intensity, polarity, and individual emotion scores. Duplicate posts across pages are removed.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hashtag"
     ],
     "properties": {
      "pages": {
       "type": "integer",
       "default": 1,
       "maximum": 10,
       "minimum": 1,
       "description": "Number of pages to fetch, 1-10 (default: 1). Each page adds up to about 30 posts; repeats across pages are removed."
      },
      "hashtag": {
       "type": "string",
       "maxLength": 100,
       "description": "Hashtag, with or without the leading # (max 100 characters)"
      },
      "sort_by": {
       "enum": [
        "top",
        "recent",
        "reels"
       ],
       "type": "string",
       "default": "top",
       "description": "Hashtag tab: top, recent, or reels (default: top)"
      },
      "get_sentiment": {
       "type": "boolean",
       "default": false,
       "description": "Set to true to add AI emotion analysis (Plutchik's Wheel) to each result. Adds +$0.001 per page to the cost. Returns emotion scores, dominant emotion, intensity, and polarity."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-instagram-hashtag-posts-reels-6e438044/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
