Skip to main content
GET
Cast Quotes

Node.js SDK

๐Ÿ”— SDK Method: fetchCastQuotes Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Headers

x-neynar-experimental
boolean
default:false

Enables experimental features including filtering based on the Neynar score. See docs for more details.

Query Parameters

identifier
string
required

Cast identifier (It's either a URL or a hash)

Example:

"https://farcaster.xyz/rish/0xafa59bb7"

type
enum<string>
required

The query param accepted by the API. Sent along with identifier param. url - Cast identifier is a url hash - Cast identifier is a hash

Available options:
url,
hash
Example:

"url"

viewer_fid
integer
Required range: x >= 1
limit
integer<int32>
default:25

Number of results to fetch

Required range: 1 <= x <= 100
Example:

30

cursor
string

Pagination cursor.

Response

Success

casts
Cast ยท object[]
required
next
NextCursor ยท object
required

Returns next cursor