# Twitter/X User Profile Lookup by ID

> Twitter/X User Profile Lookup by ID is a paid API for AI agents from twitter.surf.cascade.fyi, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches a Twitter/X user's profile information given their numeric user ID.

## Facts

- Endpoint: GET https://twitter.surf.cascade.fyi/users/745959759057133568
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-surf-cascade-fyi-bbd56895
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rNd_q7gJ6tp92LmTUdR4k

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-surf-cascade-fyi-bbd56895
```

Example prompt: Can you pull up the Twitter profile for user ID 745959759057133568 — I want to see their display name, bio, and follower count?

## When to prefer this

Use this endpoint when you have a specific Twitter/X numeric user ID and need to resolve it to a full profile. Ideal for enriching datasets that contain user IDs but lack human-readable profile information. Prefer this over search-based endpoints when the exact user ID is already known, ensuring deterministic resolution rather than fuzzy matching.

## Known failure modes

- User ID not found — returns 404 or empty result if the numeric ID does not correspond to an active account
- Invalid user ID format — non-numeric or malformed IDs result in a bad request error
- Account suspended or deactivated — valid ID but no accessible profile data
- Payment failure — x402 micropayment not completed, request blocked
- Rate limiting — too many requests in a short period returns throttling error

## How this service works

Fetches a Twitter/X user profile by user ID.

## Output

Returns a Twitter/X user profile object including fields such as display name, handle/username, bio, follower count, following count, profile image URL, account creation date, and other public account metadata associated with the given user ID.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "id",
    "url",
    "name",
    "location",
    "username",
    "created_at",
    "description",
    "public_metrics",
    "cover_image_url",
    "pinned_tweet_ids",
    "profile_image_url"
   ],
   "properties": {
    "id": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "name": {
     "type": "string"
    },
    "location": {
     "type": "string"
    },
    "username": {
     "type": "string"
    },
    "created_at": {
     "type": "string"
    },
    "description": {
     "type": "string"
    },
    "public_metrics": {
     "type": "object",
     "required": [
      "like_count",
      "media_count",
      "tweet_count",
      "followers_count",
      "following_count"
     ],
     "properties": {
      "like_count": {
       "type": "number"
      },
      "media_count": {
       "type": "number"
      },
      "tweet_count": {
       "type": "number"
      },
      "followers_count": {
       "type": "number"
      },
      "following_count": {
       "type": "number"
      }
     }
    },
    "cover_image_url": {
     "type": "string"
    },
    "pinned_tweet_ids": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "profile_image_url": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-surf-cascade-fyi-bbd56895/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)
