Wikipedia Bots – URL to Get the List of Wikipedia Bots

botwikipedia

Is there an URL to retrieve the list of Wikipedia bots?
Those are users with the bot flag.
It could be HTML/XML or anything, but not the whole Wikipedia dump.

No such method in the API.

Note: not all bots contain "bot" in their name, see for instance CommonsDelinker.

Best Answer

There is such method in the API, it's allusers, which has a parameter augroup that you can use to get a list of all users in a specific group.

For example:

http://en.wikipedia.org/w/api.php?format=xml&action=query&list=allusers&augroup=bot&aulimit=max

This will give you the first 500 bots. If you want to get all of them, you have to use query-continue.