68trust / 100

X Replies

by agdata in News & content

x402 APIPassing, checked 2 h ago

Replies to a post on X (Twitter) for AI agents: send the post's URL and get the replies as JSON: text, time, likes, reposts, replies, views and the author's handle. Up to 50 replies per call. Pay per call in stablecoins; replies you paid for but did not get are refunded.

POST https://agdata.shveik.dev/x402/x-replies

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
101 ms typical, 144 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 POST "https://agdata.shveik.dev/x402/x-replies" \
  -H "content-type: application/json" \
  -d '{"limit":10,"url":"https://x.com/NASA/status/2106751099063484493"}'
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%2Fagdata.shveik.dev%2Fx402%2Fx-replies
const res = await pay("https://agdata.shveik.dev/x402/x-replies", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":10,"url":"https://x.com/NASA/status/2106751099063484493"}),
});
console.log(await res.json());

Example input

{
  "limit": 10,
  "url": "https://x.com/NASA/status/2106751099063484493"
}

Example output

{
  "author": {},
  "createdAt": "Sun Oct…",
  "id": "21067529…",
  "inReplyToId": "21067510…",
  "lang": "en",
  "likeCount": 5,
  "quoteCount": 0,
  "replyCount": 0,
  "repostCount": 0,
  "text": "imagine…",
  "textTruncated": false,
  "url": "https://…",
  "viewCount": 162
}

Security scan

  • Charges more than its listed price in payment
    Listed at $0.016, charges $0.02

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402106 ms$0.02
5 h agoPassed402144 ms$0.02
9 h agoPassed402101 ms$0.02
13 h agoPassed402114 ms$0.02
16 h agoPassed40296 ms$0.02
20 h agoPassed40228 ms$0.02
23 h agoPassed40297 ms$0.02
27 h agoPassed402109 ms$0.02
31 h agoPassed40236 ms$0.02
34 h agoPassed402262 ms$0.02
39 h agoPassed40230 ms$0.02
41 h agoPassed402101 ms$0.02
47 h agoPassed40229 ms$0.02

History

11 Oct 2026Price changed from $0.016 to $0.02