Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.