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

WhenResultHTTPTimePrice
4 h agoPassed402332 ms$0.01
7 h agoTimed out---
10 h agoPassed402147 ms$0.01
14 h agoPassed402254 ms$0.01
18 h agoTimed out---
22 h agoTimed out---
25 h agoTimed out---
29 h agoTimed out---
33 h agoPassed4024.0 s$0.01
36 h agoPassed402163 ms$0.01
40 h agoPassed402150 ms$0.01
43 h agoPassed402247 ms$0.01
2 days agoPassed402137 ms$0.01