Agent402 / tools / fc-user-search

Farcaster user search

$0.003 per call · USDC via x402 · POST /api/fc-user-search

Search Farcaster users by name or username fragment. Returns up to 10 compact profiles: fid, username, display name, bio, follower and following counts, Neynar quality score, primary verified Ethereum address. Use to resolve a person or brand to a fid before fc-user-casts, or to find who to follow on a topic.

TRY IN PLAYGROUND →

Input

FieldTypeDescription
q *stringName or username fragment (1-100 chars).
limitintegerResults per page (default 5).
cursorstringOpaque pagination cursor from a previous call's nextCursor.

Example output

{
  "source": "neynar",
  "fetchedAt": "2026-08-22T13:19:12.000Z",
  "cached": false,
  "rateLimit": {
    "limit": 300,
    "remaining": 299,
    "resetAt": "2026-08-22T13:20:00.000Z"
  },
  "query": "example",
  "count": 1,
  "users": [
    {
      "fid": 3,
      "username": "example-user",
      "displayName": "Example User",
      "bio": "Example profile used only to show the response shape.",
      "pfpUrl": "https://imagedelivery.net/.../original",
      "followerCount": 630338,
      "followingCount": 77,
      "powerBadge": false,
      "score": 0.99,
      "primaryEthAddress": "0x6ce09ed5526de4afe4a981ad86d17b2f5c92fea5",
      "url": "https://warpcast.com/dwr"
    }
  ],
  "nextCursor": null
}

Try it - see the 402 challenge (free)

curl -i -X POST https://agent402.tools/api/fc-user-search \
  -H "Content-Type: application/json" \
  -d '{"q":"example","limit":3}'

The response is HTTP 402 Payment Required with exact payment requirements. Any x402 v2 client pays automatically and retries:

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/fc-user-search", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "q": "example",
    "limit": 3
  }),
});
Wallet-only. This tool reaches the network/browser/storage, so it is paid in USDC via x402 (no proof-of-work tier).

Related tools

Extract article

$0.010 · POST /api/extract

Extract the main article content from any public URL as clean markdown. Returns title, byline, excerpt, word count, and …

try in playground →

Page metadata

$0.002 · GET /api/meta

Fetch page metadata for a URL: title, description, OpenGraph, Twitter cards, canonical URL, favicon.

try in playground →

Browser render

$0.02 · POST /api/render

Render a page in a real headless Chromium browser (JavaScript executed), then extract the main content as clean markdown…

try in playground →