Global Frames Ranking API
OpenRank APIs for ranking Frames
Frames Ranking
Discover high quality Frames (casts with frames) based on the ranking of profiles that have casted or engaged with the Frame (cast). The ranking of a Frame depends on a weighted linear combination of the scores of all the profiles that have interacted with the frame (cast) and the parameters of this API are used to control the weights and combination.
Developers can choose their own preferred strategies to rank frames. For simplicity, we have provided a reasonable default parameter setting.
This is a GET request to https://graph.cast.k3l.io/frames/global/rankings with a few optional parameters which are described further below.
Endpoint: /frames/global/rankings
Parameters:
agg
- determines the linear combination method whereagg=rms
: specifies Root Mean Square,agg=sumsquare
: specifies Sum of Squares andagg=sum
: specifies a simple summation
weights
- determines the relative weight oflikes
tocasts
torecasts
. So,weights=L1C10R5
specifies that acast
of a frame is worth 10 times as much as alike
and arecast
is worth 5 times.details
- aboolean
flag determines whether the original cast list should be returned for each frame in the ranking.offset
- determines how many results to skip.offset=10
will return the 11th rank onwardslimit
- determines the number of results returned
Example below using curl, returns the Top 100 ranked profiles using an aggregated sum of squares, with weights Likes=1, Casts=10x, and Recasts=5x
Last updated