86trust / 100
Tweets User
by x402.twit.sh in News & content
x402 APIPassing, checked 3 h ago
Get the latest tweets (timeline) from a specific Twitter/X user by their username. Returns up to 20 tweets per page sorted by most recent first, with pagination support. Query params: username (string, required) - Twitter screen name; next_token (string, optional) - pagination cursor, e.g. GET /tweets/user?username=elonmusk. Returns X v2 API-compatible JSON.
GET https://x402.twit.sh/tweets/user
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 39 ms typical, 39 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.twit.sh/tweets/user?username=elonmusk"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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.twit.sh%2Ftweets%2Fuser
const res = await pay("https://x402.twit.sh/tweets/user?username=elonmusk");
console.log(await res.json());Example input
{
"username": "elonmusk"
}Example output
{
"data": [
{
"author": {
"id": "9253672",
"name": "Hal Finney",
"username": "halfin"
},
"created_at": "2009-01-11T03:39:18.000Z",
"id": "1110302988",
"public_metrics": {
"like_count": 134000,
"quote_count": 3500,
"reply_count": 5400,
"retweet_count": 32000
},
"text": "Running bitcoin"
}
],
"meta": {
"next_token": "abc123"
}
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 39 ms | $0.01 |