T

Twit · Users Search

by Twit

GETBase

$0.01

per call · USD Coin on Base

Search Twitter/X for user accounts matching a keyword or phrase. Returns up to 20 matching user profiles per page with pagination support. Useful for discovering users by topic, name, or keyword. Query params: query (string, required) - search keyword or phrase; next_token (string, optional) - pagination cursor from previous response, e.g. GET /users/search?query=bitcoin. Returns X v2 API-compatible JSON.

Endpoint

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

17

Calls / 30d

4

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.twit.sh/users/search", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.twit.sh/users/search?query=bitcoin" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
  }
}

Payment details

Pay to0x9dba414637c611a16bea6f0796bfcbcbdc410df8
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Twit & similar services