2
$\begingroup$

How to get the list of top $N$ answers that have been upvoted the most?

For questions it is very easy, but not for answers.

I don't expect some hidden web page, but a database query would be perfect.

$\endgroup$

1 Answer 1

9
$\begingroup$

The search parameter is:answer returns only answers, and you can sort this by votes: search results. This worries about score, and not simply upvotes (so a hypothetical answer with a huge number of up- and down-votes is likely omitted). It also doesn't give you the "top $N$", but it does order them correctly.

You can also use the SEDE, but the results here are not quite as "live" (the data is only updated on a weekly basis), though I don't expect huge changes in this list. (The linked query only counts upvotes, and ignores downvotes.)

$\endgroup$
1
  • $\begingroup$ Great!! This works for me. Score and upvotes are practically the same, for my case. $\endgroup$
    – VividD
    Commented Oct 13, 2014 at 9:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .