Fetch one Farcaster cast by hash or warpcast.com / farcaster.xyz URL
agent402.tools/api/fc-cast
Fetch one Farcaster cast by hash or warpcast.com / farcaster.xyz URL. Returns the compact cast: author (fid, username, follower count), text, timestamp, channel, parent hash, likes, recasts, reply count, embed URLs. Use to resolve a shared link, verify a quote, or enrich a cast hash from another tool.
POST
https://agent402.tools/api/fc-castUptime0.0% of 2 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", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"identifier":"0x322c451ed6ff1674328c6164b92166b3d15f2b7d"}),
});
console.log(await res.json());Example input
{
"identifier": "0x322c451ed6ff1674328c6164b92166b3d15f2b7d"
}