66trust / 100
User Tweets
by AgentUtility.ai in News & content
x402 APIPassing, checked 4 h ago
Fetches the latest public tweets from any X username, with text, timestamps, metrics, pagination token, and author profile. Read-only X API v2 route: resolves a public username, fetches that user's recent public posts, and excludes retweets by default. No posting, replying, liking, following, DM access, or account mutation. Use it as a user tweets API, X user timeline, or Twitter user posts endpoint.
POST https://x402.agentutility.ai/user-tweets
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 61.5%
- Response time
- 163 ms typical, 332 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.agentutility.ai/user-tweets" \
-H "content-type: application/json" \
-d '{"max_results":10,"mode":"user_tweets","username":"bankrbot"}'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.agentutility.ai%2Fuser-tweets
const res = await pay("https://x402.agentutility.ai/user-tweets", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_results":10,"mode":"user_tweets","username":"bankrbot"}),
});
console.log(await res.json());Example input
{
"max_results": 10,
"mode": "user_tweets",
"username": "bankrbot"
}Example output
{
"mode": "user_tweets",
"result_count": 10,
"source": "X API v2 user tweets timeline",
"tweets": [
{
"author": {
"username": "bankrbot"
},
"id": "123",
"text": "x402 payments are live"
}
],
"username": "bankrbot"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 332 ms | $0.01 |
| 7 h ago | Timed out | - | - | - |
| 10 h ago | Passed | 402 | 147 ms | $0.01 |
| 14 h ago | Passed | 402 | 254 ms | $0.01 |
| 18 h ago | Timed out | - | - | - |
| 22 h ago | Timed out | - | - | - |
| 25 h ago | Timed out | - | - | - |
| 29 h ago | Timed out | - | - | - |
| 33 h ago | Passed | 402 | 4.0 s | $0.01 |
| 36 h ago | Passed | 402 | 163 ms | $0.01 |
| 40 h ago | Passed | 402 | 150 ms | $0.01 |
| 43 h ago | Passed | 402 | 247 ms | $0.01 |
| 2 days ago | Passed | 402 | 137 ms | $0.01 |