# glim.sh Twitter User Following List

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

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

## Facts

- Endpoint: POST https://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-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-user-following-list-08896751
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_imbBwyQXwJTiocgbOopGW

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 glim-sh-twitter-user-following-list-08896751 -d '<json body>'
```

Example prompt: Can you pull the list of accounts that @elonmusk is following on Twitter, showing 100 users per page?

## When to prefer this

Use this endpoint when you need to programmatically retrieve and paginate through the accounts a specific Twitter/X user follows — especially useful for social graph analysis, influencer research, or monitoring brand relationships. Prefer this over scraping or direct Twitter API access when you need a pay-per-call model with no long-term API key setup.

## Known failure modes

- Invalid or non-existent Twitter user ref returns empty data or error
- Rate limiting from underlying Twitter API may cause failures
- Cursor value from a previous call may expire, requiring restart of pagination
- Private/protected Twitter accounts may return no following data
- page_size outside 20–200 range will be rejected by schema validation

## How this service works

User following

## Output

Returns a paginated array of Twitter user objects representing accounts the specified user follows, along with metadata including total result count, a next_cursor string for fetching subsequent pages, and a has_next_page boolean.

## 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/glim-sh-twitter-user-following-list-08896751/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from surf.cascade.fyi](https://www.zero.xyz/host/surf.cascade.fyi/llms.txt)
