> For the complete documentation index, see [llms.txt](https://docs.openrank.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openrank.com/integrations/farcaster/frames/top-frames.md).

# Top Frames

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.

`/frames/global/rankings`

{% openapi src="/files/B0ETZjcXuU1nJxZFc8sH" path="/frames/global/rankings" method="get" expanded="false" %}
[openapi\_20240501.json](https://1110142702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtcdATXDvC0WSePF1xED%2Fuploads%2FzfvZMaEw2L48Ze7p6tDv%2Fopenapi_20240501.json?alt=media\&token=eb5b7b89-d6c2-48b3-a250-58c67529f226)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.openrank.com/integrations/farcaster/frames/top-frames.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
