# Twitter Surf - Fetch User Profile

> Twitter Surf - Fetch User Profile 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, last successful call 2026-05-21).

Fetches the public Twitter/X profile and metadata for a specific user by username

## Facts

- Endpoint: GET https://twitter.surf.cascade.fyi/users/shafu0x
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-05-21
- Success rate: 17% of calls made through Zero
- Activations on Zero: 12
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-surf-cascade-fyi-d1facf93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mdJnKXwU3UcVESHdRNfxX

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-d1facf93
```

Example prompt: Can you pull up the public Twitter profile info for shafu0x — I want their bio, follower count, and account metadata?

## When to prefer this

Use this endpoint when you need to look up a specific Twitter/X user's public profile data by their username handle, especially in automated workflows that require profile enrichment, identity verification, or social data aggregation. Prefer this over scraping Twitter directly since it provides a paid, structured API interface with x402 micropayment support.

## Known failure modes

- User not found — username does not exist or account is suspended
- Payment failure — insufficient USDC balance or x402 payment not accepted
- Rate limiting — too many requests to the underlying Twitter API
- Private account — profile data not accessible for protected accounts
- Invalid username format — malformed handle in path parameter

## How this service works

Pay-per-use Twitter/X data API with x402 micropayments.

## Output

Returns the public Twitter profile for the specified username, including display name, bio, follower/following counts, and other account metadata available on the public profile.

## Example request

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "44196397",
   "name": "Elon Musk",
   "username": "elonmusk",
   "public_metrics": {
    "tweet_count": 30000,
    "followers_count": 100000,
    "following_count": 500
   }
  }
 }
}
```

## More

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