> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Farcaster Feed

Get a Farcaster feed by type: following (a user's feed) or channel (a specific channel). Returns casts with engagement metrics. Supports cursor-based pagination. Ideal for: content curation, channel monitoring, feed aggregation.

![Get Farcaster Feed logo](https://ai-icon.b3.fun/logo/farcaster)
Catalog action Social

Get a Farcaster feed by type: following (a user's feed) or channel (a specific channel). Returns casts with engagement metrics. Supports cursor-based pagination. Ideal for: content curation, channel monitoring, feed aggregation.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `get-farcaster-feed` |
| Category | Social |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `social`, `farcaster`, `neynar`, `feed`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `feedType` | `string` | Yes | Type of feed: 'following' \(user's feed\) or 'channel' \(specific channel\) |
| `fid` | `number` | No | Farcaster user ID \(required for 'following' feed type\) |
| `channelId` | `string` | No | Channel ID \(required for 'channel' feed type, e.g., 'base', 'ethereum'\) |
| `limit` | `number` | No | Maximum number of casts to return \(default: 25, max: 100\) |
| `cursor` | `string` | No | Cursor for pagination \(from nextCursor in previous response\) |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `casts` | `array` | Yes | Array of feed casts |
| `nextCursor` | `string \| null` | No | Cursor for next page of results |

## Examples

**Workflow node**

```json
{
  "type": "get-farcaster-feed",
  "payload": {
    "feedType": "following"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/get-farcaster-feed/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "feedType": "following"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.