82trust / 100

Users Following

by x402.twit.sh in News & content

x402 APIPassing, checked 53 min ago

Get the list of Twitter/X users that a specific user follows. Returns up to 50 following profiles per page with pagination support. Query params: id (string, required) - numeric Twitter user ID; next_token (string, optional) - pagination cursor, e.g. GET /users/following?id=44196397. Returns X v2 API-compatible JSON.

GET https://x402.twit.sh/users/following

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
285 ms typical, 285 ms slowest 5%
Last check
53 min 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/users/following?id=44196397"
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%2Fusers%2Ffollowing
const res = await pay("https://x402.twit.sh/users/following?id=44196397");
console.log(await res.json());

Example input

{
  "id": "44196397"
}

Example output

{
  "data": [
    {
      "description": "Running bitcoin.",
      "id": "9253672",
      "name": "Hal Finney",
      "public_metrics": {
        "followers_count": 134000,
        "following_count": 200,
        "like_count": 300,
        "tweet_count": 600
      },
      "username": "halfin",
      "verified": false
    }
  ],
  "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
53 min agoPassed402192 ms$0.01
4 h agoPassed402309 ms$0.01
9 h agoPassed402285 ms$0.01