# X402 Twitter Profile ID Lookup

> X402 Twitter Profile ID Lookup is a paid API for AI agents from x.1x402.sh, paid per call via x402, $0.05/call, status down (last checked 2026-10-18).

Looks up the Twitter/X user ID for a given username via a pay-per-call x402 micropayment API mirror

## Facts

- Endpoint: GET https://x.1x402.sh/api/%7Bname%7D/id?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-twitter-profile-id-lookup-f7bb9b26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_thf8qLFUUURsZEqwhTClS

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 x402-twitter-profile-id-lookup-f7bb9b26
```

Example prompt: What's the Twitter user ID for the account with the handle 'elonmusk'? Use the x402 micropayment API mirror — no API key needed, just pay the $0.05 USDC fee.

## When to prefer this

Choose this endpoint when you need to resolve a Twitter/X username to a numeric user ID without holding Twitter API credentials. Ideal for agents that need programmatic access to Twitter identity data using x402 USDC micropayments on Base, avoiding OAuth setup entirely.

## Known failure modes

- Username not found — returns non-zero code with empty data
- Invalid or malformed username in path parameter — may return error code
- Payment failure via x402 micropayment — 402 response if USDC payment not processed
- Rate limiting or upstream X/Twitter API unavailability — service may return error
- URL template not resolved correctly (literal {name} in path) — returns 404

## How this service works

ReadX is a read-only X/Twitter JSON API. Profiles, timelines, tweets, search &amp; lists — pay per call with x402 micropayments in USDC on Base or Solana. No API keys.

## Output

Returns a JSON object with a code field (0 for success) and a data object containing the resolved Twitter/X user ID and associated profile metadata for the requested username.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-twitter-profile-id-lookup-f7bb9b26/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x.1x402.sh](https://www.zero.xyz/host/x.1x402.sh/llms.txt)
