GetFarcasterEngagement

API

API/v2/farcaster/engagements

Title

GetFarcasterEngagement

Description

Retrieve recent interaction data for certain profiles on Farcaster, such as the number of casts and replies sent. Only publications initiated by these profiles will be counted.

Authorization

Not required

Method

POST

Request Parameters

NameTypeRequiredDescription

fids

int[]

YES

The Farcaster FID list of the curators

interval

string

YES

“24h”, “3d”, “7d”, default to “24h”. "24h" indicates 24 hours "3d" indicates 3 days "7d" indicates 7 days Specify a time period and only analyze the activity data on Farcaster during that time.

Parameter Content Type

application/json

Request and Response Example

Request

cURL Code

curl -X 'POST' \
  'https://api.tako.so/v2/farcaster/engagements' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "fids": [
      15706
    ],
    "interval": "7d"
  }'

Request URL

https://api.tako.so/v2/farcaster/engagements

Response

{
  "status": "success",
  "data": {
    "data": {
      "15706": {
        "cast": 0,
        "comment": 1,
        "like": 0,
        "link": 0,
        "mention": 0,
        "recast": 0
      }
    }
  }
}

Last updated