X

X402factory · Base Xprofile

by X402factory

POSTbase

$0.001

per call · USD Coin on base

Base X profile mini-endpoint. Fetches a full X profile and the 10 most recent tweets for a given handle, returning the raw profile data plus a trimmed tweet list with key engagement metrics and media. Cost: 0.001 USDC per request.

Endpoint

POST https://x402factory.ai/base/xprofile

2

Calls / 30d

1

Unique payers / 30d

Aug 21

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://x402factory.ai/base/xprofile", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "handle": {
      "description": "X handle (username) without the @ prefix, for example WURKDOTFUN or statikheadz.",
      "required": true,
      "type": "string"
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402factory.ai/base/xprofile" \
  -H "Content-Type: application/json" \
  -d '{"handle":{"description":"X handle (username) without the @ prefix, for example WURKDOTFUN or statikheadz.","required":true,"type":"string"}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x402faccc3faeb72351cc2b68c7966faf5f22b0d4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Networksbase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from X402factory & similar services