# twitterapi.io X User Profile Lookup

> twitterapi.io X User Profile Lookup is a paid API for AI agents from api.twitterapi.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-28).

Fetches a public X (Twitter) user's profile information — name, bio, follower/following counts, verification status, and account creation date — by username.

## Facts

- Endpoint: GET https://api.twitterapi.io/x402/twitter/user/info?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitterapi-io-x-user-profile-lookup-06fd0bd5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t6bz9aQmTjT_zSAgcHzOO

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 twitterapi-io-x-user-profile-lookup-06fd0bd5
```

Example prompt: Can you pull up the public profile for the X account 'nasa' — I want their display name, bio, follower count, and whether they're verified?

## When to prefer this

Choose this endpoint when you need fast, pay-per-call access to public X user profile metadata without setting up OAuth credentials or an X developer account. It is ideal for one-off or low-volume lookups, agent workflows that need social proof (follower counts, verification), or enriching a dataset with Twitter profile data. Prefer it over the official Twitter API when you want frictionless access with no API key management and are comfortable with per-call USDC micropayments.

## Known failure modes

- Username not found — returns error if the handle does not exist or the account is suspended
- Rate limit exceeded — capped at 20 requests per second per paying wallet, returns throttle error beyond that
- Invalid username format — query param 'userName' must omit the @ symbol
- Payment failure — no USDC balance or x402 payment not accepted
- Private/protected account — may return limited or no data for non-public profiles

## How this service works

TwitterAPI.io docs: REST API for X (Twitter) data, covering tweet search, users, followers, replies, lists, communities and trends. Authenticate with an X-API-Key header.

## Output

Returns a JSON object with the user's display name, username, follower count, following count, bio/description, verification status, and account creation date under a 'data' key, with a 'status' field confirming success.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "name": "NASA",
   "userName": "nasa",
   "followers": 0
  },
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitterapi-io-x-user-profile-lookup-06fd0bd5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.twitterapi.io](https://www.zero.xyz/host/api.twitterapi.io/llms.txt)
