# X/Twitter Following Lookup via Surplus Intelligence

> X/Twitter Following Lookup via Surplus Intelligence is a paid API for AI agents from www.surplusintelligence.ai, paid per call via x402, $0.983/call, status unknown (last checked 2026-09-15).

Returns the list of accounts a given X/Twitter user is following, up to 100 results per call

## Facts

- Endpoint: GET https://www.surplusintelligence.ai/x402/api/twitter/v2/users/:userId/following
- Price: $0.983/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/www-surplusintelligence-ai-db199a83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BLAIpw96dg2m4n6C-H40n

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 www-surplusintelligence-ai-db199a83
```

Example prompt: Using Surplus Intelligence's X API proxy, fetch up to 100 accounts that Twitter user ID 44196397 is following.

## When to prefer this

Use this endpoint when you need to programmatically retrieve the following list of a Twitter/X user and want to pay per-call in USDC via x402 without managing Twitter API credentials. Prefer this over direct Twitter API access when operating in an agentic, crypto-native workflow that supports x402 micropayments.

## Known failure modes

- Invalid or non-numeric userId returns 400 or Twitter API error
- User account suspended or not found returns 404
- max_results out of range (must be 1-100) returns validation error
- Insufficient USDC balance triggers x402 payment failure
- Twitter API rate limit exceeded returns 429
- Private/protected account following list returns authorization error

## How this service works

X/Twitter API v2 via Surplus Intelligence: Followers/following (100 units)

## Output

A JSON response containing an array of user objects representing accounts the specified user follows, along with pagination metadata (next_token, result_count) and any errors. Each user object includes at minimum the account ID.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "userId": "44196397"
  },
  "queryParams": {
   "max_results": 50
  }
 }
}
```

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "userId"
     ],
     "properties": {
      "userId": {
       "type": "string",
       "description": "Numeric X/Twitter user ID."
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "max_results": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1,
       "description": "Maximum number of results to return."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {},
      "meta": {
       "type": "object"
      },
      "errors": {
       "type": "array"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "meta"
 ],
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "name",
     "username"
    ],
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "username": {
      "type": "string"
     }
    }
   }
  },
  "meta": {
   "type": "object",
   "required": [
    "next_token",
    "result_count"
   ],
   "properties": {
    "next_token": {
     "type": "string"
    },
    "result_count": {
     "type": "number"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/www-surplusintelligence-ai-db199a83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.surplusintelligence.ai](https://www.zero.xyz/host/www.surplusintelligence.ai/llms.txt)
