# API Direct – Twitter/X User Replies

> API Direct – Twitter/X User Replies 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 replies posted by a specific Twitter/X user, with optional AI-powered sentiment and emotion analysis per reply.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/twitter/user/replies?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-twitter-x-user-replies-cc6c0680
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1kz7R37YIVtES9pa1Z3Gt

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-twitter-x-user-replies-cc6c0680
```

Example prompt: Pull the last 3 pages of replies posted by Twitter user elonmusk and include sentiment analysis for each reply so I can see his emotional tone.

## When to prefer this

Use this endpoint when you need the reply activity of a specific Twitter/X user rather than their original tweets or retweets. It is ideal for conversational analysis, engagement research, sentiment audits of public figures, or brand monitoring where replies reveal how someone interacts with others. The optional AI sentiment layer makes it superior to raw scraping when emotional tone or polarity data is needed alongside tweet content.

## Known failure modes

- Username not found or account is private — returns an empty result or error
- Invalid or suspended Twitter account — endpoint may return an error response
- Requesting more pages than available — fetching stops early when results are exhausted
- Rate limiting or upstream Twitter API unavailability — may return a timeout or 5xx error
- Malformed username input (e.g. too long) — rejected by schema validation

## How this service works

Get replies posted by a specific Twitter/X user.

## Output

Returns a merged list of reply tweets posted by the specified Twitter/X user across the requested number of pages. Each reply includes standard tweet data. When sentiment analysis is enabled, each reply also includes an emotions object (joy, trust, fear, surprise, sadness, disgust, anger, anticipation — each scored 0–100), a dominant_emotion field, an emotional_intensity score (0–10), and a polarity classification (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": [
      "username"
     ],
     "properties": {
      "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). Fetching stops early when there are no more results."
      },
      "username": {
       "type": "string",
       "maxLength": 50,
       "description": "Twitter username without the @ symbol (max 50 characters). A leading @ is accepted and stripped."
      },
      "get_sentiment": {
       "type": "boolean",
       "default": false,
       "description": "Set to true to add AI emotion analysis to each reply. 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 reply"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-twitter-x-user-replies-cc6c0680/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)
