R

ReadX · Mentions

by ReadX

GETBaseSolana

$0.01

per call · USD Coin on Base

Tweets that mention a user (paginate with cursor until has_more is false). Example: GET /api/jack/mentions

Endpoint

GET https://readx.sh/api/:name/mentions

22

Calls / 30d

2

Unique payers / 30d

Sep 5

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://readx.sh/api/:name/mentions", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://readx.sh/api/:name/mentions" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "code": 0,
  "data": {
    "tweets": [
      {
        "attribution": null,
        "available": true,
        "card": null,
        "hasThread": false,
        "history": null,
        "id": "21",
        "isAI": false,
        "isAd": false,
        "location": "",
        "media": null,
        "mediaTags": null,
        "note": null,
        "pinned": false,
        "poll": null,
        "quote": null,
        "reply": [],
        "replyId": "0",
        "retweet": null,
        "source": "",
        "stats": {
          "likes": 42,
          "quotes": 0,
          "replies": 0,
          "retweets": 0,
          "views": 0
        },
        "text": "@jack hello",
        "threadId": "20",
        "time": 1142974214,
        "tombstone": "",
        "user": {
          "banner": "",
          "bio": "",
          "followers": 599,
          "following": 307,
          "fullname": "Someone",
          "id": "99",
          "joinDate": 1142974214,
          "likes": 0,
          "location": "",
          "media": 0,
          "pinnedTweet": "0",
          "protected": false,
          "suspended": false,
          "tweets": 30000,
          "userPic": "",
          "username": "someone",
          "verifiedType": "Blue",
          "website": ""
        }
      }
    ]
  },
  "pagination": {
    "has_more": true,
    "next_cursor": "DAABCgABG...cursor"
  }
}

Payment details

Pay to0x13e060adcc6f4b731da8382b333027b8b2bff707
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from ReadX & similar services