Is there a way to get a top topic list with different formula multiplier?

AI-generated summary

Querying Multiple “Top” Lists with Different Formula Multipliers

Yuki is looking for a way to query multiple “top” lists (e.g., most likes, most views) without changing the formula multiplier in the admin panel. However, blake states that it’s not possible to customize the /top route with different parameters, as those settings apply sitewide.

As a workaround, blake suggests using multiple Data Explorer queries to retrieve the desired data. These queries can be executed via the API once set up. This approach would allow Yuki to get the “top” lists with different formula multipliers, albeit not through a single API call.

I notice there’s a API to get a the top topic list. Discourse API Docs
And I can define what is the “top” list by changing the formula multiplier in the admin panel.

My question is that, is there a way I can query for a different “top” list without changing the parameter in the admin panel?
for example, query for the most likes topic list and most views topic list at the same time.

No that is not possible. The /top route doesn’t accept any parameters like that. Those settings apply sitewide for all users and can’t be customized per request.

I would suggest using multiple Data Explorer queries to get the data you are after:

Once the queries are setup, they can be executed via the API.