74trust / 100
X User
by botsmith in News & content
x402 APIPassing, checked 2 h ago
X User Profile ($0.015/call): Fetch an X (Twitter) account by handle: display name, bio, follower/following/tweet counts, account creation date and age in days, verification status, location and profile image. No X account or API key needed.
GET https://x402.botsmith.dev/x/user
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 1.3 s typical, 1.5 s slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.botsmith.dev/x/user?handle=naval"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.botsmith.dev%2Fx%2Fuser
const res = await pay("https://x402.botsmith.dev/x/user?handle=naval");
console.log(await res.json());Example input
{
"handle": "naval"
}Example output
{
"accountAgeDays": 7106,
"bio": "Deploy capital and code.",
"createdAt": "2007-02-01T05:44:27.000Z",
"followers": 2900000,
"following": 1200,
"handle": "naval",
"id": "745273",
"location": null,
"name": "Naval",
"profileImage": "https://pbs.twimg.com/profile_images/example.jpg",
"tweetCount": 42000,
"url": "https://x.com/naval",
"verified": {
"blue": true,
"type": null
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 1.3 s | $0.015 |
| 6 h ago | Passed | 402 | 1.3 s | $0.015 |
| 9 h ago | Passed | 402 | 1.4 s | $0.015 |
| 13 h ago | Passed | 402 | 1.5 s | $0.015 |
| 16 h ago | Passed | 402 | 1.4 s | $0.015 |
| 20 h ago | Passed | 402 | 1.4 s | $0.015 |
| 24 h ago | Passed | 402 | 1.5 s | $0.015 |
| 27 h ago | Passed | 402 | 1.5 s | $0.015 |
| 32 h ago | Passed | 402 | 1.3 s | $0.015 |
| 35 h ago | Passed | 402 | 1.3 s | $0.015 |
| 38 h ago | Passed | 402 | 1.3 s | $0.015 |
| 43 h ago | Passed | 402 | 1.3 s | $0.015 |