84trust / 100
By Id
by x402.twit.sh in News & content
x402 APIPassing, checked 2 h ago
Look up a single Twitter/X tweet by its numeric tweet ID. Returns full tweet data including text, author profile, creation date, engagement metrics (likes, retweets, replies, quotes, bookmarks), and referenced tweets. Query param: id (string, required) - numeric tweet ID, e.g. GET /tweets/by/id?id=1110302988. Returns X v2 API-compatible JSON.
GET https://x402.twit.sh/tweets/by/id
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 215 ms typical, 215 ms 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.twit.sh/tweets/by/id?id=1110302988"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%2Fby%2Fid
const res = await pay("https://x402.twit.sh/tweets/by/id?id=1110302988");
console.log(await res.json());Example input
{
"id": "1110302988"
}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"
}
}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 | 215 ms | $0.0025 |