# glim.sh Twitter User Profile Lookup

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

Fetch a Twitter/X user's profile data by their username handle or numeric user ID

## Facts

- Endpoint: POST https://surf.cascade.fyi/api/v1/twitter/users/:ref?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-user-profile-lookup-4a5466f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n5tieOq_8KkvI0LAGhUI4

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-profile-lookup-4a5466f4 -d '<json body>'
```

Example prompt: Can you pull up the Twitter profile for @naval — I want to see their bio, follower count, and account details?

## When to prefer this

Use this endpoint when you need structured Twitter/X profile metadata for a known username or user ID. Prefer it over web scraping when you need reliable, machine-readable profile data including follower counts, bios, and account metadata. Choose this over the glim.sh followers endpoint when you want profile-level details rather than a list of followers.

## Known failure modes

- User not found — username or ID does not exist on Twitter/X
- Invalid :ref parameter — malformed username or non-numeric ID
- Twitter API rate limit exceeded — too many requests in a short window
- Account suspended or deactivated — profile no longer accessible
- Network timeout contacting upstream Twitter API
- Payment not processed — x402 payment required before response is returned

## How this service works

Fetch a user profile by username or ID

## Output

Returns a JSON object with the Twitter user's profile data including fields such as display name, username/handle, bio/description, follower count, following count, profile image URL, account creation date, and other public account metadata.

## 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": {},
     "description": "No body parameters - the user @handle or id is taken from the URL path"
    },
    "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"
     ],
     "properties": {
      "data": {
       "type": "object",
       "propertyNames": {
        "type": "string"
       },
       "additionalProperties": {}
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glim-sh-twitter-user-profile-lookup-4a5466f4/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)
