The Definitive Geolocation API For Wikipedia

I had always assumed that there was an API for Wikipedia that would allow you to search for entries based on geo-location information. It turns out that there is such a service (from a 3rd party) but it is woefully out of date and contains less than a fifth of the geo-coded data that is available on Wikipedia.

I intend to change that.

I'm happy to offer up a full REST-ful API service for developers wishing to search for Wikipedia articles by location. The data is gathered by downloading the Wikipedia database on a weekly basis and then parsing all of the geocoded entries. This data is then stored in a database where it is able to be accessed via the API. At present, there are over 3.5 million entries covering 36 different languages and this number increases every week.

In addition to searching via location, you can also search via the venue and spot IDs of the two most popular geo-location networks; Foursquare and Gowalla as well as by Yahoo! WOEID. I will be adding other networks as and when they become available.

If you have any feedback, please do get in touch - I'd love to hear from you and see the great mashups you create. If you are using this API in a commercial project, a donation for running costs is highly appreciated.

It's recommended that you follow @WikiLocation on Twitter if you make use of this API - that way you can be kept up-to-date with any changes and new features as they become available.