# API Direct – Twitter/X User Profile Lookup

> API Direct – Twitter/X User Profile Lookup is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-30).

Fetches detailed profile information for a Twitter/X user given their username.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/twitter/user?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-twitter-x-user-profile-lookup-785b7e59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9p2-vbej9Pub9TJDazL9s

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 api-direct-twitter-x-user-profile-lookup-785b7e59
```

Example prompt: Can you pull up the full Twitter profile for the user elonmusk — I want to see their bio, follower count, and account details?

## When to prefer this

Use this endpoint when you need structured profile metadata for a specific Twitter/X user identified by username. It is ideal for enriching contact records, vetting influencers, verifying account authenticity, or pulling social stats into a workflow — without needing Twitter API credentials of your own. Prefer this over scraping manually or building a Twitter API integration when you need a quick, pay-per-call lookup.

## Known failure modes

- Username not found — user does not exist or has been suspended (404-equivalent)
- Username exceeds 50 characters — validation error
- Rate limiting or upstream Twitter API restrictions causing timeouts
- Private/suspended account — profile data may be incomplete or unavailable
- Payment failure — x402 payment not processed, endpoint returns 402

## How this service works

Get detailed profile information for a Twitter/X user by username.

## Output

Returns detailed profile data for the specified Twitter/X user, including display name, username, bio/description, follower count, following count, tweet count, profile image URL, banner image URL, verified status, account creation date, location, and website URL if available.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "maxLength": 50,
       "description": "Twitter username without the @ symbol (max 50 characters). A leading @ is accepted and stripped."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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