+ farcaster-cast-retrieval

> Farcaster cast retrieval

// Retrieves a Farcaster cast (post) by hash or URL including replies and reactions

socialfarcastercastpost
// aliases.json

These phrases resolve to this capability with intent-based discovery.

"farcaster cast" "farcaster post" "fc cast" "warpcast post"
// discover.sh
curl -X POST https://api.entroute.com/discover \
  -H "Content-Type: application/json" \
  -d '{"capability_id": "social.farcaster.cast"}'
// endpoints.json
1 results
#1 Neynar listed
$0.0010
https://api.neynar.com/v2/farcaster/casts
success: 100%
latency: 140ms
// sample request
{
  "casts": "0x...hash1,0x...hash2"
}
// sample response
{
  "result": {
    "casts": [
      {
        "hash": "0x...",
        "text": "Hello Farcaster!",
        "author": {
          "fid": 5650,
          "username": "vitalik"
        },
        "timestamp": "2024-01-15T10:00:00Z",
        "reactions": {
          "likes": 150,
          "recasts": 30
        }
      }
    ]
  }
}
// integrate.md

Use this capability in your agent or application: