# Twitter/X Profile Lookup by Username

> Twitter/X Profile Lookup by Username 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-15).

Fetches public Twitter/X profile data for a given username, including bio, follower counts, and account metadata.

## Facts

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

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

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

## When to prefer this

Use this endpoint when you need structured profile metadata for a specific Twitter/X user by username — especially follower counts, verification status, bio, and account age. Prefer this over scraping Twitter directly or using the full Twitter API when you need a lightweight, pay-per-call lookup without OAuth setup.

## Known failure modes

- Username not found — returns empty or error response
- Username suspended or deactivated account
- Rate limiting or payment failure (x402 payment required)
- Typo in username yields no results
- Private/protected account may have limited data

## How this service works

Fetches the Twitter profile data for a given username.

## Output

Returns a JSON object containing the user's numeric ID, display name, username, verification status, account creation timestamp, bio/description text, profile image URL, cover image URL, pinned tweet IDs, and public metrics including follower count, following count, tweet count, like count, and media count.

## 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",
    "name",
    "username",
    "verified",
    "created_at",
    "description",
    "public_metrics",
    "cover_image_url",
    "pinned_tweet_ids",
    "profile_image_url"
   ],
   "properties": {
    "id": {
     "type": "string"
    },
    "name": {
     "type": "string"
    },
    "username": {
     "type": "string"
    },
    "verified": {
     "type": "boolean"
    },
    "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-f1296d52/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)
