the402 endpoint detail

← All endpoints

twit-api-production-de12.up.railway.app by username

https://twit-api-production-de12.up.railway.app/users/by/username

answers 402

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.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.005
Network
base
Pay to
0x9dBA414637c611a16BEa6f0796BFcbcBdc410df8
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
411 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:22:34.461Z (28d ago)
Category
search

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ftwit-api-production-de12.up.railway.app%2Fusers%2Fby%2Fusername"