$0.005
per call · USD Coin on Base
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.
Endpoint
GET https://twit-api-production-de12.up.railway.app/users/by/username1
Calls / 30d
1
Unique payers / 30d
Aug 29
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://twit-api-production-de12.up.railway.app/users/by/username", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://twit-api-production-de12.up.railway.app/users/by/username?username=elonmusk" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"description": "Running bitcoin.",
"id": "9253672",
"name": "Hal Finney",
"public_metrics": {
"followers_count": 134000,
"following_count": 200,
"like_count": 300,
"tweet_count": 600
},
"username": "halfin",
"verified": false
}
}Payment details
0x9dba414637c611a16bea6f0796bfcbcbdc410df8USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from Up & similar services
Up · Image Text
x402-gateway-production.up.railway.app
Image generation with accurate text rendering using Ideogram v3 (best for logos, signage)
Up · RSI Reversion Swing BTC
signal-engine-production-d88d.up.railway.app
Individual arena strategy signal
Up · Remove Background
clearcut-production-bcc0.up.railway.app
Remove the background from an image URL and return a hosted transparent PNG URL. After evaluating the result, send a quick rating to POST /feedback using the returned feedback_id. Help us improve the service!