# Twitter/X User Following List

> Twitter/X User Following List is a paid API for AI agents from twitter.surf.cascade.fyi, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-18).

Retrieves a paginated list of accounts that a specified Twitter/X user is following

## Facts

- Endpoint: POST https://twitter.surf.cascade.fyi/api/v1/twitter/users/:ref/following?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-user-following-list-a775c7df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A1us9X-0iwQIYGPqmeqRK

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 twitter-x-user-following-list-a775c7df -d '<json body>'
```

Example prompt: Can you pull the list of accounts that @elonmusk follows on Twitter — get me the first 200 and include the cursor so I can page through the rest?

## When to prefer this

Use this endpoint when you need to programmatically retrieve the following list of any public Twitter/X account, especially when you need pagination support for accounts with large following counts. Prefer this over scraping or manual lookup when you need structured data with metadata and cursor-based pagination.

## Known failure modes

- Invalid or non-existent user ref returns empty data or error
- Rate limiting from the underlying Twitter API causing request failures
- Invalid cursor value causing pagination errors
- page_size outside the 20-200 range causing validation errors
- Private/protected accounts may not expose following list
- API payment failure for x402 protocol

## How this service works

User following

## Output

Returns a paginated array of user objects representing accounts the specified user follows, along with metadata including total result count, a next_cursor string for fetching the next page, and a has_next_page boolean indicating whether more results exist.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "cursor": {
       "type": "string",
       "description": "Pagination cursor"
      },
      "page_size": {
       "type": "integer",
       "default": 200,
       "maximum": 200,
       "minimum": 20,
       "description": "Number of users per page"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "meta": {
       "type": "object",
       "required": [
        "result_count"
       ],
       "properties": {
        "next_cursor": {
         "type": "string"
        },
        "result_count": {
         "type": "integer",
         "maximum": 9007199254740991,
         "minimum": -9007199254740991
        },
        "has_next_page": {
         "type": "boolean"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-user-following-list-a775c7df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.surf.cascade.fyi](https://www.zero.xyz/host/twitter.surf.cascade.fyi/llms.txt)
