# glim.sh Twitter User Following List

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

Fetches the list of Twitter/X accounts that a given user is following

## Facts

- Endpoint: POST https://glim.sh/api/v1/twitter/users/%7Bref%7D/following
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-user-following-list-8f5f52d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dqHw3R-Yjz4_eLLVN30rp

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-8f5f52d5 -d '<json body>'
```

Example prompt: Using glim.sh, fetch the list of accounts that @elonmusk is following on Twitter — give me up to 50 results.

## When to prefer this

Use this endpoint when you need the following list for a specific Twitter/X user without managing Twitter API credentials or a scraping stack. Ideal for social graph analysis, influencer research, or monitoring account relationships at $0.004 per call with no setup friction.

## Known failure modes

- User not found or invalid username/ID returns an error response
- Private/suspended account returns no data or access denied
- Count parameter exceeds practical limits may return partial results
- Network or upstream Twitter API outage causes request failure
- Payment failure (insufficient USDC balance) blocks the call

## How this service works

One remote endpoint gives your agent live data from Twitter, Reddit, the open web, GitHub and more. No API keys, no scraping stack - just connect the URL and go.

## Output

A JSON object containing an array of user objects (each with id and username) followed by the queried user, plus a meta object with the result count.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "cursor": {
       "description": "Pagination cursor",
       "type": "string"
      },
      "page_size": {
       "default": 200,
       "description": "Number of users per page",
       "type": "integer",
       "minimum": 20,
       "maximum": 200
      }
     }
    },
    "pathParams": {
     "type": "object"
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "meta": {
       "type": "object",
       "properties": {
        "result_count": {
         "type": "integer",
         "minimum": -9007199254740991,
         "maximum": 9007199254740991
        },
        "has_next_page": {
         "type": "boolean"
        },
        "next_cursor": {
         "type": "string"
        }
       },
       "required": [
        "result_count"
       ]
      }
     },
     "required": [
      "data",
      "meta"
     ]
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "44196397",
    "username": "cascade_fyi"
   }
  ],
  "meta": {
   "result_count": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glim-sh-twitter-user-following-list-8f5f52d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from glim.sh](https://www.zero.xyz/host/glim.sh/llms.txt)
