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

Query Parameters

q
string
required

Query string to search for casts

interval
enum<string>

Interval of time for which to fetch metrics. Choices are 1d, 7d, 30d

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

Fid of the user whose casts you want to search

Examples:

3

191

2

194

19960

channel_id
string

Channel ID of the casts you want to search

Response

200
application/json
Successful operation.
metrics
object[]
required