Using the API to get posts matching multiple tags

Is it possible to use the API to search for posts which have a list of tags?

For example, could I search for posts that have the tags “foo” and “bar”?

Doing a search with tags:foo tags:bar works as requested. For example:

1 Like