GET
/
farcaster
/
cast
/
metrics
curl --request GET \
  --url https://api.neynar.com/v2/farcaster/cast/metrics \
  --header 'x-api-key: <api-key>'
{
  "metrics": [
    {
      "start": "2023-11-07T05:31:56Z",
      "resolution_in_seconds": 123,
      "cast_count": 123
    }
  ]
}

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

q
string
required

Query string to search for casts

interval
enum<string>

Interval of time for which to fetch metrics. Default is 30d.

Available options:
1d,
7d,
30d,
90d,
180d
author_fid
integer

Fid of the user whose casts you want to search

Example:

3

channel_id
string

Channel ID of the casts you want to search

Response

200
application/json

Successful operation.

The response is of type object.