S

SocialFetch · Twitter Search

by SocialFetch

GETBase

$0.028

per call · USD Coin on Base

Search X posts by free-text keyword (not hashtag — use twitter.hashtag.list for that).

Endpoint

GET https://api.socialfetch.dev/v1/twitter/search

18

Calls / 30d

3

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://api.socialfetch.dev/v1/twitter/search", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.socialfetch.dev/v1/twitter/search?query=what+to+watch+this+weekend" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "page": {
      "hasMore": true,
      "nextCursor": "eyJjIjoiREFBQ0NnQUNISWdQMnFTQUp4QUtBQU1jaUFfYXBIX1k4QWdBQkFBQUFBSUxBQVVBQUFCUVJXMVFRelozUVVGQlpsRXZaMGRLVGpCMlIzQXZRVUZ…"
    },
    "people": [],
    "tweets": [
      {
        "_truncated": true,
        "author": {
          "avatarUrl": null,
          "blueVerified": null,
          "displayName": null,
          "handle": null,
          "platformUserId": null,
          "profileUrl": null,
          "verified": null
        },
        "conversationId": "2055652631683514731",
        "createdAt": "2026-05-16T20:59:19.000Z",
        "createdAtLabel": "Sat May 16 20:59:19 +0000 2026",
        "id": "2055754992988926323",
        "inReplyToStatusId": "2055753642854973753",
        "language": "en",
        "metrics": {
          "bookmarkCount": null,
          "likes": null,
          "quotes": null,
          "replies": null,
          "retweets": null,
          "views": null
        },
        "quotedStatusId": null,
        "retweetTweetId": null,
        "text": "It’s clear this has been happening since 2016, when I first noticed it—like removing East Asia from API feeds to keep i…",
        "url": "https://x.com/Sim2Mike/status/2055754992988926323"
      }
    ]
  },
  "meta": {
    "creditsCharged": 2,
    "requestId": "req_18ee9e32-6f03-4a64-b8d9-d3841b8801fa",
    "version": "v1"
  }
}

Payment details

Pay to0x02c2fcafce36b4aadb39625866bc6b1699d83043
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from SocialFetch & similar services