 <p>Wikipedia has a nice <a href="https://en.wikipedia.org/w/api.php?action=help&amp;modules=query%2Bgeosearch" rel="nofollow">Geo Search API</a> that will let you search for nearby pages: </p> <p><a href="https://en.wikipedia.org/w/api.php?action=query&amp;list=geosearch&amp;gsradius=10000&amp;gspage=Berlin&amp;gslimit=500&amp;gsprop=type|name|dim|country|region|globe&amp;format=json" rel="nofollow">https://en.wikipedia.org/w/api.php?action=query&amp;list=geosearch&amp;gsradius=10000&amp;gspage=Berlin&amp;gslimit=500&amp;gsprop=type|name|dim|country|region|globe&amp;format=json</a></p> <pre><code>{ "batchcomplete": "", "query": { "geosearch": [ ... { "pageid": 391156, "ns": 0, "title": "Berlin State Opera", "lat": 52.516666666667, "lon": 13.395, "dist": 789.4, "primary": "", "type": "landmark", "name": "", "dim": 1000, "country": "DE", "region": "BE" }, ... { "pageid": 1005900, "ns": 0, "title": "Berlin Zoological Garden", "lat": 52.508333333333, "lon": 13.3375, "dist": 3237.1, "primary": "", "type": "landmark", "name": "", "dim": 500, "country": "DE", "region": "BE" }, ... </code></pre> <p>You can use <code>gspage</code> to search using the title of any Wikipedia article <a href="https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers#Geographical_coordinates" rel="nofollow">with geographic coordinates</a>. You'll see some geotagged historical events, landmarks, and other features, so you can add <code>gsprop=type</code> to add properties to help you filter articles you aren't interested in.</p> <p>A few notes:</p> <ul> <li><p>The API can (currently) only return a maximum of 500 items that are within a 10,000 meter radius of the point you are searching. You may want to try a series of more narrow searches or using a small bounding box (with the <code>gsbbox</code> parameter) if you don't get everything you want.</p></li> <li><p>Each language of Wikipedia has its own API endpoint. You can try the <a href="https://de.wikipedia.org/w/api.php?action=query&amp;list=geosearch&amp;gsradius=10000&amp;gspage=Berlin&amp;gslimit=500&amp;gsprop=type|name|dim|country|region|globe" rel="nofollow">same query on the German language Wikipedia</a> and you may see slightly different results.</p></li> <li><p>Wikidata has extensive data across languages with a <a href="https://query.wikidata.org/" rel="nofollow">SPARQL interface</a>, but it doesn't support geo coordinate searches (<a href="https://phabricator.wikimedia.org/T123565" rel="nofollow">yet</a>). Someday, you may be able to use Wikidata to find items based on their location (<a href="https://www.wikidata.org/wiki/Property:P625" rel="nofollow">P625</a>).</p></li> </ul>