83trust / 100

Tweets Replies

by x402.twit.sh in News & content

x402 APIPassing, checked 8 min ago

Get replies to a specific Twitter/X tweet. Returns paginated reply tweets for a given tweet ID. Query params: id (string, required) - numeric tweet ID; next_token (string, optional) - pagination cursor, e.g. GET /tweets/replies?id=1110302988. Returns X v2 API-compatible JSON.

GET https://x402.twit.sh/tweets/replies

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
266 ms typical, 266 ms slowest 5%
Last check
8 min ago
Next check
in 21 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.twit.sh/tweets/replies?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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.twit.sh%2Ftweets%2Freplies
const res = await pay("https://x402.twit.sh/tweets/replies?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"
    }
  ],
  "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

WhenResultHTTPTimePrice
8 min agoPassed402266 ms$0.01
3 h agoPassed402192 ms$0.01
9 h agoPassed402341 ms$0.01