26 Apr 2008

The Unofficial Wikipedia Api

Wikipedia’s just released search, which displays Google suggest like queries, has exposed a useful API.

http://en.wikipedia.org/w/api.php?action=opensearch&search=India

It returns a list of matching articles as JSON some custom format.

["india",["India","INDIA","India (album)","India (cat)","India (disambiguation)","India (name)","India (region)","India (singer)","India (subcontinent)"]]

Note that this is not an official API.