## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.neynar.com/llms.txt)

Use this file to discover all available pages before exploring further.

Used to retrieve valid casts or tombstones for deleted casts

## API

| Method Name | Request Type | Response Type | Description |
| --- | --- | --- | --- |
| GetCast | CastId | Message | Returns a specific Cast |
| GetCastsByFid | FidRequest | MessagesResponse | Returns CastAdds for an Fid in reverse chron order |
| GetCastsByParent | CastsByParentRequest | MessagesResponse | Returns CastAdd replies to a given Cast in reverse chron order |
| GetCastsByMention | FidRequest | MessagesResponse | Returns CastAdds that mention an Fid in reverse chron order |
| GetAllCastMessagesByFid | FidTimestampRequest | MessagesResponse | Returns Casts for an Fid with optional timestamp filtering |

## CastsByParentRequest

| Field | Type | Label | Description |
| --- | --- | --- | --- |
| parent_cast_id | [CastId](https://docs.neynar.com/snapchain/grpcapi/casts#CastId) |  | Parent cast ID to find replies for (optional) |
| parent_url | string |  | Parent URL to find replies for (optional) |
| page_size | uint32 | optional | Number of results to return per page |
| page_token | bytes | optional | Token for pagination |
| reverse | bool | optional | Whether to return results in reverse order |

## FidTimestampRequest

| Field | Type | Label | Description |
| --- | --- | --- | --- |
| fid | uint64 |  | Farcaster ID |
| page_size | uint32 | optional | Number of results to return per page |
| page_token | bytes | optional | Token for pagination |
| reverse | bool | optional | Whether to return results in reverse order |
| start_timestamp | uint64 | optional | Optional timestamp to start filtering from |
| stop_timestamp | uint64 | optional | Optional timestamp to stop filtering at |
