R

ReadX · Info

by ReadX

GETBaseSolana

$0.01

per call · USD Coin on Base

A user's profile info: id, name, bio, location, follower/following counts, verification. Example: GET /api/jack/info

Endpoint

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

2

Calls / 30d

2

Unique payers / 30d

Aug 22

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

Example response

{
  "code": 0,
  "data": {
    "banner": "",
    "bio": "",
    "followers": 6500000,
    "following": 4000,
    "fullname": "jack",
    "id": "12",
    "joinDate": 1142974214,
    "likes": 39744,
    "location": "",
    "media": 2968,
    "pinnedTweet": "1833951636005552366",
    "protected": false,
    "suspended": false,
    "tweets": 30715,
    "userPic": "",
    "username": "jack",
    "verifiedType": "Blue",
    "website": ""
  }
}

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