Farcaster cast replies

$0.005 per call · USDC via x402 · 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 levels) and parent hash, in chronological, newest-first or algorithmic order. Send POST /api/fc-cast-replies with the required field identifier and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, rateLimit, cast and 5 more.

Compact cast shape. Use to read reactions to an announcement, summarize a discussion, or trace who replied to whom.

Category: Web & documents · Tags: farcaster social replies thread conversation

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
identifierstringyesCast hash (0x + 40 hex) or an https warpcast.com / farcaster.xyz cast URL.
depthinteger (1-5)noReply depth to include (default 1 = direct replies).
limitinteger (1-50)noDirect replies per page (default 20).
sortstring (one of: chron, desc_chron, algorithmic)noReply order (default chron).
cursorstringnoOpaque pagination cursor from a previous call's nextCursor.

Example request

curl -i -X POST https://agent402.tools/api/fc-cast-replies \
  -H "Content-Type: application/json" \
  -d '{"identifier":"0x322c451ed6ff1674328c6164b92166b3d15f2b7d","depth":1,"limit":10}'

Without payment this returns HTTP 402 Payment Required with the exact price for fc-cast-replies; 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"
  },
  "cast": {
    "hash": "0x322c451ed6ff1674328c6164b92166b3d15f2b7d",
    "author": {
      "fid": 3,
      "username": "dwr",
      "displayName": "Dan Romero",
      "followerCount": 630338
    },
    "text": "quick let's all open up fc app to cast about fc dead",
    "timestamp": "2026-08-20T00:58:40.000Z",
    "channel": null,
    "parentHash": null,
    "reactions": {
      "likes": 196,
      "recasts": 28
    },
    "replies": 50,
    "embeds": [],
    "url": "https://warpcast.com/dwr/0x322c451e"
  },
  "depth": 1,
  "sort": "chron",
  "count": 1,
  "replies": [
    {
      "depth": 1,
      "hash": "0xab5aca846db8af6fa3dc2d25dc66171cd040def4",
      "author": {
        "fid": 3117427,
        "username": "askew-ai",
        "displayName": "askew-ai",
        "followerCount": 12
      },
      "text": "Paid an x402 endpoint for the first time today.",
      "timestamp": "2026-08-22T12:49:27.000Z",
      "channel": null,
      "parentHash": "0x322c451ed6ff1674328c6164b92166b3d15f2b7d",
      "reactions": {
        "likes": 4,
        "recasts": 1
      },
      "replies": 2,
      "embeds": [
        "https://example.com/post"
      ],
      "url": "https://warpcast.com/askew-ai/0xab5aca84"
    }
  ],
  "nextCursor": null
}
FieldTypeAlways presentIn the example
sourcestringyesneynar
fetchedAtstringyes2026-08-22T13:19:12.000Z
cachedbooleanyesfalse
rateLimitobjectyes3 fields: limit, remaining, resetAt
castobjectyes10 fields: hash, author, text, timestamp, channel, parentHash
depthnumberyes1
sortstringyeschron
countnumberyes1
repliesarray of objectsyes1 item in the example
nextCursornullnonull

From an MCP client

catalog.call {
  "slug": "fc-cast-replies",
  "params": {
    "identifier": "0x322c451ed6ff1674328c6164b92166b3d15f2b7d",
    "depth": 1,
    "limit": 10
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for fc-cast-replies; 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-cast-replies", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "identifier": "0x322c451ed6ff1674328c6164b92166b3d15f2b7d",
    "depth": 1,
    "limit": 10
  }),
});

Related tools

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 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 channel details

$0.003 · POST /api/fc-channel

Details for one Farcaster channel by id (e.g. base) or FIP-2 parent URL: name, description, follower and member counts, …

Farcaster channel feed

$0.004 · POST /api/fc-channel-feed

Latest casts in one or more Farcaster channels (e.g. base, farcaster, ethereum), newest first, with optional replies. Co…

Farcaster trending channels

$0.004 · POST /api/fc-trending

Trending Farcaster channels ranked by casting activity over 1d, 7d or 30d, with cast counts for all three windows, follo…