TrendingCasts API
Learn all the detailed references of TrendingCasts API that provide all trending Farcaster casts in a certain period of time, including the inputs and output fields.
The TrendingCasts API provides you with a list of trending Farcaster casts casted within a given time frame and sorted by a chosen criteria. You can also use the available filters to only fetch trending Farcaster casts casted by a certain user or casted in a certain channel.
Inputs
filter
Name | Type | Description |
---|---|---|
|
| Filter by caster's FID. |
|
| Filter by Farcaster channel URL where the casts was casted. |
criteria
Name | Description |
---|---|
| Sort the trending casts by the number of likes. |
| Sort the trending casts by the number of recasts. |
| Sort the trending casts by the number of replies. |
| Sort the trending casts by the total number of likes, recasts, and replies. |
| Sort the trending casts by the number of a cast's social capital value. |
blockchain
Name | Description |
---|---|
| Base mainnet |
timeFrame
Name | Description |
---|---|
| Get trending casts from the last 1 hour. |
| Get trending casts from the last 2 hours. |
| Get trending casts from the last 4 hours. |
| Get trending casts from the last 8 hours. |
| Get trending casts from the last 12 hours. |
| Get trending casts from the last 1 day. |
| Get trending casts from the last 2 days. |
| Get trending casts from the last 7 days. |
Outputs
Name | Type | Description |
---|---|---|
| Nested Query â Details of the trending cast. | |
|
| Cast Value formatted value. |
|
| Cast Value raw value. |
| Nested Query â Details of channel where the cast was casted. | |
|
| The chosen criteria to evaluate trending casts. This is based on the |
|
| The total number for the criteria metric chosen. |
|
| The caster's FID. |
|
| Farcaster cast hash. |
|
| Airstack unique identifier. |
|
| The associated Farcaster channel's URL. |
|
| Social Capital Value formatted value. |
|
| Social Capital Value raw value. |
|
| The time when the first engagement (like, recast, or reply) within the time frame occurs. |
|
| The time when the last engagement (like, recast, or reply) within the time frame occurs. |
Last updated