# X / Twitter User Profile Lookup

> X / Twitter User Profile Lookup is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-15).

Resolves a Twitter/X username to a public profile, returning account metadata such as display name, bio, follower counts, and account details via the X API v2.

## Facts

- Endpoint: POST https://x402.agentutility.ai/twitter-user-lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-twitter-user-profile-lookup-bfd83445
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gUN4faCwJ6TbA5Z_tsCn3

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 x-twitter-user-profile-lookup-bfd83445 -d '<json body>'
```

Example prompt: Can you look up the public Twitter profile for the username 'OpenAI' and tell me their follower count, bio, and when the account was created?

## When to prefer this

Choose this endpoint when you need to resolve a known Twitter/X username to structured profile metadata — especially follower counts, bios, and account details — without needing to search for users or fetch their tweets. Prefer this over the tweet-search sibling endpoint when the username is already known and the goal is profile enrichment rather than content retrieval.

## Known failure modes

- Username not found — account does not exist or has been suspended
- Username is private or deactivated — limited or no profile data returned
- Rate limit exceeded from underlying X API v2
- Invalid username format passed in request body
- Payment failure via x402 protocol resulting in 402 response

## How this service works

Twitter user lookup / X username lookup / public profile resolver. Same backend as x-username, exposed under broad buyer wording. Read-only X API v2 profile lookup; no account mutation.

## Output

Returns structured public profile data for the requested X/Twitter username including user ID, display name, bio/description, follower count, following count, tweet count, profile image URL, account creation date, and verification status.

## 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": {
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "description": "X/Twitter handle, with or without @."
      }
     }
    },
    "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",
     "properties": {
      "mode": {
       "type": "string"
      },
      "user": {
       "type": "object",
       "properties": {
        "username": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "user",
  "user": {
   "username": "bankrbot"
  },
  "source": "X API v2 user lookup"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-twitter-user-profile-lookup-bfd83445/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
