# x402.twit.sh User Insights Workflow

> x402.twit.sh User Insights Workflow is a paid API for AI agents from x402.twit.sh, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-30).

Returns structured account metadata and a month-by-month tweet volume breakdown for the past 12 months for a given Twitter/X username

## Facts

- Endpoint: GET https://x402.twit.sh/workflows/userInsights?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-twit-sh-9be042f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mbhT1h1Ksovk5_2JEVDpk

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-twit-sh-9be042f6
```

Example prompt: Give me a full user intelligence report on Twitter user @elonmusk — I want their account metadata like location, verification status, and username history, plus a month-by-month breakdown of how many tweets they've posted over the last 12 months.

## When to prefer this

Use this endpoint when you need a comprehensive, time-series view of a Twitter user's posting behavior combined with account metadata in a single call. Prefer this over the basic profile lookup when you need historical activity analysis, cadence tracking, or growth pattern research rather than just a snapshot of current profile data.

## Known failure modes

- Missing or invalid username parameter returns an error
- Private or suspended Twitter accounts may return empty or partial data
- Rate limits on the underlying Twitter/X search may reduce tweet count accuracy
- Username not found returns null user data
- Payment failure (insufficient USDC balance) blocks the request

## How this service works

Deep user intelligence workflow. For a given Twitter/X username, returns structured account metadata (location, verification status, blue check date, username history) alongside a month-by-month tweet volume breakdown for the past 12 months. Each month fetches up to 5 pages of search results (up to ~100 tweets per month). Query params: username (string, required) - Twitter/X screen name. Returns data.user (account metadata) and data.tweetCountPerMonth (object keyed by MM-YYYY).

## Output

Returns a JSON object with two top-level fields: data.user (structured account metadata including location, verification status, blue check date, and username history) and data.tweetCountPerMonth (an object keyed by MM-YYYY with tweet counts per month for the past 12 months, based on up to ~100 tweets sampled per month).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "username": "twitter"
  }
 }
}
```

## 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",
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "description": "Twitter/X screen name (without @)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "user": {
    "name": "Elon Musk",
    "source": "United States App Store",
    "rest_id": "44196397",
    "created_at": "Tue Jun 02 20:12:29 +0000 2009",
    "screen_name": "elonmusk",
    "account_based_in": "United States",
    "is_blue_verified": true,
    "blue_verified_since": "1674172800000",
    "username_changes_last": null,
    "username_changes_count": 0
   },
   "tweetCountPerMonth": {
    "03-2026": 95,
    "04-2026": 76,
    "05-2026": 89
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-twit-sh-9be042f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.twit.sh](https://www.zero.xyz/host/x402.twit.sh/llms.txt)
