Skip to content
Fourohtwo

The reply thread under a Farcaster cast (by hash or URL)

agent402.tools/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. Compact cast shape.

SolanaBaseDown
POSThttps://agent402.tools/api/fc-cast-replies

Uptime0.0% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/fc-cast-replies", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"depth":1,"limit":10,"identifier":"0x322c451ed6ff1674328c6164b92166b3d15f2b7d"}),
});
console.log(await res.json());

Example input

{
  "depth": 1,
  "limit": 10,
  "identifier": "0x322c451ed6ff1674328c6164b92166b3d15f2b7d"
}