Get Artists with specific country and genre

Hello,

I am trying to retrieve artists based on a country like using Search API method:

http://musicbrainz.org/ws/2/artist/?query=country:us&limit=100&offset=0

It seems to be working.
When I try to add ‘pop’ tag to the query (in addition to the country) to receive ‘pop’ genre, it returns unexpected results which makes the query unusable:

http://musicbrainz.org/ws/2/artist/?query=tag:pop+AND+country:us&limit=100&offset=0

An assistant would be appreciated.

From quickly looking over the result I don’t see anything unexpected, the results all seem to have “pop” in one of their tags.

If you mean that you want to have only results where a tag is exactly “pop” (and not e.g. “pop rock”) I don’t think this is possible with Lucene queries. You probably could filter out unwanted tags with something like tag:pop AND NOT tag:rock AND country:us

3 Likes