SpiceQA
Questions Tags Users Badges

How to get the number of unanswered questions by tag from stackoverflow api?

user_2926340 0
Created Jan 10, 2019 Edited Jan 10, 2019
Viewed 342

There is a call that return the number of total questions by tag https://api.stackexchange.com/2.2/tags/java/info?order=desc&sort=popular&site=stackoverflow

But how would you get the number of unanswered questions by tag?

stackexchange-api stackexchange
Share
1 Answers

For unanswered questions, use the /questions/unanswered route:

  api.stackexchange.com/2.2/questions/unanswered?tagged=java&site=stackoverflow&filter=total


For questions with no answers, use the /questions/no-answers route:

  api.stackexchange.com/2.2/questions/no-answers?tagged=java&site=stackoverflow&filter=total

edited Jan 10, 2019
user_3315080
answered Jan 10, 2019
Related
Terms of service Privacy policy
Powered by Answer