# x402.twit.sh - Get Twitter/X User Following List

> x402.twit.sh - Get Twitter/X User Following List is a paid API for AI agents from x402.twit.sh, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Returns a paginated list of up to 50 Twitter/X user profiles that a specified user follows, given their numeric user ID.

## Facts

- Endpoint: GET https://x402.twit.sh/users/following?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-twit-sh-05610bd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-9AiBTWt0MiO4FXIhSLUR

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-05610bd4
```

Example prompt: Can you get me the list of Twitter accounts that user ID 44196397 follows? Grab the first page of up to 50 profiles.

## When to prefer this

Use this endpoint when you need to programmatically retrieve the following list for a specific Twitter/X user by their numeric ID, especially when building social graph analysis, follower/following audits, or discovering network relationships. Prefer this over scraping or direct Twitter API access when you need a simple pay-per-call REST interface without managing OAuth tokens.

## Known failure modes

- Missing or invalid 'id' parameter returns a 400 or error JSON
- Non-numeric or non-existent user ID returns an error or empty result
- Invalid next_token cursor causes pagination to fail or return unexpected results
- Rate limiting or payment failure (402) if USDC balance is insufficient
- Private/protected accounts may return restricted following lists
- Network timeout if the upstream X API is slow or unavailable

## How this service works

Get the list of Twitter/X users that a specific user follows. Returns up to 50 following profiles per page with pagination support. Query params: id (string, required) - numeric Twitter user ID; next_token (string, optional) - pagination cursor, e.g. GET /users/following?id=44196397. Returns X v2 API-compatible JSON.

## Output

A JSON array of up to 50 Twitter/X user profile objects (including user IDs, names, usernames, and profile metadata) for the accounts the specified user follows, along with a next_token cursor for fetching additional pages if more results exist.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "id": "44196397"
  }
 }
}
```

## 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": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Numeric Twitter user ID"
      },
      "next_token": {
       "type": "string",
       "description": "Pagination cursor from previous response"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "following": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-twit-sh-05610bd4/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)
