Farcaster user search

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

Search Farcaster users by name or username fragment. Send POST /api/fc-user-search with the required field q and pay $0.003 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, rateLimit, query and 3 more.

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.

Category: Web & documents · Tags: farcaster social user search profile

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
qstringyesName or username fragment (1-100 chars). Also accepted as query, search, term, keyword.
limitinteger (1-10)noResults per page (default 5).
cursorstringnoOpaque pagination cursor from a previous call's nextCursor.

Example request

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

Without payment this returns HTTP 402 Payment Required with the exact price for fc-user-search; any x402 v2 or MPP client pays it and retries.

Example response

{
  "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
}
FieldTypeAlways presentIn the example
sourcestringyesneynar
fetchedAtstringyes2026-08-22T13:19:12.000Z
cachedbooleanyesfalse
rateLimitobjectyes3 fields: limit, remaining, resetAt
querystringyesexample
countnumberyes1
usersarray of objectsyes1 item in the example
nextCursornullnonull

From an MCP client

catalog.call {
  "slug": "fc-user-search",
  "params": {
    "q": "example",
    "limit": 3
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for fc-user-search; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

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();
client.setSpendControls?.(false); // keep your own spending ceiling in code
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
  }),
});

Related tools

Farcaster cast search

$0.005 · POST /api/fc-cast-search

Search Farcaster casts by keyword (literal, semantic or hybrid match), newest first, optionally filtered to one author o…

Farcaster user casts

$0.004 · POST /api/fc-user-casts

A Farcaster user's recent casts by fid or username, newest first, optionally including replies or limited to one channel…

X user profile

$0.015 · POST /api/x-user

Look up one X (Twitter) account by username: id, display name, bio, account creation date, verification status and type,…

Farcaster cast lookup

$0.003 · POST /api/fc-cast

Fetch one Farcaster cast by hash or warpcast.com / farcaster.xyz URL. Returns the compact cast: author (fid, username, f…

Farcaster cast volume

$0.005 · POST /api/fc-cast-metrics

Cast volume over time for a search query: how many Farcaster casts matched per bucket across the last 1d, 7d, 30d, 90d o…

Farcaster cast replies

$0.005 · POST /api/fc-cast-replies

The reply thread under a Farcaster cast (by hash or URL): the root cast plus replies flattened with their depth (1-5 lev…