3

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Sergino
  • 10,128
  • 30
  • 98
  • 159
  • I'm voting to close this question as off-topic because it is not about programming. It is *just* about the SE API. This question is only **[on topic at Stack Apps](https://stackapps.com/help/on-topic)**. – Brock Adams Jan 10 '19 at 07:37

1 Answers1

4

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

Brock Adams
  • 90,639
  • 22
  • 233
  • 295
  • ahhh just missed the `tagged` param when looked through the docs, I wish there was an example containing the `tagged` param in the docs. – Sergino Jan 10 '19 at 08:03