Skip to main content
3 of 3
added 128 characters in body
noogui
  • 165
  • 5

How to Create a Multi-tag URI Request to /questions

Just want to confirm if I'm doing this right. The /questions guide doesn't mention this.

Let's say I want to ask for multiple tags in one request, am I doing this right?

https://api.stackexchange.com/2.2/questions?pagesize=70&order=desc&sort=activity&site=stackoverflow&tagged=google-docs-api&tagged=firebase-database&tagged=android-sdk&tagged=google-drive-sdk&fromdate=1515888000

So basically what I'm doing is to chain multiple 'tagged=ACTUAL_TAG' together. I get a successful response but when I compare that in the "Stack Overflow search q" results,

https://stackoverflow.com/search?q=

I get varying results/responses - they're not exactly alike. Some of the questions from the "Stack Overflow search q" are not found in my URI request. That's why I'm asking if I'm doing something wrong..

EDIT: As answered below, the /search URI request did the trick for me as it allows "OR" tags where you chain tags together.

noogui
  • 165
  • 5