Topic: Bulk Tag Request to API

Posted under e621 Tools and Applications

How do I format a single request to e621.net/tags.json that returns the results for a list of specific tags?

For example, I want a response containing the results for clothed, duo, and smile.
I would try formatting the response as:

https://e621.net/tags.json?search[name_matches]=clothed+duo+smile

However, this just searches for the tag clothed_duo_smile.

---

Edit: I found the solution.

The api.txt document on the e621 GitHub informs me that this works:

https://e621.net/tags.json?search[name]=clothed,duo,smile

It would probably be ideal to add that to the documentation available on e621.

Updated

  • 1