# simple-x-api X User Lookup by Username

> simple-x-api X User Lookup by Username is a paid API for AI agents from simple-x-api.com, paid per call via x402, $10/call, status unknown (last checked 2026-10-16).

Looks up an X (Twitter) user's public profile data by their username via a proxied X API v2 endpoint, settled via x402 micropayment

## Facts

- Endpoint: GET https://simple-x-api.com/api/2/users/by/username/rsproule?utm_source=zero.xyz
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/simple-x-api-x-user-lookup-by-username-4ee4bc07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Txb9kpFUp2aVhfwrNzd-C

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 simple-x-api-x-user-lookup-by-username-4ee4bc07
```

Example prompt: Can you look up the X profile for the username 'rsproule' and tell me their user ID and display name?

## When to prefer this

Use this endpoint when you need to resolve a specific X (Twitter) username to their full user profile object (including user ID) and are comfortable with micropayment-per-call via x402. Prefer this over scraping or unofficial APIs when you need reliable, structured X API v2 data without managing your own X API credentials.

## Known failure modes

- Username not found — X API returns 404 or empty result
- Username suspended or deactivated — X API returns appropriate error
- Payment authorization failure — x402 payment up to $10.00 not authorized
- Rate limiting by X API — upstream throttling returns 429
- Network or proxy error from simple-x-api.com — upstream connectivity issue

## How this service works

Proxy the corresponding X API v2 endpoint. x402 authorizes up to $10.00; successful responses settle at X's public non-owned per-resource/per-action price.

## Output

Returns the X API v2 user object for the specified username, including user ID, name, username, and other public profile fields as defined by the X API v2 users endpoint. Payment is settled at X's public per-resource price (up to $10.00 USDC).

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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