# Twitter/X User Profile Lookup by Username

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

Fetches a Twitter/X user's full profile data by screen name, returning id, bio, follower/following/tweet counts, verification status, and profile image URL.

## Facts

- Endpoint: GET https://api.aidress.ai/pay/agent_x402_twit_sh
- 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-f3cc8675
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_njPyJhoKvwHtSCtwCi46r

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

Example prompt: Can you pull up the full Twitter profile for the account 'elonmusk' — I need their follower count, bio, tweet count, and whether they're verified?

## When to prefer this

Choose this endpoint when you need structured Twitter/X profile metadata for a known username and want X v2 API-compatible JSON without managing Twitter OAuth credentials yourself. Ideal for enriching user data pipelines, verifying account existence, or pulling social proof metrics. Costs only $0.005 USDC per call via x402 micropayment.

## Known failure modes

- Username not found — returns 404 or empty data if the screen name does not exist
- Missing required username query param — returns 400 bad request
- Rate limit or upstream Twitter API failure — returns 5xx error
- Suspended or deactivated account — may return empty or error response
- Typo in username — returns no results rather than fuzzy match

## How this service works

Look up a Twitter/X user profile by their screen name. Returns full profile data including id, name, username, bio, follower count, following count, tweet count, verification status, and profile image URL. Query param: username (string, required) - Twitter screen name without @, e.g. GET /users/by/username?username=elonmusk. Returns X v2 API-compatible JSON.

## Output

Returns an X v2 API-compatible JSON object containing the user's numeric id, display name, username, biography text, follower count, following count, total tweet count, verification status (boolean), and profile image URL.

## 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",
       "description": "Twitter screen name without @"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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