# x402 Facilitator • Dexter – Twitter/X Topic Analyzer

> x402 Facilitator • Dexter – Twitter/X Topic Analyzer is a paid API for AI agents from x402.dexter.cash, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-02).

Analyzes a Twitter/X topic or question by fetching and summarizing tweets, returning engagement metrics, narrative summaries, and highlighted representative tweets.

## Facts

- Endpoint: POST https://x402.dexter.cash/api/tools/twitter/analyze?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-facilitator-dexter-twitter-x-topic-analyzer-5737e578
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zBGtY2qBRX7nOCRXrVBtH

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 x402-facilitator-dexter-twitter-x-topic-analyzer-5737e578 -d '<json body>'
```

Example prompt: Can you analyze what people are saying on Twitter about 'AI regulation' over the last 48 hours, focusing on accounts like @elonmusk and @sama, using up to 30 tweets with at least 50 engagement, and give me a narrative summary with highlights?

## When to prefer this

Use this endpoint when you need a structured, summarized analysis of Twitter/X discourse on a specific topic, keyword set, or account group — especially when you want engagement-filtered highlights and a narrative summary rather than raw tweet data. Prefer it over generic search when you need bucketed highlights, conversation thread analysis, or multi-account focus with engagement thresholds.

## Known failure modes

- twitter_analyze_timeout – upstream Twitter data fetch timed out, ok=false with status code
- Invalid topic or empty query – no tweets found matching criteria
- Rate limiting or payment failure – x402 payment not processed, request rejected
- maxTweets out of range (must be 10-50) – validation error
- lookbackHours out of range (must be 1-168) – validation error

## How this service works

Twitter/X topic analysis with engagement metrics and highlights.

## Output

A structured JSON payload with ok=true and a result object containing a narrative summary of the topic, aggregated engagement metrics, and highlighted representative tweets bucketed by theme or relevance. On failure, ok=false with an error code (e.g. twitter_analyze_timeout) and an upstream HTTP status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "topic": {
   "type": "string",
   "description": "Main topic or question to analyze."
  },
  "accounts": {
   "type": "array",
   "description": "Handles to focus on."
  },
  "keywords": {
   "type": "array",
   "description": "Keywords/hashtags to include."
  },
  "language": {
   "type": "string",
   "description": "ISO language code filter."
  },
  "maxTweets": {
   "type": "integer",
   "description": "Maximum tweets to analyze (10-50)."
  },
  "summarize": {
   "type": "boolean",
   "description": "Return narrative summary (default true)."
  },
  "includeQuotes": {
   "type": "boolean",
   "description": "Include quotes (default true)."
  },
  "lookbackHours": {
   "type": "integer",
   "description": "Time window in hours (1-168)."
  },
  "minEngagement": {
   "type": "integer",
   "description": "Minimum likes+reposts+replies required."
  },
  "conversationId": {
   "type": "string",
   "description": "Conversation/tweet ID for thread analysis."
  },
  "includeReplies": {
   "type": "boolean",
   "description": "Include replies (default true)."
  },
  "highlightsPerBucket": {
   "type": "integer",
   "description": "Representative tweets per highlight bucket (1-10)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean"
 },
 "error": {
  "type": "string",
  "description": "Error code when ok=false (e.g. twitter_analyze_timeout)."
 },
 "result": {
  "type": "object",
  "description": "Structured analysis payload (summary, metrics, highlights)."
 },
 "status": {
  "type": [
   "integer",
   "null"
  ],
  "description": "Upstream or timeout HTTP status when ok=false."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-facilitator-dexter-twitter-x-topic-analyzer-5737e578/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dexter.cash](https://www.zero.xyz/host/x402.dexter.cash/llms.txt)
