Usage of /questions/{ids}/related GET

Discussion

Returns questions that the site considers related to those identified in {ids}.

The algorithm for determining if questions are related is not documented, and subject to change at any time. Furthermore, these values are very heavily cached, and may not update immediately after a question has been editted. It is also not guaranteed that a question will be considered related to any number (even non-zero) of questions, and a consumer should be able to handle a variable number of returned questions.

{ids} can contain up to 100 semicolon delimited ids. To find ids programmatically look for question_id on question objects.

The sorts accepted by this method operate on the following fields of the question object:

  • activitylast_activity_date
  • creationcreation_date
  • votesscore
  • rank – a priority sort by site applies, subject to change at any time
    • Does not accept min or max
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 questions.

Try It

Stack Overflow [edit]