82trust / 100

Tweets

by x402.twit.sh in News & content

x402 APIPassing, checked 3 h ago

Bulk look up multiple Twitter/X tweets by their numeric tweet IDs in a single request. Each tweet includes full text, author profile, and engagement metrics. Query param: ids (string, required) - comma-separated numeric tweet IDs, max 50, e.g. GET /tweets?ids=1110302988,1234567890. Returns X v2 API-compatible JSON.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
37 ms typical, 37 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?ids=1110302988%2C1234567890"
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
const res = await pay("https://x402.twit.sh/tweets?ids=1110302988%2C1234567890");
console.log(await res.json());

Example input

{
  "ids": "1110302988,1234567890"
}

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

WhenResultHTTPTimePrice
3 h agoPassed40237 ms$0.01