# API Direct – Bluesky User Feed (Posts, Replies & Reposts)

> API Direct – Bluesky User Feed (Posts, Replies & Reposts) is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-30).

Fetches a Bluesky user's feed by handle or profile URL, returning their posts, replies, and reposts in feed order (pinned first, then newest first), each labeled with is_reply, is_repost, and is_pinned flags, with optional AI sentiment analysis.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/bluesky/user/posts?utm_source=zero.xyz
- Price: $0.004/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-bluesky-user-feed-posts-replies-reposts-cf330aa5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UpSoFPqw_CFQGTwFxur9P

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-bluesky-user-feed-posts-replies-reposts-cf330aa5
```

Example prompt: Pull the last 2 pages of posts, replies, and reposts from the Bluesky account @paul.bsky.social — include sentiment analysis on each item so I can see the emotional tone of their recent activity.

## When to prefer this

Choose this endpoint when you need a complete, ordered view of a Bluesky user's content activity — including posts, replies, and reposts — in one unified feed. It is especially useful for social listening, content auditing, or profiling a specific account, particularly when optional emotion/sentiment scoring per post is needed. Prefer this over search-based endpoints when you know the exact handle or profile URL and want chronological feed data rather than keyword-filtered results.

## Known failure modes

- Unknown or non-existent Bluesky handle returns a 404 or empty result set
- Providing neither username nor url results in a validation error
- Requesting more than 20 pages triggers a schema validation error
- Private or suspended accounts may return empty or restricted results
- Rate limiting or upstream Bluesky API downtime may cause 5xx errors
- Sentiment analysis adds latency and may time out for large page counts

## How this service works

Get a user's feed by handle: their posts, replies, and reposts in feed order (the pinned post first, then newest first), each flagged with is_reply, is_repost, and is_pinned.

## Output

A merged, paginated list of the user's Bluesky feed items in feed order (pinned post first, then newest first). Each item includes post content, timestamps, and boolean flags: is_reply, is_repost, and is_pinned. If sentiment analysis is requested, each item also includes a sentiment object with scores (0–100) for eight emotions (joy, trust, fear, surprise, sadness, disgust, anger, anticipation), a dominant_emotion, emotional_intensity (0–10), and a polarity label (positive, negative, or neutral).

## 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": [],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 500,
       "description": "Bluesky profile URL, e.g. https://bsky.app/profile/bsky.app (max 500 characters). Provide either username or url."
      },
      "pages": {
       "type": "integer",
       "default": 1,
       "maximum": 20,
       "minimum": 1,
       "description": "Number of pages to fetch and merge into one response (1-20, billed per page returned). Each page returns up to 50 results. Fetching stops early when there are no more results."
      },
      "username": {
       "type": "string",
       "maxLength": 100,
       "description": "Bluesky handle, e.g. bsky.app, with or without leading @, or the account's DID (max 100 characters). Provide either username or url."
      },
      "get_sentiment": {
       "type": "boolean",
       "default": false,
       "description": "Set to true to add AI emotion analysis to each result. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any item"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-bluesky-user-feed-posts-replies-reposts-cf330aa5/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)
