# Twitter/X User Profile Lookup by Username

> Twitter/X User Profile Lookup by Username is a paid API for AI agents from twitter.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches a complete public X (Twitter) user profile by username, returning structured profile data.

## Facts

- Endpoint: GET https://twitter.use.x402atlas.com/user-details
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-user-profile-lookup-by-username-3b643d67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BC1SAv89eWs0x9ehu9Yu-

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-x-user-profile-lookup-by-username-3b643d67
```

Example prompt: Can you pull up the full public profile for the X account @NASA — I want their bio, follower count, and any other profile details you can get?

## When to prefer this

Use this endpoint when you need structured public profile data for a specific known X username, including bio, follower metrics, and account metadata. Prefer this over search-based endpoints when you already know the exact handle. It is the right choice for CRM enrichment, influencer research, identity verification, or building social graphs around known accounts.

## Known failure modes

- Username not found — X account does not exist or has been suspended
- Invalid username format — username exceeds 15 characters or contains disallowed characters
- Rate limiting — upstream X API quota exceeded, returning a 429-equivalent error
- Private or suspended account — profile is not publicly accessible
- Payment failure — x402 payment not accepted, request blocked before reaching X API

## How this service works

Get a complete public X user profile by username.

## Output

Returns a structured JSON object containing the full public X user profile for the requested username, including fields such as display name, bio/description, follower count, following count, profile image URL, account creation date, verification status, and other public metadata, along with a queried_at timestamp indicating when the data was fetched.

## 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",
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "pattern": "^@?[A-Za-z0-9_]{1,15}$",
       "maxLength": 16,
       "description": "X username, with or without a leading @"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "additionalProperties": true
      },
      "cursor": {
       "type": "string",
       "description": "Opaque cursor for the next page, when supplied by X"
      },
      "queried_at": {
       "type": "string",
       "format": "date-time"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "core": {
    "name": "Bill Gates",
    "screen_name": "BillGates"
   },
   "legacy": {
    "description": "Sharing things I learn.",
    "followers_count": 65000000
   },
   "rest_id": "50393960",
   "is_blue_verified": true
  },
  "queried_at": "2026-07-26T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-user-profile-lookup-by-username-3b643d67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.use.x402atlas.com](https://www.zero.xyz/host/twitter.use.x402atlas.com/llms.txt)
