T

Twit · Tweets Search

by Twit

GETBase

$0.006

per call · USD Coin on Base

Search Twitter/X tweets with advanced filters. Returns up to 20 tweets per page, most recent first, with pagination. At least one filter required. Params: words, phrase, anyWords, noneWords, hashtags, from, to, mentioning, minReplies, minLikes, minReposts, since (YYYY-MM-DD), until, next_token. e.g. GET /tweets/search?words=bitcoin&from=elonmusk&minLikes=100. Returns X v2 API-compatible JSON.

Endpoint

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

8.8k

Calls / 30d

20

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/tweets/search", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.twit.sh/tweets/search?from=elonmusk&minLikes=100&words=bitcoin" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

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