1

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?

EG:

  1. All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
  2. All Stack Overflow questions asked in the past 2 months tagged 'ruby' and 'git'?
  3. All Stack Overflow questions asked in the past 2 months tagged 'ruby' or 'git'?

1 Answer 1

1

For questions tagged with all tags in a list (AND operation), use the /questions path.
For example:

/questions#fromdate=2013-01-11&sort=activity&tagged=ruby;git

~~~~~
For questions tagged with any tags in a list (OR operation), use the /search path.
For example:

/search#fromdate=2013-01-11&sort=activity&tagged=ruby;git

3
  • Is there no way to do this with /questions/featured?
    – DaImTo
    Apr 8, 2014 at 9:48
  • @DaImTo, Do what exactly? Be specific and open your own question. That path does accept a tag filter. It probably operates in and mode. Use more than one request for or searches. Apr 8, 2014 at 19:49
  • ok thanks I didn't want to open another question when this one was similar.
    – DaImTo
    Apr 9, 2014 at 7:04

You must log in to answer this question.

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