LogoLogo
  • OpenRank
    • Ranking and Reputation
    • Use Cases
  • The Reputation Stack
    • Data
    • OpenRank Protocol
    • Apps and Clients
  • Integrations
    • Farcaster
      • Openrank Scores Onchain
      • Ranking Strategies on Farcaster
      • Global Profile Ranking
        • ๐Ÿ”ตTop Profiles (based on Following)
        • ๐Ÿ”ตTop Profiles (based on Engagement)
        • ๐ŸŸขProfile Rank (based on Following)
        • ๐ŸŸขProfile Rank (based on Engagement)
      • Channel User Rankings
        • ๐Ÿ”ตTop Profiles in Channel
        • ๐ŸŸขProfile Rank in Channel
      • Personalized Network
        • Direct Network
          • ๐ŸŸขGet Direct Following
          • ๐ŸŸขGet Direct Engagement
        • Extended Network
          • ๐ŸŸขPersonalized Following
          • ๐ŸŸขPersonalized Engagement
      • Frames
        • ๐Ÿ”ตTop Frames
        • ๐ŸŸขPersonalized Recommended Frames
      • Feeds
        • For You Feed
          • ๐Ÿ”ตFor You
          • ๐Ÿ”ตFor You (by Authorship)
        • Channel Feed
          • ๐Ÿ”ตChannel Trending Casts
      • Metadata
        • ๐ŸŸขGet FIDs for Addresses
        • ๐ŸŸขGet Handles For Addresses
        • ๐ŸŸขGet Addresses for FIDs
        • ๐ŸŸขGet Addresses for Handles
      • Ideas to Build using OpenRank APIs
      • Neynar x OpenRank Guides (WIP)
        • Build "For You" Feeds for your Client, using Neynar and OpenRank
        • Build "User Search" using Neynar and OpenRanks' Global Ranking API
        • Build "Suggested follow list" based on OpenRank and Neynar
        • Build Channel Trending Feeds for your Client using Neynar and OpenRank APIs
        • Build "Discover New Users Feed" using Neynar and OpenRanks Global Ranking API
        • Build Power Badges for your Client using Global & Personalized Ranking APIs by OpenRank
        • Build "Sort Replies" on a cast using Neynar and OpenRanks' Global Ranking API
    • Clanker OpenRank Scores
    • Lens Protocol
      • Ranking Strategies on Lens
      • Lens Profile APIs
      • Lens Content APIs
      • Lens Profile Insights
    • Metamask SPD
    • Onchain Graphs and Feeds
    • Upcoming Integrations
    • GitHub Developers & Repo Ranking
  • Reputation Algorithms
    • EigenTrust
    • Hubs and Authorities
    • Latent Semantic Analysis
  • OpenRank SDK
    • Introduction
    • Creating your first reputation graph
    • Publishing Rankings with OpenRank SDK
    • Guides
      • Tipping based User Rankings powered by OpenRank
    • Installation
    • SDK References
      • EigenTrust
        • Installation and Use
        • Examples for using EigenTrust
      • Hubs & Authorities
        • Installation and Use
        • Examples for using Hubs & Authorities (Coming soon)
      • Latent Semantic Analysis (Coming soon)
Powered by GitBook
LogoLogo

SOCIALS

  • Github
  • Farcaster

Copyright 2024

On this page
  1. Integrations
  2. Farcaster
  3. Frames

Top Frames

Get a list of frame urls that are used by highly ranked profiles.

PreviousFramesNextPersonalized Recommended Frames

Last updated 1 year ago

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 with a few optional parameters which are described further below.

/frames/global/rankings

๐Ÿ”ต
https://graph.cast.k3l.io/frames/global/rankings

Get Top Frames

get

Get a list of frame urls that are used by highly ranked profiles. This API takes four optional parameters - agg, weights, details, k and limit. Parameter agg is used to define the aggregation function and can take any of the following values - rms, sumsquare, sum.

Parameter weights is used to define the weights to be assigned to like, cast and recast actions by profiles.

Parameter details is used to specify whether the original cast list should be returned for each frame in the ranking.

(Note: cast hashes and warpcast urls are returned in chronological order ie., oldest first) (NOTE: details=True will result in a few extra hundred milliseconds in response times).

(NOTE: the API returns upto a max of 100 cast hashes and 100 warpcast urls when details=True).

Parameter offset is used to specify how many results to skip and can be useful for paginating through results.

Parameter limit is used to specify the number of results to return.

By default, agg=rms, weights=L1C10R5, details=False, offset=0 and limit=100 i.e., returns top 100 frame urls.

Query parameters
aggany ofOptionalDefault: sumsquare
string ยท enumOptionalPossible values:
or
nullOptional
weightsany ofOptionalDefault: L1C10R5
stringOptional
or
nullOptional
detailsany ofOptionalDefault: false
booleanOptional
or
nullOptional
offsetany ofOptionalDefault: 0
integerOptional
or
nullOptional
limitany ofOptionalDefault: 100
integer ยท max: 1000Optional
or
nullOptional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
get
GET /frames/global/rankings HTTP/1.1
Host: graph.cast.k3l.io
Accept: */*

No content