75trust / 100
X Tweet
by botsmith in News & content
x402 APIPassing, checked 38 min ago
X Tweet Lookup ($0.015/call): Fetch one X (Twitter) post by numeric id: full text, author, ISO timestamp, like/retweet/reply/view counts, hashtags, expanded links and mentions as clean JSON. No X account or API key needed.
GET https://x402.botsmith.dev/x/tweet
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 1.3 s typical, 1.5 s slowest 5%
- Last check
- 38 min 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/tweet?id=1846987139428634858"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%2Ftweet
const res = await pay("https://x402.botsmith.dev/x/tweet?id=1846987139428634858");
console.log(await res.json());Example input
{
"id": "1846987139428634858"
}Example output
{
"author": {
"handle": "example",
"id": "44196397",
"name": "Example Dev"
},
"createdAt": "2026-07-01T07:00:30.000Z",
"hashtags": [
"x402"
],
"id": "1846987139428634858",
"lang": "en",
"links": [
"https://x402.org"
],
"mentions": [
"coinbase"
],
"metrics": {
"likes": 1200,
"quotes": 12,
"replies": 85,
"retweets": 340,
"views": 250000
},
"text": "Shipping the new agent payments stack today. HTTP 402 is finally real.",
"url": "https://x.com/example/status/1846987139428634858"
}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 |
|---|---|---|---|---|
| 38 min ago | Passed | 402 | 1.5 s | $0.015 |
| 4 h ago | Passed | 402 | 1.5 s | $0.015 |
| 8 h ago | Passed | 402 | 1.3 s | $0.015 |
| 11 h ago | Passed | 402 | 1.3 s | $0.015 |
| 15 h ago | Passed | 402 | 1.5 s | $0.015 |
| 19 h ago | Passed | 402 | 1.5 s | $0.015 |
| 23 h ago | Passed | 402 | 1.3 s | $0.015 |
| 26 h ago | Passed | 402 | 1.3 s | $0.015 |
| 30 h ago | Passed | 402 | 1.4 s | $0.015 |
| 33 h ago | Passed | 402 | 1.3 s | $0.015 |
| 36 h ago | Passed | 402 | 1.3 s | $0.015 |
| 41 h ago | Passed | 402 | 1.5 s | $0.015 |