# Syra X (Twitter) Account Analyzer

> Syra X (Twitter) Account Analyzer is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.024/call, status unknown (last checked 2026-09-15).

Fetches and analyzes an X (Twitter) user's recent tweets, returning engagement metrics and an optional AI-generated bullet summary for trader research.

## Facts

- Endpoint: GET https://api.syraa.fun/x-analyzer
- Price: $0.024/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/syra-x-twitter-account-analyzer-27b766af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GNHuJ85RIJQqu1CRJmN--

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 syra-x-twitter-account-analyzer-27b766af
```

Example prompt: Pull the last 30 tweets from X user 'solana_whale' and give me an AI-generated bullet summary of what they've been talking about — I want to know if there are any trading signals.

## When to prefer this

Use this endpoint when you need to research an X/Twitter account's recent activity for trading intelligence on Solana, especially when you want an AI-summarized digest of a trader or influencer's tweets alongside raw engagement data. Prefer this over generic Twitter scrapers when working within the Syra pay-per-call ecosystem on x402.

## Known failure modes

- Username not found or account is private — returns error with user not found message
- max_results out of range (must be 5–50) — validation error
- X API rate limit exceeded — upstream rate limit error
- OpenRouter AI summary failure when includeAiSummary is true — may return partial result without summary
- Payment not completed — 402 response requiring USDC payment before data is returned

## How this service works

Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.

## Output

Returns a JSON object with ok and paid status flags, tweet data for the specified X username (up to 50 tweets), engagement metrics, and optionally an LLM-generated bullet-point summary of the account's recent activity.

## 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",
     "queryParams": {
      "username": {
       "type": "string",
       "required": false,
       "description": "X username without @ (default syra_agent)"
      },
      "max_results": {
       "type": "number",
       "required": false,
       "description": "Tweet sample size 5–50 (default 20)"
      },
      "includeAiSummary": {
       "type": "boolean",
       "required": false,
       "description": "If true, append grounded LLM bullet summary (OpenRouter)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/syra-x-twitter-account-analyzer-27b766af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.syraa.fun](https://www.zero.xyz/host/api.syraa.fun/llms.txt)
