X bulk user lookup
$0.15 per call · USDC via x402 ·
POST /api/x-users-lookupLook up up to 10 X (Twitter) accounts by username in one call. Returns each found profile with public metrics (followers, following, tweets, listed), verification status and bio, plus the list of usernames X did not resolve.
Input
| Field | Type | Description |
|---|---|---|
usernames * | array | 1-10 usernames (array, or a comma-separated string). |
Example output
{
"source": "x-api-v2",
"fetchedAt": "2026-08-20T14:10:00.000Z",
"count": 1,
"users": [
{
"id": "574032254",
"username": "coinbase",
"name": "Coinbase",
"description": "The future of money is here.",
"createdAt": "2012-05-07T23:46:41.000Z",
"verified": true,
"verifiedType": "business",
"location": "Global",
"url": "https://coinbase.com",
"protected": false,
"profileImageUrl": "https://pbs.twimg.com/profile_images/.../normal.jpg",
"metrics": {
"followers": 6400000,
"following": 250,
"tweets": 19000,
"listed": 9000
},
"profileUrl": "https://x.com/coinbase"
}
],
"notFound": [
"nosuchuser_xyz"
]
}
Try it - see the 402 challenge (free)
curl -i -X POST https://agent402.tools/api/x-users-lookup \
-H "Content-Type: application/json" \
-d '{"usernames":["coinbase","base"]}'
The response is HTTP 402 Payment Required with exact payment requirements. Any x402 v2 client pays automatically and retries:
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/x-users-lookup", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"usernames": [
"coinbase",
"base"
]
}),
});
Wallet-only. This tool reaches the network/browser/storage, so it is paid in USDC via x402 (no proof-of-work tier).
Related tools
Extract article
$0.010 ·
POST /api/extractExtract the main article content from any public URL as clean markdown. Returns title, byline, excerpt, word count, and …
try in playground →Page metadata
$0.002 ·
GET /api/metaFetch page metadata for a URL: title, description, OpenGraph, Twitter cards, canonical URL, favicon.
try in playground →Browser render
$0.02 ·
POST /api/renderRender a page in a real headless Chromium browser (JavaScript executed), then extract the main content as clean markdown…
try in playground →