# glim.sh Twitter Users Lookup

> glim.sh Twitter Users Lookup is a paid API for AI agents from surf.cascade.fyi, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Looks up Twitter/X user profiles by username or user ID, returning account metadata without requiring your own API keys.

## Facts

- Endpoint: POST https://surf.cascade.fyi/api/v1/twitter/users
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-users-lookup-9195197d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8ehjaTN_QVtk5jUJPqRdk

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-users-lookup-9195197d -d '<json body>'
```

Example prompt: Can you look up the Twitter user @cascade_fyi and tell me their user ID and any other profile info available?

## When to prefer this

Use this endpoint when an agent needs to resolve Twitter/X usernames to user IDs (or vice versa) without setting up Twitter API credentials. Ideal for enriching social data pipelines, verifying account existence, or bootstrapping Twitter-based workflows using pay-per-call microtransactions instead of managing OAuth tokens.

## Known failure modes

- Username not found — empty data array returned
- Invalid username format causes request error
- Payment failure via x402 protocol results in 402 response and no data
- Rate limiting or downstream Twitter API errors may return 5xx
- Suspended or deactivated accounts may return no results

## 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

Returns a JSON object with a data array of matched Twitter user objects (each containing id and username) and a meta object with result_count indicating how many users were found.

## Example request

```json
{
 "ids": "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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "ids"
     ],
     "properties": {
      "ids": {
       "type": "string",
       "description": "Comma-separated user IDs"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## 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-users-lookup-9195197d/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)
