Usage of /users/{id}/tags/{tags}/top-answers

Discussion

Returns the top 30 answers a user has posted in response to questions with the given tags.

{id} can contain a single id, to find it programatically look for user_id on user or shallow_user objects. {tags} is limited to 5 tags, passing more will result in an error.

The sorts accepted by this method operate on the follow fields of the answer object:

  • activitylast_activity_date
  • creationcreation_date
  • votesscore
activity is the default sort.

It is possible to create moderately complex queries using sort, min, max, fromdate, and todate.

This method returns a list of answers.

Try It

Stack Overflow [edit]